From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 77C5737A8 for ; Mon, 5 Dec 2016 11:24:36 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP; 05 Dec 2016 02:24:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,747,1477983600"; d="scan'208";a="13727794" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.64]) by orsmga002.jf.intel.com with SMTP; 05 Dec 2016 02:24:33 -0800 Received: by (sSMTP sendmail emulation); Mon, 05 Dec 2016 10:24:33 +0000 Date: Mon, 5 Dec 2016 10:24:32 +0000 From: Bruce Richardson To: Keren Hochman Cc: dev Message-ID: <20161205102432.GA329904@bricha3-MOBL3.ger.corp.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.7.1 (2016-10-04) Subject: Re: [dpdk-dev] Filtering acording to port/cidr ip X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 10:24:36 -0000 On Sun, Dec 04, 2016 at 09:22:24AM +0200, Keren Hochman wrote: > Hello, > Is there a way to filter packets which received by dpdk kernel or libpcap > according to ip mask and port ? I need to support fragmented ip packets and > fragmented tcp packets. > Can I use *Packet Classification* for this purpose*? * > Thank you, Keren Hi, The pcap PMD for DPDK is a SW only driver and does not support any packet classification options in itself. If you can use a native HW driver for your NIC it may be possible to have the hardware do packet classification and filtering for you. /Bruce