sfc: Allocate each channel separately, along with its RX and TX queues
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 10 Sep 2010 06:41:57 +0000 (06:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Sep 2010 19:27:33 +0000 (12:27 -0700)
commit8313aca38b3937947fffebca6e34bac8e24300c8
tree725830070d3509459e90b106b668047c25ed880a
parentf7d12cdcbb28207b3bdcf4affbf3935e4c015d03
sfc: Allocate each channel separately, along with its RX and TX queues

This will allow for reallocation of channel structures and rings.

Change module parameter separate_tx_channels to be read-only, since we
now require its value to be constant.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/efx.c
drivers/net/sfc/falcon.c
drivers/net/sfc/net_driver.h