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-10-24 13:41:39 -07:00
2010-12-06 13:24:46 -08:00
2010-12-26 22:37:05 -08:00
2010-12-16 14:43:15 -08:00
2010-12-16 14:43:14 -08:00
2010-12-21 02:16:10 -08:00
2010-12-25 19:16:03 -08:00
2010-12-31 10:50:55 -08:00
2010-12-17 12:27:22 -08:00
2010-12-08 08:35:29 -08:00
2010-12-22 15:25:40 -08:00
2010-12-21 02:16:10 -08:00
2010-12-06 13:24:47 -08:00
2010-12-21 02:16:10 -08:00
2010-12-16 13:16:04 -08:00
2010-12-21 02:16:10 -08:00
2010-12-16 14:43:15 -08:00
2010-12-24 21:31:49 -08:00
2010-12-20 10:35:25 -08:00
2010-12-17 12:27:22 -08:00
2010-09-06 18:29:17 -07:00
2010-10-24 13:41:39 -07:00
2010-12-12 16:45:14 +01:00
2010-12-24 21:36:51 -08:00
2010-12-24 21:38:47 -08:00
2010-12-21 02:16:10 -08:00
2010-12-16 14:43:15 -08:00
2010-12-24 21:41:06 -08:00
2010-12-24 21:45:42 -08:00
2010-12-02 12:10:56 -08:00
2010-12-16 14:43:15 -08:00
2011-01-03 11:56:18 -08:00
2010-12-08 13:47:38 -08:00
2010-12-21 02:16:10 -08:00
2010-12-17 12:27:22 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 12:17:29 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 10:53:19 -08:00
2010-11-24 13:11:18 -05: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-28 13:56:14 -08:00
2010-12-26 22:37:05 -08:00
2010-12-12 16:45:14 +01:00
2010-12-26 22:37:05 -08:00
2010-11-18 10:47:42 -08: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-10-19 02:32:09 -07:00
2010-12-21 02:16:08 -08:00
2010-11-17 12:21:14 -08:00
2010-12-12 16:45:14 +01:00
2010-11-09 09:17:56 -08:00
2010-09-02 19:06:22 -07:00
2010-10-21 01:26:52 -07:00
2010-08-21 23:09:36 -07:00
2010-12-21 02:16:08 -08:00
2010-11-09 09:17:56 -08:00
2010-10-24 13:41:39 -07:00
2010-12-11 12:01:48 -08:00
2010-09-09 21:36:39 -07:00
2010-11-17 10:37:52 -08:00
2010-12-01 11:11:31 -08:00
2010-12-12 16:45:14 +01:00
2010-08-24 12:24:07 -07:00
2010-10-25 04:54:25 -04:00
2010-10-25 04:54:25 -04: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-09-26 18:34:29 -07:00
2010-12-16 14:43:15 -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-02 19:06:22 -07:00
2010-09-24 07:40:31 -07:00
2010-09-24 07:40:31 -07:00
2010-09-24 07:40:31 -07:00
2010-09-24 07:40:29 -07:00
2010-09-26 18:34:29 -07:00
2010-08-25 15:35:43 -07:00
2010-09-26 18:34:29 -07:00
2010-08-25 15:35:43 -07:00
2010-11-17 10:37:52 -08:00
2010-10-16 11:13:20 -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-12-25 19:37:49 -08:00
2010-09-16 21:54:59 -07:00
2010-09-26 18:34:29 -07:00
2010-11-28 11:16:38 -08:00
2010-08-25 15:35:43 -07:00
2010-11-16 11:39:08 -08:00
2010-10-13 09:56:31 -07:00
2010-11-29 11:44:56 -08:00
2010-09-26 18:34:29 -07:00
2010-11-12 14:05:43 -08:00
2010-12-21 02:16:08 -08:00
2010-09-02 19:06:22 -07:00
2010-12-25 19:37:49 -08:00
2010-09-26 18:34:29 -07:00
2010-12-21 02:16:08 -08:00
2010-08-30 13:50:45 -07:00
2010-10-24 13:41:39 -07:00
2010-12-10 15:55:24 -08:00
2010-09-06 18:21:56 -07:00
2011-01-03 12:43:10 -08:00
2010-08-25 15:35:43 -07:00
2010-11-18 10:45:24 -08:00
2010-12-12 16:45:14 +01:00
2010-12-21 02:16:08 -08:00
2010-10-21 03:52:11 -07:00
2010-12-26 22:37:05 -08: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-17 10:37:52 -08:00
2010-11-09 09:17:56 -08:00
2011-01-03 12:07:39 -08:00
2010-09-01 08:55:23 -06:00
2010-10-05 14:47:55 -07:00
2010-09-26 18:34:29 -07:00
2010-08-25 15:35:43 -07:00
2010-10-25 12:14:11 -07:00
2010-11-22 08:24:29 -08:00
2010-12-16 14:43:14 -08:00
2010-11-24 13:11:18 -05:00
2010-09-26 18:34:29 -07:00
2010-12-12 16:45:14 +01:00
2010-09-26 18:34:29 -07:00
2010-08-25 15:35:43 -07:00
2010-11-17 10:37:52 -08:00
2010-10-18 08:32:08 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-12-16 14:43:15 -08:00
2010-10-18 01:53:35 -07:00
2010-09-02 19:06:22 -07:00
2010-10-24 13:41:39 -07: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-12-08 13:47:38 -08:00
2010-12-12 15:06:16 -08:00
2010-09-21 18:04:47 -07:00
2010-12-12 22:08:17 -08:00
2010-10-24 13:41:39 -07:00
2010-09-26 18:34:29 -07:00
2010-12-12 16:45:14 +01:00
2010-11-17 10:36:51 -08:00
2010-10-21 08:43:05 -07:00
2010-12-21 02:16:08 -08:00
2010-09-26 18:54:33 -07:00
2010-08-25 15:35:43 -07:00
2010-12-12 16:45:14 +01:00
2010-12-11 11:46:36 -08:00
2010-10-27 12:23:20 -07:00
2010-10-24 13:41:39 -07:00
2010-12-06 12:59:04 -08:00
2010-10-26 10:02:13 -07:00
2010-12-12 16:45:14 +01:00
2010-12-12 16:45:14 +01:00
2010-12-12 16:45:14 +01:00
2010-09-26 18:34:29 -07:00
2010-12-31 12:50:18 -08: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-08-27 19:25:59 -07:00
2010-10-07 14:08:54 +01:00
2010-12-21 02:16:08 -08:00
2010-10-27 17:28:58 +01:00
2010-11-05 15:25:48 -07:00
2011-01-03 11:06:35 -08:00
2010-09-02 19:06:22 -07:00
2010-09-01 19:19:54 -07:00
2010-09-26 18:34:29 -07:00
2010-08-25 15:35:43 -07:00
2010-12-26 22:37:05 -08:00
2010-09-26 18:34:29 -07:00
2010-12-16 14:43:15 -08:00
2010-12-16 14:43:15 -08:00
2010-12-10 15:55:24 -08:00
2010-09-26 18:34:29 -07:00
2010-08-19 00:04:34 -07:00
2010-09-26 18:34:29 -07:00
2010-12-17 10:17:12 -08:00
2010-08-19 17:19:05 -07:00
2011-01-01 13:51:21 -08:00
2010-12-06 11:03:48 -08:00
2010-10-24 13:41:39 -07:00
2010-09-26 18:34:29 -07:00
2010-09-26 18:34:29 -07:00
2010-12-16 14:43:14 -08:00
2010-12-20 10:43:02 -08:00
2010-11-12 12:21:18 -08:00
2010-11-28 18:36:57 -08:00
2010-12-16 14:41:35 -08:00
2010-12-08 10:23:36 -08:00
2010-10-21 01:26:52 -07:00
2010-10-16 11:13:23 -07:00
2010-12-16 14:43:14 -08:00
2010-12-21 02:16:08 -08:00
2010-12-15 12:34:28 -08:00
2010-12-06 13:24:47 -08:00
2010-12-25 19:37:49 -08:00
2010-11-09 09:17:56 -08:00