be2net: adding support for Lancer family of CNAs
authorSathya Perla <sathya.perla@emulex.com>
Sun, 21 Nov 2010 23:25:50 +0000 (23:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Nov 2010 01:43:20 +0000 (17:43 -0800)
commitfe6d2a38b2076cba515dc95b5dc1589a7ab51c17
treeb1d6268d43a051e31579984f98d65aa8ad341e8d
parent1d24eb4815d1e0e8b451ecc546645f8ef1176d4f
be2net: adding support for Lancer family of CNAs

Key changes are:
- EQ ids are not assigned consecutively in Lancer. So, fix mapping of MSIx
  vector to EQ-id.
- BAR mapping and some req locations different for Lancer.
- TCP,UDP,IP checksum fields must be compulsorily set in TX wrb for TSO in
  Lancer.
- CEV_IST reg not present in Lancer; so, peek into event queue to check for
  new entries
- cq_create and mcc_create cmd interface is different for Lancer; handle
  accordingly

Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be.h
drivers/net/benet/be_cmds.c
drivers/net/benet/be_cmds.h
drivers/net/benet/be_hw.h
drivers/net/benet/be_main.c