From: Jingjing Wu Date: Sun, 6 Sep 2015 07:12:03 +0000 (+0800) Subject: i40e/base: allow per-device FW API version X-Git-Tag: spdx-start~8453 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4f5b4a3abdc3678ea17b3f3f8a263e531e5df7cb;p=dpdk.git i40e/base: allow per-device FW API version Allow for unique FW API versions for different HW Signed-off-by: Jingjing Wu Acked-by: Helin Zhang Tested-by: Huilong Xu --- diff --git a/drivers/net/i40e/base/i40e_type.h b/drivers/net/i40e/base/i40e_type.h index 4ea9c2d635..081cb5d595 100644 --- a/drivers/net/i40e/base/i40e_type.h +++ b/drivers/net/i40e/base/i40e_type.h @@ -162,6 +162,13 @@ enum i40e_memcpy_type { I40E_DMA_TO_NONDMA }; + +#ifdef X722_SUPPORT +#define I40E_FW_API_VERSION_MINOR_X722 0x0003 +#endif +#define I40E_FW_API_VERSION_MINOR_X710 0x0004 + + /* These are structs for managing the hardware information and the operations. * The structures of function pointers are filled out at init time when we * know for sure exactly which hardware we're working with. This gives us the