sfc: Correct comment about number of TX queues used on EF10
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 12 Feb 2014 18:59:19 +0000 (18:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Feb 2014 22:53:34 +0000 (17:53 -0500)
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>
drivers/net/ethernet/sfc/ef10.c

index 174a92f5fe5133814055cff36c14c0374901cbaf..3b397987119de13cd67c5c4b419ce1955f108b36 100644 (file)
@@ -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,