]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add sriov and udp tunnel ndo support for the uplink rep
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 1 Nov 2018 17:14:21 +0000 (19:14 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 17 Dec 2018 19:03:28 +0000 (11:03 -0800)
commitba0ca93586378b15cbe08a056e9e9c078d7aee09
tree742ca8c5178d6f8cb44c82d823f7225379263b67
parentae76810c8c04a912f4253efa4711d3131be2d14a
net/mlx5e: Add sriov and udp tunnel ndo support for the uplink rep

Some of the sriov ndo calls are needed also on the switchdev mode -
e.g setup VF mac and reading vport stats. Add them to the uplink rep
netdev ops. Same for the UDP tunnel ones, need them there to identify
offloaded udp tunnel ports.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c