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
Tested-by: Liu Yong <yong.liu at intel.com>
This patch set has been tested by Intel.
Please see information as the following:
Host:
OS : Fedora 20 x86_64
Kernel : 3.11.10-301
GCC : 4.8.3
CPU : Intel Xeon CPU E5-2680 v2 @ 2.80GHz
NIC : 2*40G (8086:1583)
Qemu : 1.6.2
libvirt : 1.1.3
Guest:
OS : Fedora 20 x86_64
Kernel : 3.11.10-301
GCC : 4.8.3
We verified perfect and hash match filter of unicast and multicast MAC address for VF work normally on FVL.
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jijiang Liu
> Sent: Tuesday, September 23, 2014 11:30 AM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH 0/5]support filter of unicast and multicast MAC
> address for VF on Fortville
>
> 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
Hi Thomas,
Any comments on this patch set?
Thanks
Jijiang Liu
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Liu, Yong
> Sent: Thursday, September 25, 2014 4:18 PM
> To: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH 0/5]support filter of unicast and multicast MAC
> address for VF on Fortville
>
> Tested-by: Liu Yong <yong.liu at intel.com>
>
> This patch set has been tested by Intel.
> Please see information as the following:
>
> Host:
> OS : Fedora 20 x86_64
> Kernel : 3.11.10-301
> GCC : 4.8.3
> CPU : Intel Xeon CPU E5-2680 v2 @ 2.80GHz
> NIC : 2*40G (8086:1583)
> Qemu : 1.6.2
> libvirt : 1.1.3
> Guest:
> OS : Fedora 20 x86_64
> Kernel : 3.11.10-301
> GCC : 4.8.3
>
> We verified perfect and hash match filter of unicast and multicast MAC address
> for VF work normally on FVL.
>
> > -----Original Message-----
> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jijiang Liu
> > Sent: Tuesday, September 23, 2014 11:30 AM
> > To: dev@dpdk.org
> > Subject: [dpdk-dev] [PATCH 0/5]support filter of unicast and multicast
> > MAC address for VF on Fortville
> >
> > 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