net/i40e/base: fix Geneve VNI for HW use
authorHelin Zhang <helin.zhang@intel.com>
Tue, 24 May 2016 06:22:59 +0000 (14:22 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 20 Jun 2016 15:21:50 +0000 (17:21 +0200)
commit13faa4801878969ba7ca2dd95a1924e5affb4be0
treef84062b8ad0652a04b92981a91dab0558e69ff0e
parent2db70574247b97b542165de809ce580b3366c5e3
net/i40e/base: fix Geneve VNI for HW use

The hardware doesn't layout the Geneve VNI (Virtual Network
Identifier) quite the same as the VxLAN VNI, so it needs to
adjust it before sending through the Admin Queue commands as the
workaround.

Fixes: 8db9e2a1b232 ("i40e: base driver")

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/i40e/base/i40e_common.c
drivers/net/i40e/base/i40e_osdep.h