Or Gerlitz
f8f4bef322
net : sched: cls_api: deal with egdev path only if needed
...
When dealing with ingress rule on a netdev, if we did fine through the
conventional path, there's no need to continue into the egdev route,
and we can stop right there.
Not doing so may cause a 2nd rule to be added by the cls api layer
with the ingress being the egdev.
For example, under sriov switchdev scheme, a user rule of VFR A --> VFR B
will end up with two HW rules (1) VF A --> VF B and (2) uplink --> VF B
Fixes: 208c0f4b52 ('net: sched: use tc_setup_cb_call to call per-block callbacks')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2018-05-24 22:12:22 -04:00
..
2018-04-01 19:49:34 -04:00
2018-04-05 22:26:06 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-04-22 21:12:00 -04:00
2018-03-27 13:18:09 -04:00
2017-12-13 13:18:46 -05:00
2017-10-12 22:13:20 -07:00
2017-12-13 13:18:46 -05:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-05-11 15:52:43 -04:00
2018-05-11 16:37:03 -04:00
2018-03-27 13:18:09 -04:00
2018-05-16 14:41:44 -04:00
2018-05-24 22:12:22 -04:00
2018-02-06 16:41:26 -05:00
2018-02-06 16:41:26 -05:00
2018-01-24 16:01:09 -05:00
2018-01-24 16:01:09 -05:00
2018-03-08 12:16:29 -05:00
2018-01-24 16:01:09 -05:00
2018-01-24 16:01:10 -05:00
2018-01-24 16:01:09 -05:00
2018-01-24 16:01:09 -05:00
2018-01-24 16:01:09 -05:00
2018-04-07 12:36:45 -04:00
2014-10-06 18:02:32 -04:00
2011-01-19 23:31:12 -08:00
2016-11-03 10:56:21 +01:00
2018-02-21 13:15:33 -05:00
2017-07-01 07:39:08 -07:00
2018-01-24 14:52:40 -05:00
2015-02-22 15:59:54 -05:00
2011-01-19 23:31:12 -08:00
2017-10-16 21:00:40 +01:00
2018-02-21 13:15:33 -05:00
2018-02-21 13:15:33 -05:00
2018-03-27 13:18:09 -04:00
2017-12-21 12:32:51 -05:00
2016-06-25 12:19:35 -04:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2018-05-02 16:37:38 -04:00
2018-03-26 12:36:23 -04:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:50 -05:00
2018-04-01 20:53:50 -04:00
2018-01-17 14:53:57 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2018-03-07 11:18:14 -05:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:50 -05:00
2018-02-28 12:06:01 -05:00
2017-12-21 12:32:51 -05:00
2018-05-18 13:52:32 -04:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2018-05-18 13:52:32 -04:00
2017-12-21 12:32:50 -05:00