Re: [PATCH net-next v3 2/2] mlx5: convert to new udp_tunnel infrastructure

2020-07-28 Thread Saeed Mahameed
On Tue, 2020-07-28 at 14:47 -0700, Jakub Kicinski wrote: > Allocate nic_info dynamically - n_entries is not constant. > > Attach the tunnel offload info only to the uplink representor. > We expect the "main" netdev to be unregistered in switchdev > mode, and there to be only one uplink representor

[PATCH net-next v3 2/2] mlx5: convert to new udp_tunnel infrastructure

2020-07-28 Thread Jakub Kicinski
Allocate nic_info dynamically - n_entries is not constant. Attach the tunnel offload info only to the uplink representor. We expect the "main" netdev to be unregistered in switchdev mode, and there to be only one uplink representor. Drop the udp_tunnel_drop_rx_info() call, it was not there until