From: Przemyslaw Gierszynski <przemyslaw.gierszyn...@intel.com>

Added I40E_DEV_ID_XXV710_N3000 (Device ID 0x0D58) as a 25G device to the
i40e_is_25G_device macro.

Signed-off-by: Przemyslaw Gierszynski <przemyslaw.gierszyn...@intel.com>
Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com>
---
 drivers/net/i40e/base/i40e_devids.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/i40e/base/i40e_devids.h 
b/drivers/net/i40e/base/i40e_devids.h
index 0a323566d1..d257f328ce 100644
--- a/drivers/net/i40e/base/i40e_devids.h
+++ b/drivers/net/i40e/base/i40e_devids.h
@@ -46,6 +46,7 @@
                                         (d) == I40E_DEV_ID_QSFP_C)
 
 #define i40e_is_25G_device(d)          ((d) == I40E_DEV_ID_25G_B  || \
-                                        (d) == I40E_DEV_ID_25G_SFP28)
+                                        (d) == I40E_DEV_ID_25G_SFP28  || \
+                                        (d) == I40E_DEV_ID_XXV710_N3000)
 
 #endif /* _I40E_DEVIDS_H_ */
-- 
2.43.5

Reply via email to