[dpdk-dev] [PATCH 0/3] null driver improvements for testability

2016-02-23 Thread Paul Atkins
On 23/02/16 15:21, Bruce Richardson wrote: > On Thu, Feb 18, 2016 at 12:19:58PM +0000, Paul Atkins wrote: >> >> On 17/02/16 17:23, Bruce Richardson wrote: >>> On Fri, Jan 29, 2016 at 04:47:58PM +, Paul Atkins wrote: >>>> Hi Thomas, >>>> >>

[dpdk-dev] [PATCH 0/3] null driver improvements for testability

2016-02-18 Thread Paul Atkins
On 17/02/16 17:23, Bruce Richardson wrote: > On Fri, Jan 29, 2016 at 04:47:58PM +0000, Paul Atkins wrote: >> Hi Thomas, >> >> On 29/01/16 16:31, Thomas Monjalon wrote: >>> Hi Paul, >>> >>> 2016-01-29 16:18, Paul Atkins: >>>> This patc

[dpdk-dev] [PATCH 0/3] null driver improvements for testability

2016-01-29 Thread Paul Atkins
Hi Thomas, On 29/01/16 16:31, Thomas Monjalon wrote: > Hi Paul, > > 2016-01-29 16:18, Paul Atkins: >> 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 in

[dpdk-dev] [PATCH 3/3] null: add xstats to provide the number of rx polls

2016-01-29 Thread Paul Atkins
When using the null driver and passing in packets via the rx ring, it is useful to know that the driver has polled the ring. Add a count of rx polls to the xstats to provide this information. Signed-off-by: Paul Atkins --- drivers/net/null/rte_eth_null.c | 70

[dpdk-dev] [PATCH 2/3] null: add rings to allow user to provide the mbufs for rx/tx

2016-01-29 Thread Paul Atkins
transmitted can be stored, so the user can see what was sent. Signed-off-by: Paul Atkins --- drivers/net/null/rte_eth_null.c | 91 +-- 1 file changed, 88 insertions(+), 3 deletions(-) diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c

[dpdk-dev] [PATCH 1/3] null: add a new arg to allow users to specify ether address

2016-01-29 Thread Paul Atkins
Add a new argument to the null driver to allow the user to specify the ether address to be used instead of the default which is all zeroes. This also allows the user to specify an address per device instead of them all using the same default one. Signed-off-by: Paul Atkins --- drivers/net/null

[dpdk-dev] [PATCH 0/3] null driver improvements for testability

2016-01-29 Thread Paul Atkins
, counters of the number of times an rx poll has been made are kept, and these can be retrieved via the existing APIs. All of these enhancements are using the existing APIs, and do not modify the existing behaviour of the null driver if these features are not configured. Paul Atkins (3): null: add

[dpdk-dev] [PATCH] mem: allow mem size to be specified when no hugetblfs

2015-05-29 Thread Paul Atkins
The config option to turn off huge table support does not work with the existing -m option to specify the amount of memory to use. Add a new option --no-huge-mem-size that takes a paramater to use as the heap size instead of the value specified by MEMSIZE_IF_NO_HUGE_PAGE. Signed-off-by: Paul