From: Daniel Pieczko Date: Tue, 1 Apr 2014 12:10:34 +0000 (+0100) Subject: Call efx_set_channels() before efx->type->dimension_resources() X-Git-Tag: v3.15-rc1~113^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52ad762b85ed7947ec9eff6b036eb985352f6874;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed