aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/siena.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2011-02-24 19:30:41 +0000
committerBen Hutchings <bhutchings@solarflare.com>2011-02-28 23:57:24 +0000
commit5fb6b06d4eda2167eab662ad5e30058cecd67b8b (patch)
tree854a97a5c9db96a95fc23464677b087c93377b22 /drivers/net/sfc/siena.c
parent119226c563be011c6396c6a2d268d1ca7e467bd3 (diff)
downloadkernel_samsung_smdk4412-5fb6b06d4eda2167eab662ad5e30058cecd67b8b.zip
kernel_samsung_smdk4412-5fb6b06d4eda2167eab662ad5e30058cecd67b8b.tar.gz
kernel_samsung_smdk4412-5fb6b06d4eda2167eab662ad5e30058cecd67b8b.tar.bz2
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.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/sfc/siena.c b/drivers/net/sfc/siena.c
index 8bd537e..e4dd898 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)