]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: implement DCB support infastructure
authorNeerav Parikh <Neerav.Parikh@intel.com>
Fri, 17 Jan 2014 23:36:36 +0000 (15:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jan 2014 03:13:04 +0000 (19:13 -0800)
commit3b316a49e0903d31f2b4f592ecb8c6ead98062b5
tree8e369d613ce7dc11c637ff8a31e21fe017d58534
parent2173fe93129408ad77deef26f7e7fe18572a55c4
i40e: implement DCB support infastructure

Intel XL710 series of adapters support QoS as per the
IEEE 802.1 DCB (Data Center Bridging) standard.
This is supported in conjuction with:
- Enhanced Transmission Selection (ETS) - IEEE 802.1Qaz
- Priority Flow Control (PFC) - IEEE 802.1Qbb
- DCB eXchange Protocol (DCBX) - IEEE 802.1Qaz

On Intel XL710 adapters DCBX is performed by the adapter
firmware. The firmware runs DCBX in willing mode and configures
the port as per the DCB settings recommended by it's link
partner.

By default in absence of any DCBX; firmware would configure the
port with a single traffic class and all of the port bandwith
will be allocated to that traffic class.

This patch adds functions and calls to support querying and
configuring DCB using firmware APIs.

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_common.c
drivers/net/ethernet/intel/i40e/i40e_dcb.c [new file with mode: 0644]
drivers/net/ethernet/intel/i40e/i40e_dcb.h [new file with mode: 0644]
drivers/net/ethernet/intel/i40e/i40e_prototype.h
drivers/net/ethernet/intel/i40e/i40e_type.h