i40e: Implement ndo_features_check()
authorJoe Stringer <joestringer@nicira.com>
Wed, 15 Apr 2015 00:09:14 +0000 (17:09 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 15 Jul 2015 01:26:40 +0000 (18:26 -0700)
commitf44a75e27d5eb4b1788f59c2bc185baaaf732f75
tree792fe984ee688abcc30b39c6ef356bd8f09e0963
parentaad0d51e933f8656880592020319d2dbd09532a2
i40e: Implement ndo_features_check()

i40e supports UDP tunnel headers up to 80 bytes in length, so
this adds a check to ensure that it doesn't try to offload
packets that exceed that.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c