From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 0/3] null driver improvements for testability Date: Fri, 29 Jan 2016 17:31:02 +0100 Message-ID: <1600067.TyQ2MXbqf2@xps13> References: <1454084293-5722-1-git-send-email-patkins@brocade.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Paul Atkins Return-path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 62354C6FE for ; Fri, 29 Jan 2016 17:32:16 +0100 (CET) Received: by mail-wm0-f41.google.com with SMTP id r129so75958997wmr.0 for ; Fri, 29 Jan 2016 08:32:16 -0800 (PST) In-Reply-To: <1454084293-5722-1-git-send-email-patkins@brocade.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 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? http://dpdk.org/browse/dpdk/tree/drivers/net/ring/rte_eth_ring.c