From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <michalx.k.jastrzebski@intel.com>
Received: from mga14.intel.com (mga14.intel.com [192.55.52.115])
 by dpdk.org (Postfix) with ESMTP id 48CA8B56F
 for <dev@dpdk.org>; Fri, 20 Feb 2015 11:26:59 +0100 (CET)
Received: from orsmga002.jf.intel.com ([10.7.209.21])
 by fmsmga103.fm.intel.com with ESMTP; 20 Feb 2015 02:19:17 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.09,614,1418112000"; d="scan'208";a="688325190"
Received: from unknown (HELO Sent) ([10.217.248.178])
 by orsmga002.jf.intel.com with SMTP; 20 Feb 2015 02:26:56 -0800
Received: by Sent (sSMTP sendmail emulation); Fri, 20 Feb 2015 11:26:33 +0200
From: Michal Jastrzebski <michalx.k.jastrzebski@intel.com>
To: dev@dpdk.org
Date: Fri, 20 Feb 2015 11:26:10 +0100
Message-Id: <1424427972-6392-1-git-send-email-michalx.k.jastrzebski@intel.com>
X-Mailer: git-send-email 2.1.1
In-Reply-To: <1422379175-10004-1-git-send-email-michalx.k.jastrzebski@intel.com>
References: <1422379175-10004-1-git-send-email-michalx.k.jastrzebski@intel.com>
Subject: [dpdk-dev] [PATCH v3 0/2] testpmd: check return value of
	rte_eth_dev_vlan_filter()
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Feb 2015 10:26:59 -0000

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