OpenCloudOS-Kernel/drivers/net/enic
Roopa Prabhu b3abfbd295 enic: Add support for PORT_REQUEST_PREASSOCIATE_RR
Current enic code only supports ASSOCIATE and DISASSOCIATE port profile
operations. This patch adds enic support for port profile
PORT_REQUEST_PREASSOCIATE_RR operation. The VIC adapter (8021qbh) is capable
of handling port profile requests done in two steps namely PREASSOCIATE_RR
and ASSOCIATE today. The motivation to support PREASSOCIATE_RR comes mainly
from its use as an optimization during VM migration ie, to do resource
reservation on destination host before resources on source host are released.

PREASSOCIATE_RR is a VDP operation and according to the latest at IEEE,
8021qbh will also need to support VDP commands.

In addition to handling the new PORT_REQUEST_PREASSOCIATE_RR operation
this patch also does the below:
- Introduces handlers for PORT_REQUEST operations
- Moves most of the port profile handling code to new files enic_pp.[ch]
- Uses new fw devcmds for port profile operations

Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David Wang <dwang2@cisco.com>
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-30 21:39:26 -07:00
..
Makefile enic: Add support for PORT_REQUEST_PREASSOCIATE_RR 2011-03-30 21:39:26 -07:00
cq_desc.h enic: Clean ups 2010-06-25 20:50:30 -07:00
cq_enet_desc.h enic: Clean ups 2010-06-25 20:50:30 -07:00
enic.h enic: Add support for PORT_REQUEST_PREASSOCIATE_RR 2011-03-30 21:39:26 -07:00
enic_dev.c enic: Add wrapper routines for new fw devcmds for port profile handling 2011-03-30 21:39:24 -07:00
enic_dev.h enic: Add wrapper routines for new fw devcmds for port profile handling 2011-03-30 21:39:24 -07:00
enic_main.c enic: Add support for PORT_REQUEST_PREASSOCIATE_RR 2011-03-30 21:39:26 -07:00
enic_pp.c enic: Add support for PORT_REQUEST_PREASSOCIATE_RR 2011-03-30 21:39:26 -07:00
enic_pp.h enic: Add support for PORT_REQUEST_PREASSOCIATE_RR 2011-03-30 21:39:26 -07:00
enic_res.c enic: Add support for multiple hardware receive queues 2010-10-21 01:26:47 -07:00
enic_res.h enic: Add ndo_set_rx_mode support for enic vnics 2010-12-10 15:39:42 -08:00
rq_enet_desc.h enic: Clean ups 2010-06-25 20:50:30 -07:00
vnic_cq.c enic: Clean ups 2010-06-25 20:50:30 -07:00
vnic_cq.h enic: Clean ups 2010-06-25 20:50:30 -07:00
vnic_dev.c enic: Add support for new fw devcmds for port profile handling 2011-03-30 21:39:23 -07:00
vnic_dev.h enic: Add support for new fw devcmds for port profile handling 2011-03-30 21:39:23 -07:00
vnic_devcmd.h enic: Add support for new fw devcmds for port profile handling 2011-03-30 21:39:23 -07:00
vnic_enet.h enic: Mark intr_timer in vnic_enet_config as deprecated 2010-08-17 02:32:59 -07:00
vnic_intr.c enic: Remove dead code 2010-10-01 00:36:52 -07:00
vnic_intr.h enic: Clean ups 2010-06-25 20:50:30 -07:00
vnic_nic.h enic: Clean ups 2010-06-25 20:50:30 -07:00
vnic_resource.h enic: Add support for firmware management device 2010-08-17 02:32:56 -07:00
vnic_rq.c enic: Make local functions static 2010-10-01 00:36:52 -07:00
vnic_rq.h enic: Clean up: Remove support for an older version of hardware 2011-02-07 11:49:04 -08:00
vnic_rss.h enic: Add support for multiple hardware receive queues 2010-10-21 01:26:47 -07:00
vnic_stats.h enic: Clean ups 2010-06-25 20:50:30 -07:00
vnic_vic.c enic: Cleanups in port profile helper code 2011-03-30 21:39:25 -07:00
vnic_vic.h enic: Cleanups in port profile helper code 2011-03-30 21:39:25 -07:00
vnic_wq.c enic: Make local functions static 2010-10-01 00:36:52 -07:00
vnic_wq.h enic: Make local functions static 2010-10-01 00:36:52 -07:00
wq_enet_desc.h enic: Clean ups 2010-06-25 20:50:30 -07:00