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

Maciej Fijalkowski maciej.fijalkowski at intel.com
Wed Feb 24 14:13:52 UTC 2021


On Tue, Feb 23, 2021 at 03:47:04PM -0800, Jesse Brandeburg wrote:
> 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.

Thanks, that is much better!

For the series:
Acked-by: Maciej Fijalkowski <maciej.fijalkowski at intel.com>

FWIW, I see that in the subject of patches only the ice one has a v2, but
that's no big deal.

> 
> 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(-)
> 
> -- 
> 2.29.2
> 
> _______________________________________________
> Intel-wired-lan mailing list
> Intel-wired-lan at osuosl.org
> https://lists.osuosl.org/mailman/listinfo/intel-wired-lan


More information about the Intel-wired-lan mailing list