[Intel-wired-lan] [next PATCH S13 13/15] i40e: print neato new features

Catherine Sullivan catherine.sullivan at intel.com
Fri Aug 28 21:55:59 UTC 2015


From: Jesse Brandeburg <jesse.brandeburg at intel.com>

To help users and developers know what compile options
and hardware features are enabled at compile time, print
VxLAN is available.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
Change-ID: I3162f3b7678dc725a597f964217920eb218b480b
---
 drivers/net/ethernet/intel/i40e/i40e_main.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index 2771259..469e1d5 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -9914,6 +9914,9 @@ static void i40e_print_features(struct i40e_pf *pf)
 	}
 	if (pf->flags & I40E_FLAG_DCB_CAPABLE)
 		buf += sprintf(buf, "DCB ");
+#if IS_ENABLED(CONFIG_VXLAN)
+	buf += sprintf(buf, "VxLAN ");
+#endif
 	if (pf->flags & I40E_FLAG_PTP)
 		buf += sprintf(buf, "PTP ");
 #ifdef I40E_FCOE
-- 
1.9.3



More information about the Intel-wired-lan mailing list