Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ice: update Tx context struct

Add internal usage flag, bit 91 as described in spec.
Update width of internal queue state to 122 also as described in spec.

Signed-off-by: Ashish Shah <ashish.n.shah@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

authored by

Ashish Shah and committed by
Jeff Kirsher
201beeb7 dfc62400

+3 -1
+2 -1
drivers/net/ethernet/intel/ice/ice_common.c
··· 1132 1132 ICE_CTX_STORE(ice_tlan_ctx, vmvf_type, 2, 78), 1133 1133 ICE_CTX_STORE(ice_tlan_ctx, src_vsi, 10, 80), 1134 1134 ICE_CTX_STORE(ice_tlan_ctx, tsyn_ena, 1, 90), 1135 + ICE_CTX_STORE(ice_tlan_ctx, internal_usage_flag, 1, 91), 1135 1136 ICE_CTX_STORE(ice_tlan_ctx, alt_vlan, 1, 92), 1136 1137 ICE_CTX_STORE(ice_tlan_ctx, cpuid, 8, 93), 1137 1138 ICE_CTX_STORE(ice_tlan_ctx, wb_mode, 1, 101), ··· 1151 1150 ICE_CTX_STORE(ice_tlan_ctx, drop_ena, 1, 165), 1152 1151 ICE_CTX_STORE(ice_tlan_ctx, cache_prof_idx, 2, 166), 1153 1152 ICE_CTX_STORE(ice_tlan_ctx, pkt_shaper_prof_idx, 3, 168), 1154 - ICE_CTX_STORE(ice_tlan_ctx, int_q_state, 110, 171), 1153 + ICE_CTX_STORE(ice_tlan_ctx, int_q_state, 122, 171), 1155 1154 { 0 } 1156 1155 }; 1157 1156
+1
drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h
··· 428 428 #define ICE_TLAN_CTX_VMVF_TYPE_PF 2 429 429 u16 src_vsi; 430 430 u8 tsyn_ena; 431 + u8 internal_usage_flag; 431 432 u8 alt_vlan; 432 433 u16 cpuid; /* bigger than needed, see above for reason */ 433 434 u8 wb_mode;