netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next v2 0/9][pull request] 100GbE Intel Wired LAN Driver Updates 2019-11-04
@ 2019-11-04 21:51 Jeff Kirsher
  2019-11-04 21:51 ` [net-next v2 1/9] ice: Introduce ice_base.c Jeff Kirsher
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Jeff Kirsher @ 2019-11-04 21:51 UTC (permalink / raw)
  To: davem; +Cc: Jeff Kirsher, netdev, nhorman, sassmann

This series contains updates to the ice driver only.

Anirudh refactors the code to reduce the kernel configuration flags and
introduces ice_base.c file.

Maciej does additional refactoring on the configuring of transmit
rings so that we are not configuring per each traffic class flow.
Added support for XDP in the ice driver.  Provides additional
re-organizing of the code in preparation for adding build_skb() support
in the driver.  Adjusted the computational padding logic for headroom
and tailroom to better support build_skb(), which also aligns with the
logic in other Intel LAN drivers.  Added build_skb support and make use
of the XDP's data_meta.

Krzysztof refactors the driver to prepare for AF_XDP support in the
driver and then adds support for AF_XDP.

v2: Updated patch 3 of the series based on community feedback with the
    following changes...
    - return -EOPNOTSUPP instead of ENOTSUPP for too large MTU which makes
      it impossible to attach XDP prog
    - don't check for case when there's no XDP prog currently on interface
      and ice_xdp() is called with NULL bpf_prog; this happens when user
      does "ip link set eth0 xdp off" and no prog is present on VSI; no need
      for that as it is handled by higher layer
    - drop the extack message for unknown xdp->command
    - use the smp_processor_id() for accessing the XDP Tx ring for XDP_TX
      action
    - don't leave the interface in downed state in case of any failure
      during the XDP Tx resources handling
    - undo rename of ice_build_ctob
    The above changes caused a ripple effect in patches 4 & 5 to update
    references to ice_build_ctob() which are now build_ctob()

The following are changes since commit 1574cf83c7a069f5f29295170ed8a568ccebcb7b:
  Merge tag 'mlx5-updates-2019-11-01' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 100GbE

Anirudh Venkataramanan (1):
  ice: Introduce ice_base.c

Krzysztof Kazimierczak (2):
  ice: Move common functions to ice_txrx_lib.c
  ice: Add support for AF_XDP

Maciej Fijalkowski (6):
  ice: get rid of per-tc flow in Tx queue configuration routines
  ice: Add support for XDP
  ice: introduce legacy Rx flag
  ice: introduce frame padding computation logic
  ice: add build_skb() support
  ice: allow 3k MTU for XDP

 drivers/net/ethernet/intel/ice/Makefile       |    3 +
 drivers/net/ethernet/intel/ice/ice.h          |   59 +-
 drivers/net/ethernet/intel/ice/ice_base.c     |  857 ++++++++++++
 drivers/net/ethernet/intel/ice/ice_base.h     |   31 +
 drivers/net/ethernet/intel/ice/ice_dcb_lib.h  |    1 +
 drivers/net/ethernet/intel/ice/ice_ethtool.c  |   65 +-
 drivers/net/ethernet/intel/ice/ice_lib.c      |  984 ++------------
 drivers/net/ethernet/intel/ice/ice_lib.h      |   49 +-
 drivers/net/ethernet/intel/ice/ice_main.c     |  355 +++++
 drivers/net/ethernet/intel/ice/ice_txrx.c     |  573 ++++----
 drivers/net/ethernet/intel/ice/ice_txrx.h     |  140 +-
 drivers/net/ethernet/intel/ice/ice_txrx_lib.c |  273 ++++
 drivers/net/ethernet/intel/ice/ice_txrx_lib.h |   59 +
 .../net/ethernet/intel/ice/ice_virtchnl_pf.c  |    1 +
 drivers/net/ethernet/intel/ice/ice_xsk.c      | 1181 +++++++++++++++++
 drivers/net/ethernet/intel/ice/ice_xsk.h      |   72 +
 16 files changed, 3553 insertions(+), 1150 deletions(-)
 create mode 100644 drivers/net/ethernet/intel/ice/ice_base.c
 create mode 100644 drivers/net/ethernet/intel/ice/ice_base.h
 create mode 100644 drivers/net/ethernet/intel/ice/ice_txrx_lib.c
 create mode 100644 drivers/net/ethernet/intel/ice/ice_txrx_lib.h
 create mode 100644 drivers/net/ethernet/intel/ice/ice_xsk.c
 create mode 100644 drivers/net/ethernet/intel/ice/ice_xsk.h

-- 
2.21.0


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

end of thread, other threads:[~2019-11-05 21:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-04 21:51 [net-next v2 0/9][pull request] 100GbE Intel Wired LAN Driver Updates 2019-11-04 Jeff Kirsher
2019-11-04 21:51 ` [net-next v2 1/9] ice: Introduce ice_base.c Jeff Kirsher
2019-11-04 21:51 ` [net-next v2 2/9] ice: get rid of per-tc flow in Tx queue configuration routines Jeff Kirsher
2019-11-04 21:51 ` [net-next v2 3/9] ice: Add support for XDP Jeff Kirsher
2019-11-04 21:51 ` [net-next v2 4/9] ice: Move common functions to ice_txrx_lib.c Jeff Kirsher
2019-11-04 21:51 ` [net-next v2 5/9] ice: Add support for AF_XDP Jeff Kirsher
2019-11-04 21:51 ` [net-next v2 6/9] ice: introduce legacy Rx flag Jeff Kirsher
2019-11-04 21:51 ` [net-next v2 7/9] ice: introduce frame padding computation logic Jeff Kirsher
2019-11-04 21:51 ` [net-next v2 8/9] ice: add build_skb() support Jeff Kirsher
2019-11-04 21:51 ` [net-next v2 9/9] ice: allow 3k MTU for XDP Jeff Kirsher
2019-11-05 12:37   ` Jesper Dangaard Brouer
2019-11-05 17:32     ` Maciej Fijalkowski
2019-11-05 21:40 ` [net-next v2 0/9][pull request] 100GbE Intel Wired LAN Driver Updates 2019-11-04 David Miller

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).