summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.com>2020-03-01 15:31:49 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2020-03-17 19:41:32 -0700
commitb5f814cc7381e58877ebc9178283e28725c1b4f0 (patch)
tree3124c08c40b5e283359284524c7990097a5a592a /drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c
parent31e87b39ba9d47cf31f5a91dd3cc9680f5987d12 (diff)
downloadlinux-b5f814cc7381e58877ebc9178283e28725c1b4f0.tar.gz
linux-b5f814cc7381e58877ebc9178283e28725c1b4f0.tar.bz2
linux-b5f814cc7381e58877ebc9178283e28725c1b4f0.zip
net/mlx5: Avoid configuring eswitch QoS if not supported
Check if QoS is enabled for the eswitch before attempting to configure QoS parameters and emit a netlink error if not supported. Introduce an API to check if QoS is supported for the eswitch. Signed-off-by: Eli Cohen <eli@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Reviewed-by: Paul Blakey <paulb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c')
0 files changed, 0 insertions, 0 deletions