From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 0F56211A2 for ; Tue, 27 Oct 2015 12:24:25 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 27 Oct 2015 04:24:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,204,1444719600"; d="scan'208";a="804215387" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga001.jf.intel.com with ESMTP; 27 Oct 2015 04:24:24 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.75]) by IRSMSX109.ger.corp.intel.com ([169.254.13.139]) with mapi id 14.03.0248.002; Tue, 27 Oct 2015 11:24:23 +0000 From: "Ananyev, Konstantin" To: "Lu, Wenzhuo" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v5 0/7] Support new flow director modes on Intel x550 NIC Thread-Index: AQHRD681VS0z55zm8UOsJtAwpVyaGZ5/NH/Q Date: Tue, 27 Oct 2015 11:24:22 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836AB561B@irsmsx105.ger.corp.intel.com> References: <1443161125-1035-1-git-send-email-wenzhuo.lu@intel.com> <1445837254-6188-1-git-send-email-wenzhuo.lu@intel.com> In-Reply-To: <1445837254-6188-1-git-send-email-wenzhuo.lu@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5 0/7] Support new flow director modes on Intel x550 NIC 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: Tue, 27 Oct 2015 11:24:26 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Monday, October 26, 2015 5:27 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v5 0/7] Support new flow director modes on Int= el x550 NIC >=20 > This patch set adds 2 new flow director modes on Intel x550 NIC. > The 2 new fdir modes are mac vlan mode and tunnel mode. > The mac vlan mode can direct the flow based on the MAC address and VLAN > TCI. > The tunnel mode provides the support for VxLAN and NVGRE. x550 can recogn= ize > VxLAN and NVGRE packets, and direct the packets based on the MAC address, > VLAN TCI, TNI/VNI. > Surely, the MAC address, VLAN TCI, TNI/VNI can be masked, so, the flow > can be directed based on the left conditions. For example, if we want to > direct the flow based on the MAC address, we can use mac vlan mode with > VLAN TCI masked. > Now, only x550 supports these 2 modes. We should not use the new mode on > other NICs. If so, the ports will not be initialized successfully. >=20 > V2: > Change the word 'cloud' to 'tunnel'. > Change 'tni_vni' to 'tunnel_id'. >=20 > V3: > Change the name mac_addr_mask to mac_addr_byte_mask, for some NICs may li= ke > to support per bit mask in future. > Set default VxLAN port only when the NIC support VxLAN. > Make the condition more strict when check the fdir mode for avoiding the = code > being broken with future expansion. > Make mac mask more flexible. > Add a new function for MAC VLAN and tunnel mask. >=20 > V4: > Have replaced the enum rte_fdir_mode to resolve a compile issue. But afte= r all > this code change, there's no such issue. Move the enum back to its origin= al > place. >=20 > V5: > Remove some blank spaces. > Adjust the value of RTE_FDIR_TUNNEL_TYPE_UNKNOWN to 0. >=20 > Wenzhuo Lu (7): > lib/librte_ether: modify the structures for fdir new modes > app/testpmd: initialize the new fields for fdir mask > app/testpmd: new fdir modes for testpmd parameter > app/testpmd: modify the output of the CLI show port fdir > app/testpmd: modify and add fdir filter and mask CLIs for new modes > ixgbe: implementation for fdir new modes' config > doc: release notes update for flow director enhancement >=20 > app/test-pmd/cmdline.c | 294 +++++++++++++++++++++++++++++= ++++-- > app/test-pmd/config.c | 45 ++++-- > app/test-pmd/parameters.c | 7 +- > app/test-pmd/testpmd.c | 3 + > doc/guides/rel_notes/release_2_2.rst | 3 + > drivers/net/ixgbe/ixgbe_ethdev.h | 3 + > drivers/net/ixgbe/ixgbe_fdir.c | 262 +++++++++++++++++++++++++++--= -- > lib/librte_ether/rte_eth_ctrl.h | 33 ++++ > 8 files changed, 590 insertions(+), 60 deletions(-) >=20 > -- Acked-by: Konstantin Ananyev > 1.9.3