mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
net/mlx5: Verify support for scheduling element and TSAR type
Before creating a scheduling element in a NIC or E-Switch scheduler, ensure that the requested element type is supported. If the element is of type Transmit Scheduling Arbiter (TSAR), also verify that the specific TSAR type is supported. Fixes:214baf2287("net/mlx5e: Support HTB offload") Fixes:85c5f7c920("net/mlx5: E-switch, Create QoS on demand") Fixes:0fe132eac3("net/mlx5: E-switch, Allow to add vports to rate groups") Signed-off-by: Carolina Jubran <cjubran@nvidia.com> Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
This commit is contained in:
parent
452ef7f860
commit
861cd9b9cb
2 changed files with 31 additions and 20 deletions
Loading…
Add table
Add a link
Reference in a new issue