Daniel Pieczko 52ad762b85 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>
2014-04-01 16:25:51 -04:00
..
2013-08-29 23:34:51 +01:00
2014-02-12 17:53:35 -05:00
2013-08-29 23:34:51 +01:00
2013-08-29 23:34:51 +01:00
2013-12-12 22:06:54 +00:00
2013-08-29 23:34:51 +01:00
2013-08-29 23:34:51 +01:00
2014-02-12 17:53:35 -05:00
2013-12-12 22:07:30 +00:00
2013-08-29 23:34:51 +01:00
2013-12-18 15:00:53 -05:00
2013-08-29 23:34:51 +01:00
2013-08-29 23:34:51 +01:00
2013-08-29 23:34:51 +01:00
2013-08-29 23:34:51 +01:00