diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2011-02-24 22:30:41 +0300 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2011-03-01 02:57:24 +0300 |
commit | 5fb6b06d4eda2167eab662ad5e30058cecd67b8b (patch) | |
tree | 854a97a5c9db96a95fc23464677b087c93377b22 /drivers/net/sfc/siena.c | |
parent | 119226c563be011c6396c6a2d268d1ca7e467bd3 (diff) | |
download | linux-5fb6b06d4eda2167eab662ad5e30058cecd67b8b.tar.xz |
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>
Diffstat (limited to 'drivers/net/sfc/siena.c')
-rw-r--r-- | drivers/net/sfc/siena.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/sfc/siena.c b/drivers/net/sfc/siena.c index 8bd537e1de7f..e4dd8986b1fe 100644 --- a/drivers/net/sfc/siena.c +++ b/drivers/net/sfc/siena.c @@ -341,11 +341,6 @@ static int siena_init_nic(struct efx_nic *efx) FRF_CZ_RX_RSS_IPV6_TKEY_HI_WIDTH / 8); efx_writeo(efx, &temp, FR_CZ_RX_RSS_IPV6_REG3); - if (efx_nic_rx_xoff_thresh >= 0 || efx_nic_rx_xon_thresh >= 0) - /* No MCDI operation has been defined to set thresholds */ - netif_err(efx, hw, efx->net_dev, - "ignoring RX flow control thresholds\n"); - /* Enable event logging */ rc = efx_mcdi_log_ctrl(efx, true, false, 0); if (rc) |