Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1263163

Re: NETIF_F_GSO_SOFTWARE vs NETIF_F_GSO

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: NETIF_F_GSO_SOFTWARE vs NETIF_F_GSO
Date 2015-11-05 13:20 +0100
Message-ID <qrrGh-6Az-1@gated-at.bofh.it> (permalink)
References <qr4qm-8db-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Nov 04, 2015 at 12:24:47PM +0100, Jason A. Donenfeld wrote:
> 
> Strangely, the performance does not change at all regardless of
> whether or not NETIF_F_GSO is specified.

The NETIF_F_GSO flag turns on software GSO which should be on
anyway.  So that could be why it seems to make no difference.

> However, the performance becomes incredible when I use
> NETIF_F_GSO_SOFTWARE instead of NETIF_F_GSO. But, when using

NETIF_F_GSO_SOFTWARE is actually a collection of bits that lists
the protocols for which we support software GSO.  The bits themselves
are in fact an indication that the hardware supports GSO directly.
So by turning them on you're electing to receive GSO packets
directly.

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

NETIF_F_GSO_SOFTWARE vs NETIF_F_GSO "Jason A. Donenfeld" <Jason@zx2c4.com> - 2015-11-04 12:30 +0100
  Re: NETIF_F_GSO_SOFTWARE vs NETIF_F_GSO Herbert Xu <herbert@gondor.apana.org.au> - 2015-11-05 13:20 +0100
    Re: NETIF_F_GSO_SOFTWARE vs NETIF_F_GSO "Jason A. Donenfeld" <Jason@zx2c4.com> - 2015-11-05 16:10 +0100
      Re: NETIF_F_GSO_SOFTWARE vs NETIF_F_GSO Eric Dumazet <eric.dumazet@gmail.com> - 2015-11-05 17:00 +0100
        Re: NETIF_F_GSO_SOFTWARE vs NETIF_F_GSO "Jason A. Donenfeld" <Jason@zx2c4.com> - 2015-11-05 17:30 +0100
          Re: NETIF_F_GSO_SOFTWARE vs NETIF_F_GSO "Jason A. Donenfeld" <Jason@zx2c4.com> - 2015-11-06 02:40 +0100
            Re: NETIF_F_GSO_SOFTWARE vs NETIF_F_GSO Herbert Xu <herbert@gondor.apana.org.au> - 2015-11-06 06:00 +0100
              Re: NETIF_F_GSO_SOFTWARE vs NETIF_F_GSO "Jason A. Donenfeld" <Jason@zx2c4.com> - 2015-11-06 12:50 +0100

csiph-web