[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1293038302.3027.281.camel@edumazet-laptop>
Date: Wed, 22 Dec 2010 18:18:22 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jon Zhou <Jon.Zhou@...u.com>
Cc: "juice@...gman.org" <juice@...gman.org>,
Stephen Hemminger <shemminger@...tta.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: Using ethernet device as efficient small packet generator
> PGDEV=/proc/net/pktgen/eth4
You meant : PGDEV=/proc/net/pktgen/kpktgend_0 ???
> echo "Configuring $PGDEV"
> pgset "$COUNT"
> pgset "$CLONE_SKB"
> pgset "$PKT_SIZE"
> pgset "$DELAY"
> pgset "dst 10.10.11.2"
> pgset "queue_map_min 0"
> pgset "queue_map_max 7"
> pgset "dst_mac 00:04:23:08:91:dc"
>
> ->it is ok
>
>
> Here is the top result, why only kpktgend_0 is running?
> Eric,can you share the pktgen script? Thank you
If you want to control several kpktgend you need to send each one of
them a full pktgen script.
PGDEV=/proc/net/pktgen/kpktgend_0
script0
PGDEV=/proc/net/pktgen/kpktgend_1
script1
PGDEV=/proc/net/pktgen/kpktgend_2
script2
PGDEV=/proc/net/pktgen/kpktgend_3
script3
--
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