[PATCH v2 030/148] net/ice/base: limit PF RSS LUT to one VSI at time
Anatoly Burakov
anatoly.burakov at intel.com
Wed Jun 12 17:00:24 CEST 2024
From: Ian Stokes <ian.stokes at intel.com>
Allow only one VSI to alloc the PF RSS LUT.
Shared part consists of just a new field, actual implementation will use
`rss_locks` to serialize the access. Take advantage of the fact that VSI #0 is
main VSI for PF, what is the default PF LUT holder, so zero-init of struct
ice_hw sets it as designed.
Signed-off-by: Przemek Kitszel <przemyslaw.kitszel at intel.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>
---
drivers/net/ice/base/ice_type.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ice/base/ice_type.h b/drivers/net/ice/base/ice_type.h
index 48f892bfd3..1e133bb1a6 100644
--- a/drivers/net/ice/base/ice_type.h
+++ b/drivers/net/ice/base/ice_type.h
@@ -1394,6 +1394,7 @@ struct ice_hw {
ice_declare_bitmap(fdir_perfect_fltr, ICE_FLTR_PTYPE_MAX);
struct ice_lock rss_locks; /* protect RSS configuration */
struct LIST_HEAD_TYPE rss_list_head;
+ u16 vsi_owning_pf_lut; /* SW IDX of VSI that acquired PF RSS LUT */
ice_declare_bitmap(hw_ptype, ICE_FLOW_PTYPE_MAX);
u8 dvm_ena;
u16 io_expander_handle;
--
2.43.0
More information about the dev
mailing list