i40e: Use ethtool private flags to display NPAR status
authorGreg Rose <gregory.v.rose@intel.com>
Fri, 6 Feb 2015 08:52:19 +0000 (08:52 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 25 Feb 2015 07:09:32 +0000 (23:09 -0800)
commit7e45ab44087c026398ff4d63c462f724b2c78deb
treec28057c49171b5a0466e6d897bfe11d03fb8784a
parent3b38cd17f8a022fdcc99342301bce52bf79a87a4
i40e: Use ethtool private flags to display NPAR status

Allow an application to query the i40e driver's private flags to get the
status of NPAR enablement.  This will be used by applications to determine
if there are NPAR specific features available.

Change-ID: Ia6d9477a48f9c4cb41ca022bd433f77da3f2146c
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c