vlan: adds fcoe offload related net_device_ops and updates fcoe_ddp_xid field
authorVasu Dev <vasu.dev@intel.com>
Fri, 14 Aug 2009 12:41:07 +0000 (12:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Aug 2009 23:12:06 +0000 (16:12 -0700)
commitb85daa5324a3c9e560a4351c17d18f49c647eb5c
tree0616b7adcb0b785560b4826a211517aeb84f03d3
parentcf9911166113e471e1796eaf273982d8e43b138d
vlan: adds fcoe offload related net_device_ops and updates fcoe_ddp_xid field

Adds fcoe offload related net_device_ops functions vlan_dev_fcoe_ddp_setup
and vlan_dev_fcoe_ddp_done, their implementation simply calls real eth device
net_device_ops for FCoE DDP setup and done operations.

Updates VLAN netdev field value for fcoe_ddp_xid from real eth device netdev.

Above changes are required for fcoe DDP offload working on a VLAN interface.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.c
net/8021q/vlan_dev.c