[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070515.131840.52167955.davem@davemloft.net>
Date: Tue, 15 May 2007 13:18:40 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: rdreier@...co.com
Cc: ak@...e.de, krkumar2@...ibm.com, netdev@...r.kernel.org
Subject: Re: [RFC] New driver API to speed up small packets xmits
From: Roland Dreier <rdreier@...co.com>
Date: Tue, 15 May 2007 09:25:28 -0700
> I'll have to think about implementing that for IPoIB. One issue I see
> is if I have, say, 4 free entries in my send queue and skb_gso_segment()
> gives me back 5 packets to send. It's not clear I can recover at that
> point -- I guess I have to check against gso_segs in the xmit routine
> before actually doing the segmentation.
I'd suggest adding a fudge factor to your free TX space, which
is advisable anyways so that when TX is woken up, more of
the transfer from queue to device can happen in a batch-like
fashion.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists