]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: complete FCoE initialization from setapp() routine
authorJohn Fastabend <john.r.fastabend@intel.com>
Sat, 18 Jun 2011 07:39:52 +0000 (07:39 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 25 Jun 2011 07:15:24 +0000 (00:15 -0700)
commit3911981ba0d21698a4e85e58599c3ef061602cc0
tree6a175089177426737ef58b3ecc31ed61911b8689
parentb22df31a6933c095b80b5f7a2e9f318d7fd8ad9d
ixgbe: complete FCoE initialization from setapp() routine

Commit,

commit 3fdffe1d1084aa89f343b8c5223217c5346afa42
Author: John Fastabend <john.r.fastabend@intel.com>
Date:   Sat Mar 12 03:50:53 2011 +0000

    ixgbe: DCB, further cleanups to app configuration

Removed the getapp() routines from ixgbe because they are no
longer needed. It also allowed the set hardware routines to
use both IEEE 802.1Qaz app types and CEE app types. This
added code to do bit shifting in the IEEE case.

This patch reverts the checks and handles the IEEE case
from the setapp entry point. I prefer this because it
keeps the two paths from having to be aware of the DCB
mode. This resolves a bug where I missed setting the
selector bit in the IEEE spec value and left it in the
CEE value. Now that they are separate routines these types
of errors should not occur.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_dcb_nl.c