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)
commit073caf508822750cde02086a6ac1b9131e69692c
tree742ca8c5178d6f8cb44c82d823f7225379263b67
parentb36cdb42ad4b114d4b9bbba8770d7a4b8e1a62f6
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