summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-core.c
diff options
context:
space:
mode:
authorDaniel Pieczko <dpieczko@solarflare.com>2014-04-01 16:10:34 +0400
committerDavid S. Miller <davem@davemloft.net>2014-04-02 00:25:51 +0400
commit52ad762b85ed7947ec9eff6b036eb985352f6874 (patch)
treeeeb702d106b39d7eea57cbd425713f2767ba319b /drivers/i2c/i2c-core.c
parente9d8b2c2968499c1f96563e6522c56958d5a1d0d (diff)
downloadlinux-52ad762b85ed7947ec9eff6b036eb985352f6874.tar.xz
Call efx_set_channels() before efx->type->dimension_resources()
When using the "separate_tx_channels=1" module parameter, the TX queues are initially numbered starting from the first TX-only channel number (after all the RX-only channels). efx_set_channels() renumbers the queues so that they are indexed from zero. On EF10, the TX queues need to be relabelled in this way before calling the dimension_resources NIC type operation, otherwise the TX queue PIO buffers can be linked to the wrong VIs when using "separate_tx_channels=1". Added comments to explain UC/WC mappings for PIO buffers Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/i2c/i2c-core.c')
0 files changed, 0 insertions, 0 deletions