diff options
author | John Fastabend <john.r.fastabend@intel.com> | 2010-08-08 17:46:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-09 05:02:44 +0200 |
commit | 4bc091d85f979a1a18ef2d710b819b3c5b397707 (patch) | |
tree | 01a5155e8966d53514648b211aaea13843c655b9 /drivers/net/igbvf/netdev.c | |
parent | netxen: protect tx timeout recovery by rtnl lock (diff) | |
download | linux-4bc091d85f979a1a18ef2d710b819b3c5b397707.tar.xz linux-4bc091d85f979a1a18ef2d710b819b3c5b397707.zip |
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>
Diffstat (limited to 'drivers/net/igbvf/netdev.c')
0 files changed, 0 insertions, 0 deletions