| To: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [RFC] TCP congestion schedulers |
| From: | Arnaldo Carvalho de Melo <arnaldo.melo@xxxxxxxxx> |
| Date: | Fri, 18 Mar 2005 09:53:25 -0300 |
| Cc: | Stephen Hemminger <shemminger@xxxxxxxx>, baruch@xxxxxxxxx, netdev@xxxxxxxxxxx |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=UI6FIx2f05wk7KYi+5UFzXOWOtL+FORb68L3+KiflQQzVXnyvF4dTVbnvvM2ihHHvJLdZcOdiE9KISyIY7VrzbGwUKt9sPGauVJdHOfSwaQSBnp5sVsK/nW3G+UU4u3phf5lk/mzQTcIunx5JL54jiuzLqk8VbHRtEF2oHGMho0= |
| In-reply-to: | <20050317201231.6d575e0b.davem@xxxxxxxxxxxxx> |
| References: | <421CF5E5.1060606@xxxxxxxxx> <421D30FA.1060900@xxxxxxxxx> <20050225120814.5fa77b13@xxxxxxxxxxxxxxxxx> <20050309210442.3e9786a6.davem@xxxxxxxxxxxxx> <4230288F.1030202@xxxxxxxxx> <20050310182629.1eab09ec.davem@xxxxxxxxxxxxx> <20050311120054.4bbf675a@xxxxxxxxxxxxxxxxx> <20050311201011.360c00da.davem@xxxxxxxxxxxxx> <20050314151726.532af90d@xxxxxxxxxxxxxxxxx> <20050317201231.6d575e0b.davem@xxxxxxxxxxxxx> |
| Reply-to: | acme@xxxxxxxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Thu, 17 Mar 2005 20:12:31 -0800, David S. Miller <davem@xxxxxxxxxxxxx> wrote: > On Mon, 14 Mar 2005 15:17:26 -0800 > Stephen Hemminger <shemminger@xxxxxxxx> wrote: > > > +/* Hook for advanced congestion control */ > > + struct tcp_ca_type *ca_proto; > > +#define TCP_CA_PRIV_SIZE 48 > > + u8 *ca_priv[TCP_CA_PRIV_SIZE]; > > An array of 48 pointers to "u8" eh? :-) > > It happens to work, but you're using too much > space (specifically: 48 * sizeof(u8 *)) as a side effect. > > Otherwise, the only comment I have is that we lose the tcp_diag > info. Maybe create a "tcpdiag_put" method in there so we can > retain that. > > I'm also not so religious anymore about retaining the existing > sysctl functionality to enable/disable ca algs. I haven't looked over this patch completely, so I may well be saying something stupid, but if possible, please don't use the tcp/TCP prefix where you think this code can be used by other inet transport protocols, such as DCCP. I'll try to review this patch this weekend to see if this is possible or if I'm on crack now 8) - Arnaldo |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] /proc/net/stat/rt_cache has a wrong header, Eric Dumazet |
|---|---|
| Next by Date: | Re: [RFC] TCP congestion schedulers, jamal |
| Previous by Thread: | Re: [RFC] TCP congestion schedulers, David S. Miller |
| Next by Thread: | Re: [RFC] TCP congestion schedulers, jamal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |