David S. Miller wrote:
From: Ben Greear <[EMAIL PROTECTED]>
Date: Wed, 18 Jan 2006 11:12:54 -0800
Well, to answer myself: I found the problem. Pktgen's multi-skb
trick only works if the device makes no change to the skb. But, the
cxgb driver pushes a header on the front of the skb...
So, y
From: Ben Greear <[EMAIL PROTECTED]>
Date: Tue, 17 Jan 2006 17:01:46 -0800
> int rsrv = (odev->hard_header_len + 16) & ~0xF;
>
>
> skb = alloc_skb(info->cur_pkt_size + 64 + rsrv, GFP_ATOMIC);
>
>
> /* Make some extra space, align on 16-byte boundary
>* (helps
From: Ben Greear <[EMAIL PROTECTED]>
Date: Wed, 18 Jan 2006 11:12:54 -0800
> Well, to answer myself: I found the problem. Pktgen's multi-skb
> trick only works if the device makes no change to the skb. But, the
> cxgb driver pushes a header on the front of the skb...
>
> So, you just can't use
Ben Greear wrote:
Hello!
I got my chelsio NICs in a machine running 2.6.15 + my hacks
today and started playing with it...
I noticed one immediate problem with pktgen, and fixed my pktgen to
respect the hard-header-len that the chelsio driver reports. My
pktgen doesn't track mainline very well