1. 07 9月, 2021 2 次提交
  2. 06 9月, 2021 19 次提交
  3. 05 9月, 2021 3 次提交
    • D
      bonding: complain about missing route only once for A/B ARP probes · 0a4fd8df
      David Decotigny 提交于
      On configs where there is no confirgured direct route to the target of
      the ARP probes, these probes are still sent and may be replied to
      properly, so no need to repeatedly complain about the missing route.
      Signed-off-by: NDavid Decotigny <ddecotig@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0a4fd8df
    • A
      ip/ip6_gre: use the same logic as SIT interfaces when computing v6LL address · e5dd7294
      Antonio Quartulli 提交于
      GRE interfaces are not Ether-like and therefore it is not
      possible to generate the v6LL address the same way as (for example)
      GRETAP devices.
      
      With default settings, a GRE interface will attempt generating its v6LL
      address using the EUI64 approach, but this will fail when the local
      endpoint of the GRE tunnel is set to "any". In this case the GRE
      interface will end up with no v6LL address, thus violating RFC4291.
      
      SIT interfaces already implement a different logic to ensure that a v6LL
      address is always computed.
      
      Change the GRE v6LL generation logic to follow the same approach as SIT.
      This way GRE interfaces will always have a v6LL address as well.
      
      Behaviour of GRETAP interfaces has not been changed as they behave like
      classic Ether-like interfaces.
      
      To avoid code duplication sit_add_v4_addrs() has been renamed to
      add_v4_addrs() and adapted to handle also the IP6GRE/GRE cases.
      Signed-off-by: NAntonio Quartulli <a@unstable.cc>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e5dd7294
    • S
      net: stmmac: Fix overall budget calculation for rxtx_napi · 81d0885d
      Song Yoong Siang 提交于
      tx_done is not used for napi_complete_done(). Thus, NAPI busy polling
      mechanism by gro_flush_timeout and napi_defer_hard_irqs will not able
      be triggered after a packet is transmitted when there is no receive
      packet.
      
      Fix this by taking the maximum value between tx_done and rx_done as
      overall budget completed by the rxtx NAPI poll to ensure XDP Tx ZC
      operation is continuously polling for next Tx frame. This gives
      benefit of lower packet submission processing latency and jitter
      under XDP Tx ZC mode.
      
      Performance of tx-only using xdp-sock on Intel ADL-S platform is
      the same with and without this patch.
      
      root@intel-corei7-64:~# ./xdpsock -i enp0s30f4 -t -z -q 1 -n 10
       sock0@enp0s30f4:1 txonly xdp-drv
                         pps            pkts           10.00
      rx                 0              0
      tx                 511630         8659520
      
       sock0@enp0s30f4:1 txonly xdp-drv
                         pps            pkts           10.00
      rx                 0              0
      tx                 511625         13775808
      
       sock0@enp0s30f4:1 txonly xdp-drv
                         pps            pkts           10.00
      rx                 0              0
      tx                 511619         18892032
      
      Fixes: 132c32ee ("net: stmmac: Add TX via XDP zero-copy socket")
      Cc: <stable@vger.kernel.org> # 5.13.x
      Co-developed-by: NOng Boon Leong <boon.leong.ong@intel.com>
      Signed-off-by: NOng Boon Leong <boon.leong.ong@intel.com>
      Signed-off-by: NSong Yoong Siang <yoong.siang.song@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      81d0885d
  4. 04 9月, 2021 8 次提交
  5. 03 9月, 2021 8 次提交