From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) by dpdk.org (Postfix) with ESMTP id DBB181025 for ; Wed, 23 Apr 2014 09:07:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2594; q=dns/txt; s=iport; t=1398236863; x=1399446463; h=from:to:subject:date:message-id:mime-version; bh=OL8ytEvNbdDd7cZO6fo7XBHYT0dl4H9d7B0AQRAomRI=; b=CoOwarjq/GkK4h1v9crDRMSlhQJzpzUkmYlB9k8L+sctCYPX8s8JHmLY eaX8iKHFe20Rjwp80JLFmQqnl1lpxojRZMDz5pAeYQkKGLKQN0nkZtkmd oIUYEDuzwYkY8ATeuiCRQNaDXw3q7VeqGIbNtnFR0kK9bf95eTxz2Rm7+ c=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiYFAPFlV1OtJV2Y/2dsb2JhbABZgkJEgSbDHII1FnSCLIELAQwBcycEiFSccLJGF412EQGFEASYdZJVgzGBcjk X-IronPort-AV: E=Sophos;i="4.97,910,1389744000"; d="scan'208,217";a="37994881" Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by alln-iport-8.cisco.com with ESMTP; 23 Apr 2014 07:07:42 +0000 Received: from xhc-aln-x05.cisco.com (xhc-aln-x05.cisco.com [173.36.12.79]) by rcdn-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id s3N77gJe015336 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 23 Apr 2014 07:07:42 GMT Received: from xmb-aln-x07.cisco.com ([169.254.2.162]) by xhc-aln-x05.cisco.com ([173.36.12.79]) with mapi id 14.03.0123.003; Wed, 23 Apr 2014 02:07:42 -0500 From: "Sujith Sankar (ssujith)" To: "dev@dpdk.org" Thread-Topic: Query on the use of FDIR feature Thread-Index: AQHPXsK388PxGLD/+EOFdqiE3YDWlg== Date: Wed, 23 Apr 2014 07:07:27 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.9.131030 x-originating-ip: [173.39.25.185] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Query on the use of FDIR 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: Wed, 23 Apr 2014 07:07:41 -0000 Hi, Could someone kindly give information about the following aspects of the us= e of FDIR? It is about adding of flow classification rule using fdir_add_p= erfect_filter() 1. For SCTP, what are the mandatory fields to be provided in struct rte_fd= ir_filter ? Is it enough if protocol and src and dst IP addresses are pro= vided? 2. If vlan id is specified in struct rte_fdir_filter, what other fields a= re mandatory? 3. In the case of IPV6, is it enough if protocol, src and dst IPV6 address= es and src and dst L4 port numbers are provided? 4. Is it mandatory that the applications have to provide protocol, src and= dst IPV4 addresses and port numbers when it is trying to add filter for IP= V4? The programmers guide does not clarify these, and hence the email to the gr= oup. Thanks in advance, -Sujith