netdev
[Top] [All Lists]

Re: netif_rx packet dumping

To: Baruch Even <baruch@xxxxxxxxx>
Subject: Re: netif_rx packet dumping
From: Andi Kleen <ak@xxxxxx>
Date: Tue, 08 Mar 2005 18:00:49 +0100
Cc: shemminger@xxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <422DC7CE.2040800@xxxxxxxxx> (Baruch Even's message of "Tue, 08 Mar 2005 15:42:06 +0000")
References: <20050303123811.4d934249@xxxxxxxxxxxxxxxxx> <42278122.6000000@xxxxxxxxx> <20050303133659.0d224e61.davem@xxxxxxxxxxxxx> <42278554.2090902@xxxxxxxxx> <20050303135718.2e1a0170.davem@xxxxxxxxxxxxx> <422DC7CE.2040800@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)
Baruch Even <baruch@xxxxxxxxx> writes:
>
> I can squeeze the tcp_skb_cb to one pointer at the expense of extra
> work to remove a packet from the list (the other pointer is the prev
> pointer).

You could also use a xor list in theory. But I'm not sure it's worth it.
Increasing cb by 4 bytes shouldn't be a very big issue.

-Andi

<Prev in Thread] Current Thread [Next in Thread>