fm10k: Add support for IEEE DCBx
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 20 Sep 2014 23:53:08 +0000 (19:53 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 23 Sep 2014 10:59:21 +0000 (03:59 -0700)
commit9f801abc3d4fe1e770268ae4e610556e79be6fca
treec17b84e3a206c7fc6716983230e78ebc08463f87
parent883a9ccbae560a5b8be2a403d4a0744cd60b784c
fm10k: Add support for IEEE DCBx

This patch adds support for management of the limited QOS features of the
FM10000 interface.  Specifically we can support up to 8 traffic classes,
however the part only provides 1 Rx and 1 Tx FIFO in the host interface and
as a result this can lead to head-of-line blocking on Rx.  This can be
avoided by setting PFC only for priorities that cannot afford to drop
frames.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/Makefile
drivers/net/ethernet/intel/fm10k/fm10k.h
drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c [new file with mode: 0644]
drivers/net/ethernet/intel/fm10k/fm10k_pci.c