]> Pileus Git - ~andy/linux/commit
i40e: add DCB and DCBNL support
authorNeerav Parikh <Neerav.Parikh@intel.com>
Fri, 17 Jan 2014 23:36:37 +0000 (15:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jan 2014 03:13:04 +0000 (19:13 -0800)
commit4e3b35b044ea511184ad4c5eff32e05011310ec1
tree66ddc2afc89b796fe2814c4727e807c4ee15bb35
parentafb3ff0da4f5603fe9f2ef1654b55700407a7a5d
i40e: add DCB and DCBNL support

This patch adds capability to configure DCB on i40e network
interfaces using Intel XL710 adapter firmware APIs.

By default all VSIs are only enabled for the default traffic
class enabled by firmware for any given PF. The driver would
query the firmware for the traffic classes that are enabled for
the port and reconfigure the LAN VSI to match to the port traffic
class settings. All other VSIs are only enabled for the default
traffic class settings for now.

The driver registers and listens to firmware events that may
require change in the DCB settings. It may reconfigure the VSI
settings based on these events.

This patch exposes IEEE DCBNL interfaces for the i40e driver to
allow any application to query the DCB settings on the adapter.

Signed-off-by: Neerav Parikh <Neerav.Parikh@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-By: Jack Morgan<jack.morgan@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c [new file with mode: 0644]
drivers/net/ethernet/intel/i40e/i40e_debugfs.c
drivers/net/ethernet/intel/i40e/i40e_main.c