Thread (10 messages) 10 messages, 3 authors, 2016-02-23

Re: [PATCH 0/3] null driver improvements for testability

From: Bruce Richardson <hidden>
Date: 2016-02-17 17:23:40

On Fri, Jan 29, 2016 at 04:47:58PM +0000, Paul Atkins wrote:
Hi Thomas,

On 29/01/16 16:31, Thomas Monjalon wrote:
quoted
Hi Paul,

2016-01-29 16:18, Paul Atkins:
quoted
This patchset adds functionality to the null driver help when testing
a dataplane that uses dpdk.  The idea is that the the dataplane can
have multiple null interfaces attached, and each of theses can be
assigned a mac address. Packets can then be injected into the null
drivers by adding them to a ring, giving the application complete
control of the packets that arrive.  Packets that are sent by a null
driver can be stored on a ring, where the application can pick them up
and verify it is what was expected.  To allow the application to know
when packets have been pulled of the rx ring, counters of the number of
times an rx poll has been made are kept, and these can be retrieved via
the existing APIs.
I have not read your code, just read this description.
It sounds like being a ring PMD. Have you already checked it?
https://urldefense.proofpoint.com/v2/url?u=http-3A__dpdk.org_browse_dpdk_tree_drivers_net_ring_rte-5Feth-5Fring.c&d=CwICAg&c=IL_XqQWOjubgfqINi2jTzg&r=45ezphVDEm8OnEpH-fLWdXvR3RneLhhNZRDLQRgR6LY&m=wJLO24XFe_B0nZve6mkvocCt7fQWo3PULCTWxrC8rZk&s=bIWycJrY-PYgzkQsBeRfkl8JCHFcxRAHhHDrqRSzHYs&e=
I hadn't seen the ring PMD. I will have a look at it and see if I can make
it do what i need.

thanks,
Paul
Hi Paul,

any update on this. Your patches are still showing as pending in patchwork, but
if ring pmd is more what need, we can set these patches aside as unneeded, and
remove them from the patchwork merge backlog.

thanks,
/Bruce
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help