Files
linux/drivers/net
Eric Dumazet 39980292fd ifb: add performance flags
Le lundi 03 janvier 2011 à 11:40 -0800, David Miller a écrit :
> From: Jarek Poplawski <jarkao2@gmail.com>
> Date: Mon, 3 Jan 2011 20:37:03 +0100
>
> > On Sun, Jan 02, 2011 at 09:24:36PM +0100, Eric Dumazet wrote:
> >> Le mercredi 29 décembre 2010 ?? 00:07 +0100, Jarek Poplawski a écrit :
> >>
> >> > Ingress is before vlans handler so these features and the
> >> > NETIF_F_HW_VLAN_TX flag seem useful for ifb considering
> >> > dev_hard_start_xmit() checks.
> >>
> >> OK, here is v2 of the patch then, thanks everybody.
> >>
> >>
> >> [PATCH v2 net-next-2.6] ifb: add performance flags
> >>
> >> IFB can use the full set of features flags (NETIF_F_SG |
> >> NETIF_F_FRAGLIST | NETIF_F_TSO | NETIF_F_NO_CSUM | NETIF_F_HIGHDMA) to
> >> avoid unnecessary split of some packets (GRO for example)
> >>
> >> Changli suggested to also set vlan_features,
> >
> > He also suggested more GSO flags of which especially NETIF_F_TSO6
> > seems interesting (wrt GRO)?
>
> I think at least TSO6 would very much be appropriate here.

Yes, why not, I am only wondering why loopback / dummy (and others ?)
only set NETIF_F_TSO :)

Since I want to play with ECN, I might also add NETIF_F_TSO_ECN ;)

For other flags, I really doubt it can matter on ifb ?

[PATCH v3 net-next-2.6] ifb: add performance flags

IFB can use the full set of features flags (NETIF_F_SG |
NETIF_F_FRAGLIST | NETIF_F_TSO | NETIF_F_NO_CSUM | NETIF_F_HIGHDMA) to
avoid unnecessary split of some packets (GRO for example)

Changli suggested to also set vlan_features, NETIF_F_TSO6,
NETIF_F_TSO_ECN.

Jarek suggested to add NETIF_F_HW_VLAN_TX as well.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Changli Gao <xiaosuo@gmail.com>
Cc: Jarek Poplawski <jarkao2@gmail.com>
Cc: Pawel Staszewski <pstaszewski@itcare.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-01-03 12:43:10 -08:00
..
2010-12-16 14:43:14 -08:00
2010-12-21 02:16:10 -08:00
2010-12-31 10:50:55 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-20 10:35:25 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-31 11:11:38 -08:00
2010-12-21 02:16:10 -08:00
2010-12-12 16:45:14 +01:00
2010-12-21 02:16:08 -08:00
…
2010-12-21 02:16:08 -08:00
…
…
…
2010-12-21 02:16:08 -08:00
…
2010-11-09 09:17:56 -08:00
…
2010-12-21 02:16:08 -08:00
…
…
…
2010-11-17 12:21:14 -08:00
…
…
…
2010-11-09 09:17:56 -08:00
…
…
…
…
…
…
…
2010-12-21 02:16:08 -08:00
2010-11-09 09:17:56 -08:00
…
2010-12-01 11:11:31 -08:00
…
2010-08-24 12:24:07 -07:00
2010-09-26 18:34:29 -07:00
…
…
2010-12-31 11:04:02 -08:00
2010-11-28 10:47:19 -08:00
…
2010-12-23 11:44:34 -08:00
2010-12-23 11:44:34 -08:00
2010-12-23 11:44:34 -08:00
2010-12-23 11:44:34 -08:00
…
…
…
…
2010-09-26 18:34:29 -07:00
…
2010-09-26 18:34:29 -07:00
…
…
…
…
…
…
2010-09-29 13:23:30 -07:00
2010-09-26 18:34:29 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
…
2010-09-26 18:34:29 -07:00
2010-11-28 11:16:38 -08:00
…
…
2010-11-16 11:39:08 -08:00
…
2010-12-21 02:16:08 -08:00
…
…
2010-09-26 18:34:29 -07:00
…
…
2010-12-21 02:16:08 -08:00
…
…
…
2011-01-03 12:43:10 -08:00
2010-11-18 10:45:24 -08:00
…
2010-12-21 02:16:08 -08:00
2010-10-21 03:52:11 -07:00
…
…
2010-11-08 13:50:06 -08:00
…
2010-12-21 02:16:08 -08:00
2010-11-09 09:17:56 -08:00
2010-11-09 09:17:56 -08:00
…
2010-09-26 18:34:29 -07:00
…
…
…
…
…
2010-12-16 14:43:14 -08:00
…
2010-09-26 18:34:29 -07:00
…
…
…
…
…
…
…
2010-12-21 02:16:08 -08:00
…
2010-12-21 02:16:08 -08:00
…
…
…
…
2010-09-26 18:34:29 -07:00
2010-09-15 22:06:05 -07:00
2010-10-12 17:36:09 +02:00
2010-09-21 18:04:47 -07:00
2010-12-12 22:08:17 -08:00
…
2010-12-21 02:16:08 -08:00
…
2010-12-11 11:46:36 -08:00
…
…
2010-09-26 18:34:29 -07:00
…
…
2011-01-01 14:02:24 -08:00
2011-01-01 14:02:24 -08:00
2010-10-24 16:25:39 -07:00
2010-09-26 18:34:29 -07:00
…
…
…
…
…
…
2010-12-21 02:16:08 -08:00
…
…
…
…
…
…
2010-09-26 18:34:29 -07:00
…
…
2010-09-26 18:34:29 -07:00
2011-01-01 13:51:21 -08:00
2010-12-06 11:03:48 -08:00
2010-09-26 18:34:29 -07:00
2010-12-16 14:43:14 -08:00
…
2010-11-12 12:21:18 -08:00
2010-12-16 14:41:35 -08:00
2010-12-08 10:23:36 -08:00
2010-12-21 02:16:08 -08:00
…
2010-11-09 09:17:56 -08:00