On Thu, 9 Jul 2020 16:28:50 -0700 Jakub Kicinski wrote:
> v3:
> - fix build issue;
Ugh. The drivers need access to the stubs as well. Maybe:
+#ifdef CONFIG_INET
extern const struct udp_tunnel_nic_ops *udp_tunnel_nic_ops;
+#else
+#define udp_tunnel_nic_ops NULL
+#endif
Kernel has a facility to notify drivers about the UDP tunnel ports
so that devices can recognize tunneled packets. This is important
mostly for RX - devices which don't support CHECKSUM_COMPLETE can
report checksums of inner packets, and compute RSS over inner headers.
Some drivers also match the U