vxlan: Have the NIC drivers do less work for offloads
authorJoseph Gasparakis <joseph.gasparakis@intel.com>
Thu, 24 Oct 2013 06:27:10 +0000 (06:27 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 29 Oct 2013 09:39:13 +0000 (02:39 -0700)
commite6cd988c27bb5918630db67b3526c9e78e786818
treed009eb6f79d4e756234ef4bfc513a507938b3c99
parentcdfb97bc010d9e9d994eb68f2cbac3a8ada26104
vxlan: Have the NIC drivers do less work for offloads

This patch removes the burden from the NIC drivers to check if the
vxlan driver is enabled in the kernel and also makes available
the vxlan headrooms to them.

Signed-off-by: Joseph Gasparakis <joseph.gasparakis@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/vxlan.c
include/net/vxlan.h