[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140903122350.1c365bee@redhat.com>
Date: Wed, 3 Sep 2014 12:23:50 +0200
From: Jesper Dangaard Brouer <brouer@...hat.com>
To: Rusty Russell <rusty@...tcorp.com.au>
Cc: brouer@...hat.com, "netdev" <netdev@...r.kernel.org>,
Andy Lutomirski <luto@...capital.net>,
"Michael S. Tsirkin" <mst@...hat.com>,
virtualization@...ts.linux-foundation.org
Subject: Re: [PATCH 1/3] virtio_net: pass well-formed sgs to
virtqueue_add_*()
On Wed, 3 Sep 2014 13:59:14 +0930
Rusty Russell <rusty@...tcorp.com.au> wrote:
> pktgen results:
> modprobe pktgen
> echo 'add_device eth0' > /proc/net/pktgen/kpktgend_0
> echo nowait 1 > /proc/net/pktgen/eth0
Maybe your pktgen "nowait" (patch) should be a flag instead?
echo "flag EXIT_NO_WAIT" > /proc/net/pktgen/eth0
> echo count 1000000 > /proc/net/pktgen/eth0
> echo clone_skb 100000 > /proc/net/pktgen/eth0
> echo dst_mac 4e:14:25:a9:30:ac > /proc/net/pktgen/eth0
> echo dst 192.168.1.2 > /proc/net/pktgen/eth0
> for i in `seq 20`; do echo start > /proc/net/pktgen/pgctrl; tail -n1 /proc/net/pktgen/eth0; done
>
--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Sr. Network Kernel Developer at Red Hat
Author of http://www.iptv-analyzer.org
LinkedIn: http://www.linkedin.com/in/brouer
--
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