From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 44976ADC4 for ; Tue, 23 Sep 2014 05:24:27 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 22 Sep 2014 20:29:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="390124420" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 22 Sep 2014 20:24:04 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id s8N3TrBt009890 for ; Tue, 23 Sep 2014 11:29:53 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id s8N3Tp3m015421 for ; Tue, 23 Sep 2014 11:29:53 +0800 Received: (from jijiangl@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s8N3TpVk015417 for dev@dpdk.org; Tue, 23 Sep 2014 11:29:51 +0800 From: Jijiang Liu To: dev@dpdk.org Date: Tue, 23 Sep 2014 11:29:46 +0800 Message-Id: <1411442991-15386-1-git-send-email-jijiang.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH 0/5]support filter of unicast and multicast MAC address for VF on Fortville 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, 23 Sep 2014 03:24:27 -0000 The patch set enhances MACVLAN filter configurability and supports perfect and hash match filter of unicast and multicast MAC address for VF on Fortville. It mainly includes: - Use new filter mechanism discussed at http://dpdk.org/ml/archives/dev/2014-September/005179.html. - Enhance MACVLAN filter to be configurable. Now the following options are configurable: 1. Perfect match of MAC address 2. Perfect match of MAC address and VLAN ID 3. Hash match of MAC address 4. Hash match of MAC address and perfect match of VLAN ID 5. To Queue: use MAC and VLAN to point to a queue - Support perfect and hash match of unicast and multicast MAC address for VF for i40e jijiangl (5): Use new filter framework Add new definations for MACVLAN filter enhancement in rte_eth_ctrl.h file Change parameters of MAC/VLAN filter to be configurable Add VF MACVLAN filter handle for i40e Test VF MACVLAN filter for i40e app/test-pmd/cmdline.c | 115 +++++++++++++- lib/librte_ether/Makefile | 1 + lib/librte_ether/rte_eth_ctrl.h | 104 ++++++++++++ lib/librte_ether/rte_ethdev.c | 33 ++++ lib/librte_ether/rte_ethdev.h | 48 ++++++- lib/librte_pmd_i40e/i40e_ethdev.c | 321 ++++++++++++++++++++++++++++++++----- lib/librte_pmd_i40e/i40e_ethdev.h | 18 ++- lib/librte_pmd_i40e/i40e_pf.c | 7 +- 8 files changed, 601 insertions(+), 46 deletions(-) create mode 100644 lib/librte_ether/rte_eth_ctrl.h -- 1.7.7.6