1. 23 Apr, 2020 3 commits
    • Wei Yongjun's avatar
      macvlan: silence RCU list debugging warning · 58e64a31
      Wei Yongjun authored
      macvlan_hash_lookup() uses list_for_each_entry_rcu() for traversing
      should either under RCU in fast path or the protection of rtnl_mutex.
      
      In the case of holding RTNL, we should add the corresponding lockdep
      expression to silence the following false-positive warning:
      
      =============================
      WARNING: suspicious RCU usage
      5.7.0-rc1-next-20200416-00003-ga3b8d28bc #1 Not tainted
      -----------------------------
      drivers/net/macvlan.c:126 RCU-list traversed in non-reader section!!
      Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      58e64a31
    • David Ahern's avatar
      selftests: Add tests for vrf and xfrms · 3f251d74
      David Ahern authored
      Add tests for vrf and xfrms with a second round after adding a
      qdisc. There are a few known problems documented with the test
      cases that fail. The fix is non-trivial; will come back to it
      when time allows.
      Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3f251d74
    • Xiaoliang Yang's avatar
      net: dsa: felix: allow flooding for all traffic classes · 3c7b51bd
      Xiaoliang Yang authored
      Right now it can be seen that the VSC9959 (Felix) switch will not flood
      frames if they have a VLAN tag with a PCP of 1-7 (nonzero).
      
      It turns out that Felix is quite different from its cousin, Ocelot, in
      that frame flooding can be allowed/denied per traffic class. Where
      Ocelot has 1 instance of the ANA_FLOODING register, Felix has 8.
      
      The approach that this driver is going to take is "thanks, but no
      thanks". We have no use case of limiting the flooding domain based on
      traffic class, so we just want to allow packets to be flooded, no matter
      what traffic class they have.
      
      So we copy the line of code from ocelot.c which does the one-shot
      initialization of the flooding PGIDs, and we add it to felix.c as well -
      except replicated 8 times.
      Signed-off-by: default avatarXiaoliang Yang <xiaoliang.yang_1@nxp.com>
      Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3c7b51bd
  2. 22 Apr, 2020 17 commits
  3. 21 Apr, 2020 13 commits
  4. 20 Apr, 2020 7 commits