Darren Reed wrote:
> Garrett D'Amore wrote:
>
>> Hmm.... I seem to recall when I was looking at path optimizations in
>> Sitara, that a bit more clean up could be done in some hot paths if
>> the mblk carried the group indication in a bit rather than always
>> carrying the link layer header around.
>>
>> Have you given any thought to maybe *gasp* adding a bit or two to the
>> mblk with the IP header. If that were done, there are other
>> optimizations that would help the hot code path as well.
>
>
> Can you be more specific about where it is you're
> thinking that these flags could be stored and what
> their definition would mean for messages going
> up from IP (as IP would set them) as well as down
> from IP?
Actually, I'd like to see them going up _to_ up. I.e. set the bit in
the Nemo layer or device drivers.
They could live on the in the msgb->b_flag member. It *looks* like
only about 7 bits of this 16-bit field are used, but I'm not looking
very hard at it right now. (I suspect I may be missing something that
isn't in the sys/stream.h header.)
-- Garrett
>
> Darren
>