diff options
author | Carolina Jubran <cjubran@nvidia.com> | 2024-10-08 21:32:21 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-10 13:12:00 +0200 |
commit | f91c69f43c545f46f256d907d55d24d06a4ac8f5 (patch) | |
tree | 4b6979dc9ed8fe64b9f242faa5f52411528fbefd /net/ipv4/tcp_output.c | |
parent | 40efb0b7c755f7803abe59a81c3bdd73edf025d3 (diff) | |
download | linux-f91c69f43c545f46f256d907d55d24d06a4ac8f5.tar.gz linux-f91c69f43c545f46f256d907d55d24d06a4ac8f5.tar.bz2 linux-f91c69f43c545f46f256d907d55d24d06a4ac8f5.zip |
net/mlx5: Unify QoS element type checks across NIC and E-Switch
Refactor the QoS element type support check by introducing a new
function, mlx5_qos_element_type_supported(), which handles element type
validation for both NIC and E-Switch schedulers.
This change removes the redundant esw_qos_element_type_supported()
function and unifies the element type checks into a single
implementation.
Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions