netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/5] Introduce NETIF_F_GRO_HW
@ 2017-12-07  8:03 Michael Chan
  2017-12-07  8:03 ` [PATCH net-next v2 1/5] net: " Michael Chan
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Michael Chan @ 2017-12-07  8:03 UTC (permalink / raw)
  To: davem; +Cc: netdev, andrew.gospodarek

Introduce NETIF_F_GRO_HW feature flag and convert drivers that support
hardware GRO to use the new flag.

v2:
- NETIF_F_GRO_HW flag propagation between upper and lower devices not
required (see patch 1).
- NETIF_F_GRO_HW depends on NETIF_F_GRO and NETIF_F_RXCSUM.
- Add dev_disable_gro_hw() to disable GRO_HW for generic XDP.
- Use ndo_fix_features() on all 3 drivers to drop GRO_HW when it is not
supported

Michael Chan (5):
  net: Introduce NETIF_F_GRO_HW.
  net: Disable GRO_HW when generic XDP is installed on a device.
  bnxt_en: Use NETIF_F_GRO_HW.
  bnx2x: Use NETIF_F_GRO_HW.
  qede: Use NETIF_F_GRO_HW.

 Documentation/networking/netdev-features.txt     |  8 +++++
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c  | 17 ++++++----
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c |  4 ++-
 drivers/net/ethernet/broadcom/bnxt/bnxt.c        | 21 ++++++++----
 drivers/net/ethernet/qlogic/qede/qede.h          |  2 ++
 drivers/net/ethernet/qlogic/qede/qede_ethtool.c  |  3 ++
 drivers/net/ethernet/qlogic/qede/qede_filter.c   | 20 ++++++++----
 drivers/net/ethernet/qlogic/qede/qede_main.c     | 17 ++++------
 include/linux/netdev_features.h                  |  3 ++
 net/core/dev.c                                   | 41 ++++++++++++++++++++++++
 net/core/ethtool.c                               |  1 +
 11 files changed, 104 insertions(+), 33 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2017-12-08 22:40 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-07  8:03 [PATCH net-next v2 0/5] Introduce NETIF_F_GRO_HW Michael Chan
2017-12-07  8:03 ` [PATCH net-next v2 1/5] net: " Michael Chan
2017-12-07 18:13   ` Alexander Duyck
2017-12-07 18:44     ` Michael Chan
2017-12-07 21:35       ` Alexander Duyck
2017-12-07 22:08         ` Michael Chan
2017-12-07 22:43           ` Alexander Duyck
2017-12-07 23:17             ` Michael Chan
2017-12-07 23:35               ` Alexander Duyck
2017-12-08  0:05                 ` Michael Chan
2017-12-08  2:36                   ` Alexander Duyck
2017-12-08  4:02                     ` Michael Chan
2017-12-07  8:03 ` [PATCH net-next v2 2/5] net: Disable GRO_HW when generic XDP is installed on a device Michael Chan
2017-12-07  8:03 ` [PATCH net-next v2 3/5] bnxt_en: Use NETIF_F_GRO_HW Michael Chan
2017-12-07  8:03 ` [PATCH net-next v2 4/5] bnx2x: " Michael Chan
2017-12-07  8:03 ` [PATCH net-next v2 5/5] qede: " Michael Chan
2017-12-08 17:02   ` Chopra, Manish
2017-12-08 22:09   ` Marcelo Ricardo Leitner
2017-12-08 22:40     ` Michael Chan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).