]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ice: reshuffle and group Rx and Tx queue fields by cachelines
authorAlexander Lobakin <aleksander.lobakin@intel.com>
Mon, 19 Jan 2026 16:08:43 +0000 (17:08 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 26 Jan 2026 17:32:36 +0000 (09:32 -0800)
commit24f90786efaf1c573518706408deadcef189e6de
tree30ea9cb952338bca68cbd4a19efff31a13893209
parentb38a418db3660d3c9b36bbeb54cbffe096123573
ice: reshuffle and group Rx and Tx queue fields by cachelines

Place the fields in ice_{rx,tx}_ring used in the same pieces of
hotpath code closer to each other and use
__cacheline_group_{begin,end}_aligned() to isolate the read mostly,
read-write, and cold groups into separate cachelines similarly
to idpf.

Suggested-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_ethtool.c
drivers/net/ethernet/intel/ice/ice_txrx.c
drivers/net/ethernet/intel/ice/ice_txrx.h
drivers/net/ethernet/intel/ice/ice_txrx_lib.c