]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
i40e: print neato new features
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 28 Aug 2015 21:55:59 +0000 (17:55 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 8 Oct 2015 23:34:01 +0000 (16:34 -0700)
To help users and developers know what compile options
and hardware features are enabled at compile time, print
VxLAN is available.

Change-ID: I3162f3b7678dc725a597f964217920eb218b480b
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c

index c46d8140e8faa1af55b915f05c9c59489ff46e7f..a484f2265524ec8755b4e5fd913ff597829f0bfb 100644 (file)
@@ -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