]> 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)
commit5d1f514a469d162ad3faa609a72060465085d198
tree28a05c99dfa115fa2de022b178ec622b1a9546fa
parentf9623713066a4f6e524ee16d871d41ee7d065468
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