Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1406099
| From | "Michael S. Tsirkin" <mst@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 2/2] skb_array: ring test |
| Date | 2016-05-24 14:00 +0200 |
| Message-ID | <rCjaa-2O9-13@gated-at.bofh.it> (permalink) |
| References | <rBVAR-4HP-9@gated-at.bofh.it> <rBVAR-4HP-15@gated-at.bofh.it> <rBXMm-6ir-31@gated-at.bofh.it> <rC57c-2h8-21@gated-at.bofh.it> <rChL5-21U-45@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, May 24, 2016 at 12:28:09PM +0200, Jesper Dangaard Brouer wrote:
> On Mon, 23 May 2016 23:52:47 +0300
> "Michael S. Tsirkin" <mst@redhat.com> wrote:
>
> > On Mon, May 23, 2016 at 03:09:18PM +0200, Jesper Dangaard Brouer wrote:
> > > On Mon, 23 May 2016 13:43:46 +0300
> > > "Michael S. Tsirkin" <mst@redhat.com> wrote:
> > >
> > > > Add ringtest based unit test for skb array.
> > > >
> > > > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> > > > ---
> > > > tools/virtio/ringtest/skb_array.c | 167 ++++++++++++++++++++++++++++++++++++++
> > > > tools/virtio/ringtest/Makefile | 4 +-
> > >
> > > Patch didn't apply cleanly to Makefile, as you also seems to have
> > > "virtio_ring_inorder", I manually applied it.
> > >
> > > I chdir to tools/virtio/ringtest/ and I could compile "skb_array",
> > > BUT how do I use it??? (the README is not helpful)
> > >
> > > What is the "output", are there any performance measurement results?
> >
> > First, if it completes successfully this means it completed
> > a ton of cycles without errors. It caches any missing barriers
> > which aren't nops on your system.
>
> I applied these patches on net-next (at commit 07b75260e) and the
> skb_array test program never terminates. Strangely if I use your git
> tree[1] (on branch vhost) the program does terminate... I didn't spot
> the difference.
Oh, that's my bad. You need
ringtest: pass buf != NULL
just a stub pointer for now.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
from my tree.
--
MST
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v5 2/2] skb_array: ring test "Michael S. Tsirkin" <mst@redhat.com> - 2016-05-23 12:50 +0200
Re: [PATCH v5 2/2] skb_array: ring test Jesper Dangaard Brouer <brouer@redhat.com> - 2016-05-23 15:10 +0200
Re: [PATCH v5 2/2] skb_array: ring test "Michael S. Tsirkin" <mst@redhat.com> - 2016-05-23 23:00 +0200
Re: [PATCH v5 2/2] skb_array: ring test Jesper Dangaard Brouer <brouer@redhat.com> - 2016-05-24 12:30 +0200
Re: [PATCH v5 2/2] skb_array: ring test "Michael S. Tsirkin" <mst@redhat.com> - 2016-05-24 12:40 +0200
Re: [PATCH v5 2/2] skb_array: ring test "Michael S. Tsirkin" <mst@redhat.com> - 2016-05-24 14:00 +0200
Re: [PATCH v5 2/2] skb_array: ring test "Michael S. Tsirkin" <mst@redhat.com> - 2016-05-24 14:20 +0200
Re: [PATCH v5 2/2] skb_array: ring test Jesper Dangaard Brouer <brouer@redhat.com> - 2016-05-24 19:10 +0200
Re: [PATCH v5 2/2] skb_array: ring test "Michael S. Tsirkin" <mst@redhat.com> - 2016-05-24 22:40 +0200
csiph-web