]> git.baikalelectronics.ru Git - kernel.git/commit
net: group FCoE related feature flags
authorYi Zou <yi.zou@intel.com>
Mon, 9 May 2011 11:53:27 +0000 (11:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 May 2011 21:54:16 +0000 (17:54 -0400)
commitebc3cfd435bc9372ca23d6dff89b1f0c13ad8ab1
tree79b2412e7ccfcdb4ad09d5001efae28c77b28de3
parent637eec7ae35f6e4ab29cb39af426e14cabfa7172
net: group FCoE related feature flags

Michał Mirosław's patch (http://patchwork.ozlabs.org/patch/94421/) fixes the
issue (http://patchwork.ozlabs.org/patch/94188/) about not populating FCoE related
flags correctly on vlan devices. However, only NETIF_F_FCOE_CRC is part of the
NETIF_F_ALL_TX_OFFLOADS right now, where weed NETIF_F_FCOE_MTU and NETIF_F_FSO
as well.

Therefore, add NETIF_F_ALL_FCOE to indicate feature flags used by FCoE TX offloads.
These include NETIF_F_FCOE_CRC, NETIF_F_FCOE_MTU, and NETIF_F_FSO and add them to
be part of NETIF_F_ALL_TX_OFFLOADS. This would eventually make sure all FCoE needed
flags are populated properly to vlan devices.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h