| To: | "Feldman, Scott" <scott.feldman@xxxxxxxxx> |
|---|---|
| Subject: | Re: Limit skb to be less than 64K with TSO |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Wed, 23 Jul 2003 11:50:32 -0700 |
| Cc: | alan@xxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, kuznet@xxxxxxxxxxxxx |
| In-reply-to: | <C6F5CF431189FA4CBAEC9E7DD5441E01022291F4@xxxxxxxxxxxxxxxxxxxxxx> |
| References: | <C6F5CF431189FA4CBAEC9E7DD5441E01022291F4@xxxxxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Wed, 23 Jul 2003 11:44:46 -0700 "Feldman, Scott" <scott.feldman@xxxxxxxxx> wrote: > > I am writing driver + smart NIC's firmware. The smart NIC > > has limited memory. It can do checksum and TSO but with 32K max. > > Do we need a netdev->tso_max so the driver can advertise the maximum TSO > send support by h/w? Maybe, it's easy to implement. Add netdev->tso_max Add sk->sk_tso_max right after sk->sk_route_caps When sk->sk_route_caps is set, fetch netdev->tso_max via route and put into sk->sk_tso_max. Replace "65535" constant in tcp_sync_mss with sk->sk_tso_max. That shoule be it. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Limit skb to be less than 64K with TSO, Feldman, Scott |
|---|---|
| Next by Date: | [bernie@xxxxxxxxxxx: Kernel 2.6 size increase], Christoph Hellwig |
| Previous by Thread: | RE: Limit skb to be less than 64K with TSO, Feldman, Scott |
| Next by Thread: | [PATCH] Fix bridge timer race, Stephen Hemminger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |