]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63cc38adafacf5f7e5b30addb3f952eaa7a32e79
tree725830070d3509459e90b106b668047c25ed880a
parent9afe9e4f9e6903fa0bfb897c816aacc6b591079c
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