Skip to content

intel: packet type table simplification

Jesse Brandeburg intel-wired-lan 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 of 3 patches 0 repliesNew

2 of 3 patches are in this archive. The cover letter announces 3.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/3i40e: clean up packet type lookup tabledrivers/net/ethernet/intel/i40e/i40e_common.c drivers/net/ethernet/intel/i40e/i40e_type.h+6 -1191 reply
3/3iavf: clean up packet type lookup tabledrivers/net/ethernet/intel/iavf/iavf_common.c drivers/net/ethernet/intel/iavf/iavf_type.h+6 -1190 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMaciej FijalkowskiTony BrelinskiDave Switzer
SeriesA-b T-b
2/3T-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [Intel-wired-lan] [PATCH net-next v1 0/3] intel: packet type table simplification

Update three of the Intel Ethernet drivers with similar (but not the same) improvements to simplify the packet type table init, while removing an unused structure entry. For the ice driver, the table is extended to 10 bits, which is the hardware limit, and for now is initialized to zero.

The end result is slightly reduced memory usage, removal of a bunch of code, and more specific initialization.

Jesse Brandeburg (3):
ice: report hash type such as L2/L3/L4
i40e: clean up packet type lookup table
iavf: clean up packet type lookup table

 drivers/net/ethernet/intel/i40e/i40e_common.c | 124 +--------------
 drivers/net/ethernet/intel/i40e/i40e_type.h   |   1 -
 drivers/net/ethernet/intel/iavf/iavf_common.c | 124 +--------------
 drivers/net/ethernet/intel/iavf/iavf_type.h   |   1 -
 .../net/ethernet/intel/ice/ice_lan_tx_rx.h    | 147 ++++--------------
 drivers/net/ethernet/intel/ice/ice_txrx.c     |   2 +-
 drivers/net/ethernet/intel/ice/ice_txrx_lib.c |  23 ++-
 drivers/net/ethernet/intel/ice/ice_txrx_lib.h |   2 +-
 drivers/net/ethernet/intel/ice/ice_xsk.c      |   2 +-
 9 files changed, 62 insertions(+), 364 deletions(-)
Signature · 1 line
2.29.2