1. 31 Aug, 2017 7 commits
    • Rami Rosen's avatar
      net: fix two typos in net_device_ops documentation. · f16ded59
      Rami Rosen authored
      This patch fixes two trivial typos in net_device_ops documentation,
      related to ndo_xdp_flush callback.
      Signed-off-by: default avatarRami Rosen <rami.rosen@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f16ded59
    • Andrii's avatar
      net: dccp: Add handling of IPV6_PKTOPTIONS to dccp_v6_do_rcv() · 323fbd0e
      Andrii authored
      Add handling of IPV6_PKTOPTIONS to dccp_v6_do_rcv() in net/dccp/ipv6.c,
      similar
      to the handling in net/ipv6/tcp_ipv6.c
      Signed-off-by: default avatarAndrii Vladyka <tulup@mail.ru>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      323fbd0e
    • Roopa Prabhu's avatar
      bridge: add tracepoint in br_fdb_update · e3cfddd5
      Roopa Prabhu authored
      This extends bridge fdb table tracepoints to also cover
      learned fdb entries in the br_fdb_update path. Note that
      unlike other tracepoints I have moved this to when the fdb
      is modified because this is in the datapath and can generate
      a lot of noise in the trace output. br_fdb_update is also called
      from added_by_user context in the NTF_USE case which is already
      traced ..hence the !added_by_user check.
      Signed-off-by: default avatarRoopa Prabhu <roopa@cumulusnetworks.com>
      Acked-by: default avatarNikolay Aleksandrov <nikolay@cumulusnetworks.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e3cfddd5
    • Cong Wang's avatar
      net_sched: add reverse binding for tc class · 07d79fc7
      Cong Wang authored
      TC filters when used as classifiers are bound to TC classes.
      However, there is a hidden difference when adding them in different
      orders:
      
      1. If we add tc classes before its filters, everything is fine.
         Logically, the classes exist before we specify their ID's in
         filters, it is easy to bind them together, just as in the current
         code base.
      
      2. If we add tc filters before the tc classes they bind, we have to
         do dynamic lookup in fast path. What's worse, this happens all
         the time not just once, because on fast path tcf_result is passed
         on stack, there is no way to propagate back to the one in tc filters.
      
      This hidden difference hurts performance silently if we have many tc
      classes in hierarchy.
      
      This patch intends to close this gap by doing the reverse binding when
      we create a new class, in this case we can actually search all the
      filters in its parent, match and fixup by classid. And because
      tcf_result is specific to each type of tc filter, we have to introduce
      a new ops for each filter to tell how to bind the class.
      
      Note, we still can NOT totally get rid of those class lookup in
      ->enqueue() because cgroup and flow filters have no way to determine
      the classid at setup time, they still have to go through dynamic lookup.
      
      Cc: Jamal Hadi Salim <jhs@mojatatu.com>
      Signed-off-by: default avatarCong Wang <xiyou.wangcong@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      07d79fc7
    • David S. Miller's avatar
      Merge tag 'mlx5-GRE-Offload' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux · ea3100ab
      David S. Miller authored
      Saeed Mahameed says:
      
      ====================
      mlx5-updates-2017-08-31 (GRE Offloads support)
      
      This series provides the support for MPLS RSS and GRE TX offloads and
      RSS support.
      
      The first patch from Gal and Ariel provides the mlx5 driver support for
      ConnectX capability to perform IP version identification and matching in
      order to distinguish between IPv4 and IPv6 without the need to specify the
      encapsulation type, thus perform RSS in MPLS automatically without
      specifying MPLS ethertyoe. This patch will also serve for inner GRE IPv4/6
      classification for inner GRE RSS.
      
      2nd patch from Gal, Adds the TX offloads support for GRE tunneled packets,
      by reporting the needed netdev features.
      
      3rd patch from Gal, Adds GRE inner RSS support by creating the needed device
      resources (Steering Tables/rules and traffic classifiers) to Match GRE traffic
      and perform RSS hashing on the inner headers.
      
      Improvement:
      Testing 8 TCP streams bandwidth over GRE:
          System: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
          NIC: Mellanox Technologies MT28800 Family [ConnectX-5 Ex]
          Before: 21.3 Gbps (Single RQ)
          Now   : 90.5 Gbps (RSS spread on 8 RQs)
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ea3100ab
    • Rick Farrington's avatar
      liquidio: fix crash in presence of zeroed-out base address regs · acfb98b9
      Rick Farrington authored
      Fix crash in linux PF driver when BARs have been cleared/de-programmed;
      fail early init (prior to mapping BARs) if the BAR0 or
      BAR1 registers are zero.
      
      This situation can arise when the PF is added to a VM (PCI pass-through),
      then a PF FLR is issued (in the VM).  After this occurs, the BAR registers
      will be zero. If we attempt to load the PF driver in the host
      (after VM has been shutdown), the host can reset.
      Signed-off-by: default avatarRick Farrington <ricardo.farrington@cavium.com>
      Signed-off-by: default avatarRaghu Vatsavayi <raghu.vatsavayi@cavium.com>
      Signed-off-by: default avatarFelix Manlunas <felix.manlunas@cavium.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      acfb98b9
    • David Ahern's avatar
      devlink: Maintain consistency in mac field name · 12bdc5e1
      David Ahern authored
      IPv4 name uses "destination ip" as does the IPv6 patch set.
      Make the mac field consistent.
      Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      12bdc5e1
  2. 30 Aug, 2017 33 commits