2006-09-13 13:24:59 -04:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-09-13 13:24:59 -04:00
|
|
|
|
|
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-09-13 13:24:59 -04:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
2006-09-13 13:24:59 -04:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-06 10:43:46 +00:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
2006-09-13 13:24:59 -04:00
|
|
|
|
2007-09-17 11:56:21 -07:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-20 11:42:30 +00:00
|
|
|
|
|
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
2011-06-20 11:42:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
2011-06-20 11:42:30 +00:00
|
|
|
|
|
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
2006-02-23 16:23:51 -08:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
2009-08-31 19:50:51 +00:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-09-13 13:24:59 -04:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-07-31 16:58:50 -07:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
2008-07-31 16:58:50 -07:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
2008-07-31 16:58:50 -07:00
|
|
|
|
2010-12-04 15:01:52 +00:00
|
|
|
|
2008-07-31 16:58:50 -07:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-15 23:52:55 +00:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-20 11:42:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-29 11:46:52 -07:00
|
|
|
|
2009-11-01 19:45:16 +00:00
|
|
|
|
2009-11-20 15:35:04 -08:00
|
|
|
|
2007-03-29 11:46:52 -07:00
|
|
|
|
2009-11-01 19:45:16 +00:00
|
|
|
|
2007-03-29 11:46:52 -07:00
|
|
|
|
2011-06-20 11:42:30 +00:00
|
|
|
|
2010-12-04 14:09:08 +00:00
|
|
|
|
|
|
|
|
|
2007-03-29 11:46:52 -07:00
|
|
|
|
|
|
|
|
|
2009-11-01 19:45:16 +00:00
|
|
|
|
2009-11-20 15:35:04 -08:00
|
|
|
|
2007-03-29 11:46:52 -07:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-29 11:46:52 -07:00
|
|
|
|
2010-12-14 22:39:58 +00:00
|
|
|
|
2007-03-29 11:46:52 -07:00
|
|
|
|
|
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
2008-07-31 16:58:50 -07:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-07-31 16:58:50 -07:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
2008-07-31 16:58:50 -07:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-20 11:42:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-19 21:47:07 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-20 11:42:30 +00:00
|
|
|
|
2008-11-20 20:14:53 -08:00
|
|
|
|
|
|
|
|
|
2008-11-19 21:47:07 -08:00
|
|
|
|
|
|
|
|
|
2011-11-15 15:29:55 +00:00
|
|
|
|
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 10:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-06-13 12:05:06 -07:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
2007-06-13 12:05:06 -07:00
|
|
|
|
2008-11-19 21:47:07 -08:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-19 21:47:07 -08:00
|
|
|
|
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 10:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
2011-07-26 06:05:38 +00:00
|
|
|
|
2012-02-15 06:45:39 +00:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
2009-08-31 19:50:51 +00:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-20 11:42:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
2009-11-20 15:35:04 -08:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
2011-06-20 11:42:30 +00:00
|
|
|
|
2009-08-31 19:50:51 +00:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-04 15:01:52 +00:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-08-31 19:50:51 +00:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-04 15:01:52 +00:00
|
|
|
|
|
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-04 15:01:52 +00:00
|
|
|
|
|
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-07-11 19:42:31 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-06-13 12:05:06 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-07-11 19:42:31 -07:00
|
|
|
|
2007-06-13 12:05:06 -07:00
|
|
|
|
|
|
|
|
|
2007-07-11 19:42:13 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-06-13 12:05:06 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-03-20 17:05:13 -07:00
|
|
|
|
2007-06-13 12:05:06 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-09-13 13:24:59 -04:00
|
|
|
|
2007-06-13 12:05:06 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-06-13 12:04:51 -07:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
2006-09-13 13:24:59 -04:00
|
|
|
|
2007-07-11 19:42:13 -07:00
|
|
|
|
2007-06-13 12:05:06 -07:00
|
|
|
|
|
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
2006-09-13 13:24:59 -04:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-07-11 19:42:13 -07:00
|
|
|
|
2006-01-08 22:34:25 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-06-13 12:05:06 -07:00
|
|
|
|