diff options
| author | Wenjun Wu <[email protected]> | 2024-10-09 08:09:59 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-10-10 15:30:23 +0000 |
| commit | 015307754a19832dd665295f6c123289b0f37ba6 (patch) | |
| tree | 0694dcaee82d84fd2fcb48e7a226c07b44c530ef /drivers/net/ethernet/intel/ice/ice.h | |
| parent | virtchnl: support queue rate limit and quanta size configuration (diff) | |
| download | kernel-015307754a19832dd665295f6c123289b0f37ba6.tar.gz kernel-015307754a19832dd665295f6c123289b0f37ba6.zip | |
ice: Support VF queue rate limit and quanta size configuration
Add support to configure VF queue rate limit and quanta size.
For quanta size configuration, the quanta profiles are divided evenly
by PF numbers. For each port, the first quanta profile is reserved for
default. When VF is asked to set queue quanta size, PF will search for
an available profile, change the fields and assigned this profile to the
queue.
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: Wenjun Wu <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Link: https://patch.msgid.link/fddefc2c1ec3ab32b241ce444af401da19e834dd.1728460186.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice.h')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice.h b/drivers/net/ethernet/intel/ice/ice.h index 558cda577191..c7dbf332de81 100644 --- a/drivers/net/ethernet/intel/ice/ice.h +++ b/drivers/net/ethernet/intel/ice/ice.h @@ -669,6 +669,8 @@ struct ice_pf { struct ice_agg_node vf_agg_node[ICE_MAX_VF_AGG_NODES]; struct ice_dplls dplls; struct device *hwmon_dev; + + u8 num_quanta_prof_used; }; extern struct workqueue_struct *ice_lag_wq; |
