]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix build error with FCOE_CONFIG without DCB_CONFIG
authorJohn Fastabend <john.r.fastabend@intel.com>
Sun, 8 Aug 2010 15:46:15 +0000 (15:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Aug 2010 03:02:44 +0000 (20:02 -0700)
commit64dfb5e2d97f47f09bbe5ae00e77213dafdf9755
tree01a5155e8966d53514648b211aaea13843c655b9
parentdaacaa5be72d238eba42c53869c0a5ce46863f5b
ixgbe: fix build error with FCOE_CONFIG without DCB_CONFIG

Building ixgbe without DCB_CONFIG and FCOE_CONFIG will cause
a build error.  This resolves the build error by wrapping
the fcoe.up in CONFIG_IXGBE_DCB ifdefs.

Also frames were being priority VLAN tagged even without DCB
enabled.  This fixes this so that 8021Q priority tags are
only added with DCB actually enabled.

Reported-by: divya <dipraksh@linux.vnet.ibm.com>
Reported-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c