[dpdk-dev] [PATCH v3 0/2] testpmd: check return value of rte_eth_dev_vlan_filter()

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Sat Mar 7 22:28:57 CET 2015



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Michal Jastrzebski
> Sent: Friday, February 20, 2015 10:26 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v3 0/2] testpmd: check return value of
> rte_eth_dev_vlan_filter()
> 
> v3 changes:
> - add seperate patch with testpmd_funcs.rst changes
> 
> v2 changes:
> - fix formatting errors
> 
> This patchset modifies testpmd behavior when setting:
> rx_vlan add all vf_port (enabling all vlanids
> to be passed thru rx filter on VF).
> Rx_vlan_all_filter_set() function,
> checks if the next vlanid can be enabled by the driver.
> Number of vlanids is limited by the NIC and thus the NIC
> do not allow to enable more vlanids than it can allocate
> in VFTA table.
> tespmd_funcs.rst file is modified to provide a brief description
> why enabling all vlan ids may not be possible.
> 
> Michal Jastrzebski (2):
>   doc: add information about limited number of vlan_ids
>   testpmd: check return value of rte_eth_dev_vlan_filter()
> 
>  app/test-pmd/config.c                       |   15 +++++++++------
>  app/test-pmd/testpmd.h                      |    2 +-
>  doc/guides/testpmd_app_ug/testpmd_funcs.rst |    2 ++
>  lib/librte_ether/rte_ethdev.c               |    4 ++--
>  4 files changed, 14 insertions(+), 9 deletions(-)
> 
> --
> 1.7.9.5

Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>


More information about the dev mailing list