Alexander Duyck 9f12df906c ixgbe: Store VXLAN port number in network order
The VXLAN port number should be stored in network order instead of in host
order as it is accessed from the hot-path in ATR.  This way we can avoid
having to do any byte swaps in order to validate the port number.

I moved the vxlan_port value into a hole in the read-mostly region of the
adapter struct.  This way it should be in a warm cache-line instead of in
some isolated region in memory when it needs to be accessed.

In addition I went through and stripped a bunch of unneeded ifdef flags
since having an extra variable present doesn't really hurt anything and
makes the code easier to read.  I also went through and dropped the
NETIF_F_RXCSUM flag which was being set in hw_encap_features but provides
no value as the flag is not evaluated in the Rx path.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-03-29 22:24:16 -07:00
..
2016-03-16 17:45:56 -07:00
2016-03-21 13:14:16 -07:00
2016-03-20 15:40:32 -07:00
2016-03-20 14:57:08 -07:00
2016-03-16 08:36:55 -07:00
2016-03-22 15:36:02 -07:00
2016-03-18 10:15:11 -07:00
2016-03-17 13:47:50 -07:00
2016-03-20 15:40:32 -07:00
2016-03-18 10:15:11 -07:00
2016-03-22 11:57:43 -07:00
2016-03-23 17:20:59 -07:00
2016-03-22 11:57:43 -07:00
2016-03-18 10:15:11 -07:00
2016-03-21 14:35:52 -07:00
2016-03-19 15:15:07 -07:00
2016-03-23 17:20:59 -07:00
2016-03-18 10:15:11 -07:00
2016-03-20 15:40:32 -07:00
2016-03-17 12:34:54 -07:00
2016-03-24 10:36:16 -07:00
2016-03-22 12:55:17 -07:00
2016-03-17 13:05:09 -07:00
2016-03-22 12:55:17 -07:00