diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2018-04-10 19:24:51 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-05-17 17:48:54 -0700 |
commit | 8f8ae8953fb34ac01723f1dae5b231f64a3c526b (patch) | |
tree | 4381dfbfe8847abc1f285c687c70f5abdca58a4f /COPYING | |
parent | 655dc3d2b91bf241f5baca5eb2bc2b1e22a561ff (diff) |
net/mlx5e: Ignore attempts to offload multiple times a TC flow
For VF->VF and uplink->VF rules, the TC core (cls_api) attempts
to offload the same flow multiple times into the driver, b/c we
registered to the egdev callback.
Use the flow cookie to ignore attempts to add such flows, we can't
reject them (return error), b/c this will fail the offload attempt,
so we ignore that. We indentify wrong stat/del calls using the flow
ingress/egress flags, here we do return error to the core.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions