From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=JxezoQXnDzVsvlOF48MMvlotpqP92gvvwIPZPec18Lk=; b=Wl9rL4AA8cpAVH2vmdDbZSGxFJajL52EduiQzqF4mNLJqz/i+5+cVxyt9KkmR2Mfl/ mlNfOqWMTtc3SCC9FdTNTPr2R5bjVFh0xBZJmmMZH3/bwrQLY25HlpfYuUB/2wNy4mum qC6B3+B3OEsGYmm2FC9F8tVh7XEhKJYA+lzwuUV6dKnS2vJXusUe9XiKO8tLufTrnbj2 p0mkKesPx7B4JY5pLobZ+ryEU6merywmyccXg9u9Hnhn2YQQhAYuxdXRi7iuyblhvSck 0QzsmtrUO8qcQnY5MIg46WD+htoxWPUokWGNUNwB8Da6vAgddIP+51J3Vvw2CSH/IfK2 bGOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=JxezoQXnDzVsvlOF48MMvlotpqP92gvvwIPZPec18Lk=; b=V+gX+cKXpH3HUOBuK0ueUFMfEW+i+bw/AN4ecHjZ4YyP0fCKOirC5hHe45a/A5gd/1 oGJNolhgpQ9R1Vt5ze1YXIVQcbv/1J//5r4zft7pWAmsgfqE9n0exqD1PO8gvjiKbxx5 jKVGosATV1Hr0DPhXazik3PNnxCnStHuwjpeyQwP9dNe9TJzNbD1UrxB65EfJn1cjyuf 1tVdH4piqANZmcUwOahobaq2IQ1LZGZx34qgFUgWFUhPT7S4XE1xZ7hlYuNgYczPY8CD hlDqkmHWbA2e//dtMGH7nCcKWC3D4cBuH6pEVtlwweaKyGPb1Sl3JQoyxp41loXV3IL0 gURw== X-Gm-Message-State: AG10YOS5Q549xovhB1s9WgZ2EMoxr41R8comXaqLijuRhkKbyi//noPprc600PdSo1crgGB3 X-Received: by 10.194.23.70 with SMTP id k6mr9548214wjf.54.1454085136198; Fri, 29 Jan 2016 08:32:16 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id lc1sm16321295wjc.5.2016.01.29.08.32.15 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jan 2016 08:32:15 -0800 (PST) From: Thomas Monjalon To: Paul Atkins Date: Fri, 29 Jan 2016 17:31:02 +0100 Message-ID: <1600067.TyQ2MXbqf2@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1454084293-5722-1-git-send-email-patkins@brocade.com> References: <1454084293-5722-1-git-send-email-patkins@brocade.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 0/3] null driver improvements for testability X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2016 16:32:16 -0000 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