diff options
author | 2025-02-03 23:35:16 +0200 | |
---|---|---|
committer | 2025-02-06 10:14:01 +0100 | |
commit | 689805dcc474c2accb5cffbbcea1c06ee4a54570 (patch) | |
tree | a30d198f57f498add96c36db22e3c365b6c1d076 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/mlx5e: Remove unused mlx5e_tc_flow_action struct (diff) | |
download | wireguard-linux-689805dcc474c2accb5cffbbcea1c06ee4a54570.tar.xz wireguard-linux-689805dcc474c2accb5cffbbcea1c06ee4a54570.zip |
net/mlx5e: Avoid WARN_ON when configuring MQPRIO with HTB offload enabled
When attempting to enable MQPRIO while HTB offload is already
configured, the driver currently returns `-EINVAL` and triggers a
`WARN_ON`, leading to an unnecessary call trace.
Update the code to handle this case more gracefully by returning
`-EOPNOTSUPP` instead, while also providing a helpful user message.
Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Yael Chemla <ychemla@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions