summaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan_dev.c
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2009-08-31 14:31:36 +0200
committerDavid S. Miller <davem@davemloft.net>2009-09-01 10:24:20 +0200
commitcb45439977d3602b91dd0aca2d94fa3b32aebba6 (patch)
treeeec57859eb017f0a4288cbc88b47e9b9167468c5 /net/8021q/vlan_dev.c
parentnetdev: convert bulk of drivers to netdev_tx_t (diff)
downloadlinux-cb45439977d3602b91dd0aca2d94fa3b32aebba6.tar.xz
linux-cb45439977d3602b91dd0aca2d94fa3b32aebba6.zip
net: Add ndo_fcoe_enable/ndo_fcoe_disable to net_device_ops
Add ndo_fcoe_enable/_disable to net_device_ops so the corresponding HW can initialize itself for FCoE traffic or clean up after FCoE traffic is done. This is expected to be called by the kernel FCoE stack upon receiving a request for creating an FCoE instance on the corresponding netdev interface. When implemented by the actual HW, the HW driver check the op code to perform corresponding initialization or clean up for FCoE. The initialization normally includes allocating extra queues for FCoE, setting corresponding HW registers for FCoE, indicating FCoE offload features via netdev, etc. The clean-up would include releasing the resources allocated for FCoE. Signed-off-by: Yi Zou <yi.zou@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan_dev.c')
0 files changed, 0 insertions, 0 deletions