diff options
| author | Carolina Jubran <[email protected]> | 2025-02-03 21:35:16 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-02-06 09:14:01 +0000 |
| commit | 689805dcc474c2accb5cffbbcea1c06ee4a54570 (patch) | |
| tree | a30d198f57f498add96c36db22e3c365b6c1d076 /drivers/fpga/altera-fpga2sdram.c | |
| parent | net/mlx5e: Remove unused mlx5e_tc_flow_action struct (diff) | |
| download | kernel-689805dcc474c2accb5cffbbcea1c06ee4a54570.tar.gz kernel-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 <[email protected]>
Reviewed-by: Yael Chemla <[email protected]>
Reviewed-by: Cosmin Ratiu <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Reviewed-by: Kalesh AP <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
