linux/drivers/net/ethernet/sfc
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
..
bitfield.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
ef10_regs.h sfc: Remove unused definitions of EF10 user-mode DMA descriptors 2014-02-12 17:53:34 -05:00
ef10.c Call efx_set_channels() before efx->type->dimension_resources() 2014-04-01 16:25:51 -04:00
efx.c Call efx_set_channels() before efx->type->dimension_resources() 2014-04-01 16:25:51 -04:00
efx.h sfc: Update product naming 2014-02-12 17:53:35 -05:00
enum.h sfc: Add MC BISTs to ethtool offline self test on EF10 2013-12-12 22:05:48 +00:00
ethtool.c sfc: Use ether_addr_copy and eth_broadcast_addr 2014-03-10 13:53:37 -04:00
falcon_boards.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
falcon.c sfc: Use ether_addr_copy and eth_broadcast_addr 2014-03-10 13:53:37 -04:00
farch_regs.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
farch.c sfc: Don't receive packets when the napi budget == 0 2014-03-14 22:52:48 -04:00
filter.h sfc: Use ether_addr_copy and eth_broadcast_addr 2014-03-10 13:53:37 -04:00
io.h sfc: Allocate and link PIO buffers; map them with write-combining 2013-09-20 19:31:49 +01:00
Kconfig sfc: Minimal support for 40G link speed 2013-09-05 22:32:57 +01:00
Makefile sfc: Add support for Solarflare SFC9100 family 2013-08-29 19:19:29 +01:00
mcdi_mon.c sfc: Add new sensor names 2013-12-12 22:06:54 +00:00
mcdi_pcol.h sfc: Update MCDI protocol definitions 2013-12-06 22:29:20 +00:00
mcdi_port.c sfc: Use ether_addr_copy and eth_broadcast_addr 2014-03-10 13:53:37 -04:00
mcdi.c sfc: Use ether_addr_copy and eth_broadcast_addr 2014-03-10 13:53:37 -04:00
mcdi.h sfc: Store flags from MC_CMD_DRV_ATTACH for later use 2013-12-12 22:07:03 +00:00
mdio_10g.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
mdio_10g.h sfc: Remove extern from function prototypes 2013-09-24 12:52:53 -07:00
mtd.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
net_driver.h sfc: Add/remove blank lines to taste 2014-02-12 17:53:35 -05:00
nic.c sfc: Add/remove blank lines to taste 2014-02-12 17:53:35 -05:00
nic.h sfc: Add PTP counters to ethtool stats 2013-12-12 22:07:30 +00:00
phy.h sfc: Remove extern from function prototypes 2013-09-24 12:52:53 -07:00
ptp.c ptp: drivers: set the number of programmable pins. 2014-03-21 14:21:14 -04:00
qt202x_phy.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
rx.c net: sfc calls skb_set_hash 2013-12-18 15:00:53 -05:00
selftest.c sfc: Use ether_addr_copy and eth_broadcast_addr 2014-03-10 13:53:37 -04:00
selftest.h sfc: Add MC BISTs to ethtool offline self test on EF10 2013-12-12 22:05:48 +00:00
siena_sriov.c sfc: Use ether_addr_copy and eth_broadcast_addr 2014-03-10 13:53:37 -04:00
siena.c sfc: Change efx_nic_type::rx_push_indir_table to push hash key as well 2013-12-12 22:07:21 +00:00
tenxpress.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
tx.c sfc: Rename 'use_options' variable in tso_start() to clearer 'use_opt_desc' 2014-02-12 17:53:35 -05:00
txc43128_phy.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
vfdi.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
workarounds.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00