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. > > Drop the udp_tunnel_drop_rx_info() call, it was not there until > commit b3c2ed21c0bd ("net/mlx5e: Fix VXLAN configuration restore > after function reload") > so the device doesn't need it, and core should handle reloads and > reset just fine. >
Oouf :), I posted comments on v2, please have a look.