]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Remove configurable FIFO thresholds for pause frame generation
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 24 Feb 2011 19:30:41 +0000 (19:30 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Mon, 28 Feb 2011 23:57:24 +0000 (23:57 +0000)
commitc0c7cf13d8b679c828b9ab3c82d2f6770740ff50
tree854a97a5c9db96a95fc23464677b087c93377b22
parentfd39eaa11d02a7e34aeded32724adb25e61ab346
sfc: Remove configurable FIFO thresholds for pause frame generation

In Falcon we can configure the fill levels of the RX data FIFO which
trigger the generation of pause frames (if enabled), and we have
module parameters for this.

Siena does not allow the levels to be configured (or, if it does, this
is done by the MC firmware and is not configurable by drivers).

So far as I can tell, the module parameters are not used by our
internal scripts and have not been documented (with the exception of
the short parameter descriptions).  Therefore, remove them and always
initialise Falcon with the default values.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/sfc/falcon.c
drivers/net/sfc/nic.c
drivers/net/sfc/nic.h
drivers/net/sfc/siena.c