mirror of https://gitee.com/openkylin/linux.git
sfc: Correct comment about number of TX queues used on EF10
EF10 implements option descriptors to switch TX checksum offload on and off between packets. We could therefore use a single hardware TX queue per kernel TX queue, although we don't yet. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
86fc187fcc
commit
aa3930ee8c
|
@ -172,8 +172,8 @@ static int efx_ef10_probe(struct efx_nic *efx)
|
|||
struct efx_ef10_nic_data *nic_data;
|
||||
int i, rc;
|
||||
|
||||
/* We can have one VI for each 8K region. However we need
|
||||
* multiple TX queues per channel.
|
||||
/* We can have one VI for each 8K region. However, until we
|
||||
* use TX option descriptors we need two TX queues per channel.
|
||||
*/
|
||||
efx->max_channels =
|
||||
min_t(unsigned int,
|
||||
|
|
Loading…
Reference in New Issue