summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/cnic_defs.h
diff options
context:
space:
mode:
authorNeerav Parikh <neerav.parikh@intel.com>2014-05-22 06:31:51 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-06-11 08:48:15 -0700
commit4d9b604353e65824e49a01ecf2b3f3bf329e6048 (patch)
treeedf27d7532495753e169ad21af32b722e14d9dae /drivers/net/ethernet/broadcom/cnic_defs.h
parentddf0b3a63e31ddc40712d151ea27ef86c5acb06a (diff)
downloadblackbird-op-linux-4d9b604353e65824e49a01ecf2b3f3bf329e6048.tar.gz
blackbird-op-linux-4d9b604353e65824e49a01ecf2b3f3bf329e6048.zip
i40e: Separate out DCB capability and enabled flags
Currently if the firmware reports DCB capability the driver enables I40E_FLAG_DCB_ENABLED flag. When this flag is enabled the driver inserts a tag when transmitting a packet from the port even if there are no DCB traffic classes configured at the port. This patch adds a new flag I40E_FLAG_DCB_CAPABLE that will be set when the DCB capability is present and the existing flag I40E_FLAG_DCB_ENABLED will be set only if there are more than one traffic classes configured at the port. Change-ID: I24ccbf53ef293db2eba80c8a9772acf729795bd5 Signed-off-by: Neerav Parikh <neerav.parikh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/broadcom/cnic_defs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud