]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Adjustments in the TC offload code towards reuse for SRIOV
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 14 Jul 2016 07:32:42 +0000 (10:32 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2016 20:34:29 +0000 (13:34 -0700)
commit0b0492791da84667819eba03019197913d02f62d
tree28a05c99dfa115fa2de022b178ec622b1a9546fa
parentfb5902c12bd1654eed292c5cae733f986afdeaa7
net/mlx5e: Adjustments in the TC offload code towards reuse for SRIOV

Towards reusing the TC offloads code for an SRIOV use-case, change some of the
helper functions to have _nic in their names so it's clear what's NIC unique
and what's general. Also group together the NIC related helpers so we can easily
branch per the use-case in downstream patch.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c