be2net: don't create multiple RX/TX rings in multi channel mode
authorSathya Perla <sathya.perla@emulex.com>
Mon, 24 Oct 2011 02:45:03 +0000 (02:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2011 22:40:14 +0000 (18:40 -0400)
commit752961a11e847e604aeaaa798cac438c1e671ba4
tree550a6d3ca83cd2404e70080575cb8e80d59dcdc1
parentdafc0fe3afa565c88e44f1c243a49ce209f78ba7
be2net: don't create multiple RX/TX rings in multi channel mode

When the HW is in multi-channel mode based on the skew/IPL, there are
4 functions per port and so not enough resources to create multiple
RX/TX rings for each function.

Signed-off-by: Suresh Reddy <suresh.reddy@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.h
drivers/net/ethernet/emulex/benet/be_main.c