summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2019-04-15 10:10:02 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-05-01 14:39:15 -0700
commit0e1c1a2fcfcb6b91db98a60711fa14f9f69a383c (patch)
treed0ccce2c1df835e966494f43e325ee405396100f /include
parent0bac1194539753eca1c0fd9aca7a1764356bdc9f (diff)
downloadlinux-0e1c1a2fcfcb6b91db98a60711fa14f9f69a383c.tar.bz2
net/mlx5e: Return error when trying to insert existing flower filter
With unlocked TC it is possible to have spurious deletes and inserts of same filter. TC layer needs drivers to always return error when flow insertion failed in order to correctly calculate "in_hw_count" for each filter. Fix mlx5e_configure_flower() to return -EEXIST when TC tries to insert a filter that is already provisioned to the driver. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions