svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

Adrian Chadd adrian.chadd at gmail.com
Tue Jan 19 20:05:25 UTC 2016


Erm, ok. So I'm confused about the state of how the streams are
tracked. So not all mbufs are in a stream, but they're in some single
LRO mbuf list?


-adrian

On 19 January 2016 at 11:38, Hans Petter Selasky <hps at selasky.org> wrote:
> On 01/19/16 20:26, Adrian Chadd wrote:
>>
>> Well, why are you using qsort to do it, rather than walking the list
>> of streams and inputting all the mbufs per stream?
>>
>> That's an O(1) operation.
>>
>
> Because you don't know when the stream ends and then you'll need to pass the
> list one time for every stream which is O(N*N) :-)
>
> --HPS
>


More information about the svn-src-all mailing list