diff options
author | Sudheer Mogilappagari <sudheer.mogilappagari@intel.com> | 2024-10-09 10:10:00 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-10 08:30:23 -0700 |
commit | ef490bbb2267023f3ce60aaf07df10b3a031fb59 (patch) | |
tree | 99ee89a2c9d55480a768ec53dbd8ef2891782bdf /net/ipv4/tcp_output.c | |
parent | 015307754a19832dd665295f6c123289b0f37ba6 (diff) | |
download | linux-ef490bbb2267023f3ce60aaf07df10b3a031fb59.tar.gz linux-ef490bbb2267023f3ce60aaf07df10b3a031fb59.tar.bz2 linux-ef490bbb2267023f3ce60aaf07df10b3a031fb59.zip |
iavf: Add net_shaper_ops support
Implement net_shaper_ops support for IAVF. This enables configuration
of rate limiting on per queue basis. Customer intends to enforce
bandwidth limit on Tx traffic steered to the queue by configuring
rate limits on the queue.
To set rate limiting for a queue, update shaper object of given queues
in driver and send VIRTCHNL_OP_CONFIG_QUEUE_BW to PF to update HW
configuration.
Deleting shaper configured for queue is nothing but configuring shaper
with bw_max 0. The PF restores the default rate limiting config
when bw_max is zero.
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Sudheer Mogilappagari <sudheer.mogilappagari@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Link: https://patch.msgid.link/5a882cb51998c4c2c3d21fed521498eba1c8f079.1728460186.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions