diff options
author | Wenjun Wu <wenjun1.wu@intel.com> | 2024-10-09 10:09:58 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-10 08:30:23 -0700 |
commit | 608a5c05c39b75fa2539ce9e521d289c5a5326f7 (patch) | |
tree | 3ddd89b7cfeb6156168c5958eec61891fcd2380c /drivers/net/ethernet/intel/ice/ice.h | |
parent | b3ea416419c83ba4a042163f17e0fd8bac417f1a (diff) | |
download | linux-608a5c05c39b75fa2539ce9e521d289c5a5326f7.tar.gz linux-608a5c05c39b75fa2539ce9e521d289c5a5326f7.tar.bz2 linux-608a5c05c39b75fa2539ce9e521d289c5a5326f7.zip |
virtchnl: support queue rate limit and quanta size configuration
This patch adds new virtchnl opcodes and structures for rate limit
and quanta size configuration, which include:
1. VIRTCHNL_OP_CONFIG_QUEUE_BW, to configure max bandwidth for each
VF per queue.
2. VIRTCHNL_OP_CONFIG_QUANTA, to configure quanta size per queue.
3. VIRTCHNL_OP_GET_QOS_CAPS, VF queries current QoS configuration, such
as enabled TCs, arbiter type, up2tc and bandwidth of VSI node. The
configuration is previously set by DCB and PF, and now is the potential
QoS capability of VF. VF can take it as reference to configure queue TC
mapping.
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Wenjun Wu <wenjun1.wu@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Link: https://patch.msgid.link/839002f7bd6f63b985a060a51b079f6e6dbbe237.1728460186.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice.h')
0 files changed, 0 insertions, 0 deletions