From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 7DF2A5917 for ; Mon, 19 May 2014 12:17:06 +0200 (CEST) Received: by mail-wg0-f50.google.com with SMTP id x12so7509946wgg.33 for ; Mon, 19 May 2014 03:17:15 -0700 (PDT) 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=YNnjTR4oyoR2l3GiVjL2E8aqaq7UEXK8NKnxuv6Yqpw=; b=J9nDfqYWuvMNsxE8nRFN/99cc4zBTkCB0rZWXxW1a7p4BkQ1QLUUzdt0B1MxPwzjoc vvl/UiNfFKJK6PoShE08EjtUNrtYerMSIiGmvDvreN7dnQ5+zSxYp1Qxqbe/fSGi9den /KhYh/mhegga572KaTT7qzhvvqsIF0Lll4nichrxYSCtdSJ4YdSY5eUXdhaHLig/ZJ8k s0KmzqT0jkn9AkMqY+ha+iDeRSft/gEK9uZ8aLO8CL9iivEV6kIMaovFoWQA05kz/CVl xPR4ewMqaJIbRgm7GWld0kfDz9Ye3GmeX1M4fv56c4Iy5RUcim+120vdDPDVJAZDV9BG SH0Q== X-Gm-Message-State: ALoCoQkYXgjyCdimcltamuPFTIo6ZBhUXIC6LPEAhD80KUNWRkC7z2LaVdXtZr+yvGtw3abikL4+ X-Received: by 10.194.120.101 with SMTP id lb5mr1211389wjb.74.1400494635319; Mon, 19 May 2014 03:17:15 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id g9sm5543052wja.39.2014.05.19.03.17.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 May 2014 03:17:14 -0700 (PDT) From: Thomas Monjalon To: Jingjing Wu Date: Mon, 19 May 2014 12:17:12 +0200 Message-ID: <2436549.UhLCUXjEFZ@xps13> Organization: 6WIND User-Agent: KMail/4.13 (Linux/3.14.4-1-ARCH; KDE/4.13.0; x86_64; ; ) In-Reply-To: <1400319309-25231-1-git-send-email-jingjing.wu@intel.com> References: <1400319309-25231-1-git-send-email-jingjing.wu@intel.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][PMD][GENERIC_FILTER] add NIC filters support for generic filter feature 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: Mon, 19 May 2014 10:17:06 -0000 Hi Jingjing, 2014-05-17 17:35, Jingjing Wu: > A generic filter mechanism for handling special packet is required. It will > allows filters to be set in HW when available for so that specific packets > may be filtered by NICs to specific desriptor queues for processing. > Currently only the Flow Director for Intel's 10GbE 82599 devices is > available. Other types of filter are not supported. > > This pacth adds following NIC filters used to assign different packets to > certain receive queues. ethertype filter/syn filter/2tuple filter/flex > filter for E1000(82580, i350) ethertype filter/syn filter/5tuple filter for > 10G(82599) > > Signed-off-by: jingjing.wu > --- > app/test-pmd/cmdline.c | 905 > +++++++++++++++++++++++++++++++++++- app/test-pmd/config.c | > 143 ++++++ > app/test-pmd/testpmd.h | 6 + > lib/librte_ether/rte_ethdev.c | 300 ++++++++++++ > lib/librte_ether/rte_ethdev.h | 429 ++++++++++++++++- > lib/librte_pmd_e1000/e1000_ethdev.h | 38 ++ > lib/librte_pmd_e1000/igb_ethdev.c | 512 ++++++++++++++++++++ > lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 365 +++++++++++++++ > lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 33 ++ > 9 files changed, 2729 insertions(+), 2 deletions(-) It would be really easier to review if you split it in 4 parts: - ethdev API - igb implementation - ixgbe implementation - testpmd Thanks -- Thomas