1. 30 Apr, 2018 32 commits
  2. 28 Apr, 2018 4 commits
  3. 27 Apr, 2018 4 commits
    • YueHaibing's avatar
      ptp_pch: use helpers function for converting between ns and timespec · 80e95f47
      YueHaibing authored
      use ns_to_timespec64() and timespec64_to_ns() instead of open coding
      Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
      Acked-by: default avatarRichard Cochran <richardcochran@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      80e95f47
    • Bjorn Andersson's avatar
      net: qrtr: Expose tunneling endpoint to user space · 28fb4e59
      Bjorn Andersson authored
      This implements a misc character device named "qrtr-tun" for the purpose
      of allowing user space applications to implement endpoints in the qrtr
      network.
      
      This allows more advanced (and dynamic) testing of the qrtr code as well
      as opens up the ability of tunneling qrtr over a network or USB link.
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      28fb4e59
    • David S. Miller's avatar
      Merge branch 'selftests-Add-tests-for-mirroring-to-gretap' · e6b43d85
      David S. Miller authored
      Petr Machata says:
      
      ====================
      selftests: Add tests for mirroring to gretap
      
      This suite tests GRE-encapsulated mirroring. The general topology that
      most of the tests use is as follows, but each test defines details of
      the topology based on its needs, and some tests actually use a somewhat
      different topology.
      
      +---------------------+                      +---------------------+
      | H1                  |                      |                  H2 |
      |     + $h1           |                      |           $h2 +     |
      +-----|---------------+                      +---------------|-----+
            |                                                      |
      +-----|------------------------------------------------------|-----+
      | SW  o---> mirror                                           |     |
      | +---|------------------------------------------------------|---+ |
      | |   + $swp1               BR                         $swp2 +   | |
      | +--------------------------------------------------------------+ |
      |                                                                  |
      |     + $swp3          + gt6 (ip6gretap)    + gt4 (gretap)         |
      +-----|----------------:--------------------:----------------------+
            |                :                    :
      +-----|----------------:--------------------:----------------------+
      |     + $h3            + h3-gt6(ip6gretap)  + h3-gt4 (gretap)      |
      | H3                                                               |
      +------------------------------------------------------------------+
      
      The following axes of configuration space are tested:
      
      - ingress and egress mirroring
      - mirroring triggered by matchall and flower
      - mirroring to ipgretap and ip6gretap
      - remote tunnel reachable directly or through a next-hop route
      - skip_sw as well as skip_hw configurations
      
      Apart from basic tests with the above mentioned features, the following
      tests are included:
      
      - handling of changes to neighbors pertinent to routing decisions in
        mirrored underlay
      - handling of configuration changes at the mirrored-to tunnel (endpoint
        addresses, upness)
      
      A suite of mlxsw-specific tests will be part of a separate submission
      through linux-mlxsw patch queue.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e6b43d85
    • Petr Machata's avatar
      selftests: forwarding: Test changes in mirror-to-gretap · 45315673
      Petr Machata authored
      These tests set up mirroring in a situation that the configuration is
      incorrect, i.e. mirrored packets, if any, are not supposed to reach
      destination tunnel device. Then the configuration is rectified and
      mirroring is checked to have started working.
      Signed-off-by: default avatarPetr Machata <petrm@mellanox.com>
      Reviewed-by: default avatarJiri Pirko <jiri@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      45315673