diff options
author | Mark Bloch <markb@mellanox.com> | 2018-10-03 01:57:24 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-10-18 00:15:48 +0300 |
commit | b8aee82250b7d90a32b11ba208656f52dbaca342 (patch) | |
tree | 90b757122f3e156fd4d98ecf7856a476722ff30c /drivers/infiniband/hw | |
parent | 186daf0c20507072e72a3c74db4ac50a5b6dae07 (diff) | |
download | linux-b8aee82250b7d90a32b11ba208656f52dbaca342.tar.xz |
net/mlx5: E-Switch, Get counters for offloaded flows from callers
There's no real reason for the e-switch logic to manage the creation of
counters for offloaded flows. The API already has the directive for the
caller to denote they want to attach a counter to the created flow.
As such, we go and move the management of flow counters to the mlx5e
tc offload logic. This also lets us remove an inelegant interface where
the FS layer had to provide a way to retrieve a counter from a flow rule.
Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw')
0 files changed, 0 insertions, 0 deletions