aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
diff options
context:
space:
mode:
authorMark Bloch <markb@mellanox.com>2018-10-02 22:57:24 +0000
committerSaeed Mahameed <saeedm@mellanox.com>2018-10-17 14:15:48 -0700
commitb8aee82250b7d90a32b11ba208656f52dbaca342 (patch)
tree90b757122f3e156fd4d98ecf7856a476722ff30c /drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
parentMerge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux into net-next (diff)
downloadlinux-dev-b8aee82250b7d90a32b11ba208656f52dbaca342.tar.xz
linux-dev-b8aee82250b7d90a32b11ba208656f52dbaca342.zip
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/net/ethernet/mellanox/mlx5/core/fs_cmd.c')
0 files changed, 0 insertions, 0 deletions