From 4f5b4a3abdc3678ea17b3f3f8a263e531e5df7cb Mon Sep 17 00:00:00 2001 From: Jingjing Wu Date: Sun, 6 Sep 2015 15:12:03 +0800 Subject: [PATCH] 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 --- drivers/net/i40e/base/i40e_type.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.20.1