[dpdk-dev] [PATCH v5 08/28] bnx2x: copy pci device info to eth_dev data

2015-10-23 Thread Harish Patil
> >Signed-off-by: Bernard Iremonger >--- > drivers/net/bnx2x/bnx2x_ethdev.c | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c >b/drivers/net/bnx2x/bnx2x_ethdev.c >index 09b5920..fbcd5f4 100644 >--- a/drivers/net/bnx2x/bnx2x_ethdev.c >+++

[dpdk-dev] [PATCH 3/5] bnx2x: Add RTE_LIBRTE_BNX2X_REG_ACCESS config option

2015-10-23 Thread Harish Patil
> >2015-09-11 17:42, Rasesh Mody: >> From: Harish Patil >> --- a/config/common_linuxapp >> +++ b/config/common_linuxapp >> @@ -220,6 +220,7 @@ CONFIG_RTE_LIBRTE_BNX2X_DEBUG_INIT=n >> CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=n >> CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=n >>

[dpdk-dev] [PATCH 1/2] scripts: add checkpatch wrapper

2015-10-23 Thread Thomas Monjalon
2015-10-23 09:58, Stephen Hemminger: > On Fri, 23 Oct 2015 18:34:23 +0200 > Thomas Monjalon wrote: > > > > LINUX_VERSION_CODE > > > > It is used for out-of-tree modules. > > Actually for the kernel modules, all flags should be enabled. > It is kernel code and it should follow the kernel

[dpdk-dev] [PATCH v1 0/3] lpm: increase number of next hops for lpm (ipv4)

2015-10-23 Thread Vladimir Medvedkin
Hi all, I also have LPM library implementation. Main points: - First, we don't need two separate structures rte_lpm_tbl8_entry and rte_lpm_tbl24_entry. I think it's better to merge in one rte_lpm_tbl_entry because there is only one difference in name of one bit - valid_group vs ext_entry. Let

[dpdk-dev] [PATCH 2/5] bnx2x: Fix x86_64-native-linuxapp-clang build error

2015-10-23 Thread Thomas Monjalon
2015-10-23 16:36, Harish Patil: > > > >2015-09-11 17:42, Rasesh Mody: > >> #define SHMEM_EEE_ADV_STATUS_MASK 0x00f0 > >> #define SHMEM_EEE_100M_ADV (1<<0) > >> -#define SHMEM_EEE_1G_ADV (1<<1) > >> +#define SHMEM_EEE_1G_ADV

[dpdk-dev] [PATCH v5 28/28] bonding: remove pci device

2015-10-23 Thread Bernard Iremonger
remove pci_dev, pci_drv, rte_bond_pmd and pci_id_table. handle numa_node for vdevs handle RTE_ETH_DEV_INTR_LSC for vdevs rename valid_bonded_device to check_for_bonded_device Signed-off-by: Bernard Iremonger --- drivers/net/bonding/rte_eth_bond_alb.c | 2 +-

[dpdk-dev] [PATCH v5 27/28] mpipe: remove pci device

2015-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/mpipe/mpipe_tilegx.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/mpipe/mpipe_tilegx.c b/drivers/net/mpipe/mpipe_tilegx.c index b2a7d68..5afd191 100644 --- a/drivers/net/mpipe/mpipe_tilegx.c +++

[dpdk-dev] [PATCH v5 26/28] xenvirt: remove pci device

2015-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/xenvirt/rte_eth_xenvirt.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/net/xenvirt/rte_eth_xenvirt.c b/drivers/net/xenvirt/rte_eth_xenvirt.c index 3e8da31..1b13758 100644 ---

[dpdk-dev] [PATCH v5 25/28] af_packet: remove pci device

2015-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/af_packet/rte_eth_af_packet.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/net/af_packet/rte_eth_af_packet.c b/drivers/net/af_packet/rte_eth_af_packet.c index 7ec2441..25bcb4e 100644 ---

[dpdk-dev] [PATCH v5 24/28] pcap: remove pci device

2015-10-23 Thread Bernard Iremonger
remove rte_pcap_pmd and pci_dev. Signed-off-by: Bernard Iremonger --- drivers/net/pcap/rte_eth_pcap.c | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c index d352a14..5f416f4 100644 ---

[dpdk-dev] [PATCH v5 23/28] ring: remove pci device

2015-10-23 Thread Bernard Iremonger
remove rte_ring_pmd and pci_dev. Signed-off-by: Bernard Iremonger --- drivers/net/ring/rte_eth_ring.c | 24 1 file changed, 24 deletions(-) diff --git a/drivers/net/ring/rte_eth_ring.c b/drivers/net/ring/rte_eth_ring.c index e05a459..65608b2 100644 ---

[dpdk-dev] [PATCH v5 21/28] librte_ether: remove branches on pci_dev

2015-10-23 Thread Bernard Iremonger
use dev_type to distinguish between vdev's and pdev's. remove pci_dev branches. update release notes. Signed-off-by: Bernard Iremonger --- doc/guides/rel_notes/release_2_2.rst | 3 +++ lib/librte_ether/rte_ethdev.c| 40 +++- 2 files changed, 20

[dpdk-dev] [PATCH v5 19/28] mpipe: copy device info to eth_dev data

2015-10-23 Thread Bernard Iremonger
initialise dev_flags, kdrv, driver, drv_name and numa_node in eth_dev data. Signed-off-by: Bernard Iremonger --- drivers/net/mpipe/mpipe_tilegx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/mpipe/mpipe_tilegx.c b/drivers/net/mpipe/mpipe_tilegx.c index 743feef..b2a7d68

[dpdk-dev] [PATCH v5 17/28] af_packet: copy device info to eth_dev data

2015-10-23 Thread Bernard Iremonger
initialise dev_flags, driver, kdrv, drv_name and numa_node fields in eth_dev data. Signed-off-by: Bernard Iremonger --- drivers/net/af_packet/rte_eth_af_packet.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/net/af_packet/rte_eth_af_packet.c

[dpdk-dev] [PATCH v5 16/28] pcap: copy device info to eth_dev data

2015-10-23 Thread Bernard Iremonger
initialise dev_flags, driver, drv_name, kdrv and numa_node fields in eth_dev data Signed-off-by: Bernard Iremonger --- drivers/net/pcap/rte_eth_pcap.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/net/pcap/rte_eth_pcap.c

[dpdk-dev] [PATCH v5 15/28] ring: copy device info to eth_dev data

2015-10-23 Thread Bernard Iremonger
initialise dev_flags, driver, drv_name, kdrv and numa_node fields in eth_dev data. Signed-off-by: Bernard Iremonger --- drivers/net/ring/rte_eth_ring.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/net/ring/rte_eth_ring.c

[dpdk-dev] [PATCH v5 14/28] null: copy device info to eth_dev data

2015-10-23 Thread Bernard Iremonger
initialise dev_flags, driver, drv_name, kdrv and numa_node fields in eth_dev data Signed-off-by: Bernard Iremonger --- drivers/net/null/rte_eth_null.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/net/null/rte_eth_null.c

[dpdk-dev] [PATCH v5 13/28] vmxnet3: copy pci device info to eth_dev data

2015-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c index a70be5c..2beee3e 100644 --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c +++

[dpdk-dev] [PATCH v5 12/28] virtio: copy pci device info to eth_dev data

2015-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/virtio/virtio_ethdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c index 02f698a..1286623 100644 --- a/drivers/net/virtio/virtio_ethdev.c +++

[dpdk-dev] [PATCH v5 11/28] mlx4: copy pci device info to eth_dev data

2015-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/mlx4/mlx4.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c index af31573..d2497cc 100644 --- a/drivers/net/mlx4/mlx4.c +++ b/drivers/net/mlx4/mlx4.c @@ -4972,6 +4972,9 @@

[dpdk-dev] [PATCH v5 10/28] enic: copy pci device info to eth_dev data

2015-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/enic/enic_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c index e385560..95baa8a 100644 --- a/drivers/net/enic/enic_ethdev.c +++ b/drivers/net/enic/enic_ethdev.c @@

[dpdk-dev] [PATCH v5 09/28] cxgbe: copy pci device info to eth_dev data

2015-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/cxgbe/cxgbe_ethdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c index a8e057b..3c406df 100644 --- a/drivers/net/cxgbe/cxgbe_ethdev.c +++

[dpdk-dev] [PATCH v5 08/28] bnx2x: copy pci device info to eth_dev data

2015-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/bnx2x/bnx2x_ethdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c b/drivers/net/bnx2x/bnx2x_ethdev.c index 09b5920..fbcd5f4 100644 --- a/drivers/net/bnx2x/bnx2x_ethdev.c +++

[dpdk-dev] [PATCH v5 07/28] fm10k: copy pci device info to eth_dev data

2015-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/fm10k/fm10k_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c index a69c990..12be227 100644 --- a/drivers/net/fm10k/fm10k_ethdev.c +++

[dpdk-dev] [PATCH v5 06/28] i40e: copy pci device info to eth_dev data

2015-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/i40e/i40e_ethdev.c| 3 +++ drivers/net/i40e/i40e_ethdev_vf.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 2dd9fdc..bd81d4e 100644 ---

[dpdk-dev] [PATCH v5 04/28] ixgbe: copy pci device info to eth_dev data

2015-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index ec2918c..08b5cbb 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++

[dpdk-dev] [PATCH v5 03/28] librte_ether: add function rte_eth_copy_dev_info

2015-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- lib/librte_ether/rte_ethdev.c | 14 ++ lib/librte_ether/rte_ethdev.h | 14 ++ lib/librte_ether/rte_ether_version.map | 7 +++ 3 files changed, 35 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.c

[dpdk-dev] [PATCH v5 02/28] librte_ether: add fields from rte_pci_driver to rte_eth_dev_data

2015-10-23 Thread Bernard Iremonger
add dev_flags to rte_eth_dev_data, add macros for dev_flags. add kdrv to rte_eth_dev_data. add numa_node to rte_eth_dev_data. add drv_name to rte_eth_dev_data. Signed-off-by: Bernard Iremonger --- lib/librte_ether/rte_ethdev.h | 15 +++ 1 file changed, 15 insertions(+) diff --git

[dpdk-dev] [PATCH v5 01/28] librte_eal: add RTE_KDRV_NONE for vdevs

2015-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- lib/librte_eal/common/include/rte_pci.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h index 83e3c28..334c12e 100644 ---

[dpdk-dev] [PATCH v5 00/28] remove pci driver from vdevs

2015-10-23 Thread Bernard Iremonger
There is a dummy pci driver in the vdev PMD's at present. This patch set removes the pci driver from the vdev PMD's. Changes have been made to librte_ether to handle vdevs and pdevs in the same way. The following vdev PMD's have had the pci driver removed: null ring bonding pcap af_packet

[dpdk-dev] [PATCH 1/2] scripts: add checkpatch wrapper

2015-10-23 Thread Thomas Monjalon
2015-10-23 09:03, Stephen Hemminger: > Thomas Monjalon wrote: > > +options="$options --ignore=LINUX_VERSION_CODE,FILE_PATH_CHANGES,\ > > +VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,PREFER_KERNEL_TYPES,\ > > +SPLIT_STRING,LINE_SPACING,PARENTHESIS_ALIGNMENT,NETWORKING_BLOCK_COMMENT_STYLE,\

[dpdk-dev] [RFC] location for DPDK related white papers

2015-10-23 Thread Marc
On 23 October 2015 at 17:07, Dave Neary wrote: > Hi, > > On 10/23/2015 06:28 AM, Mcnamara, John wrote: > > We have had a few people wishing to submit DPDK related white papers. > > These tend to focus on particular aspects of DPDK and don't fit into > > any of the existing documents. > > > >

[dpdk-dev] [PATCH 1/2] scripts: add checkpatch wrapper

2015-10-23 Thread Thomas Monjalon
This script can be used to call checkpatch.pl from Linux with some custom DPDK options. The path to the original Linux script must be set in an environment variable. A script is added to load any configuration variables required by development tools from a file .develconfig, or

[dpdk-dev] [PATCH 0/2] more basic tests

2015-10-23 Thread Thomas Monjalon
I use some scripts to make some basic checks before committing or submitting some patches. I think they can be useful for every DPDK developers and especially for new committers / tree owners. The problem when sharing such tool is how to make it customizable while fitting for everyone. The

[dpdk-dev] [PATCH v3] mem: command line option to delete hugepage backing files

2015-10-23 Thread shesha Sreenivasamurthy (shesha)
Understood and thanks for the clarification. Should I have to re-send patch v3 or are we good here ? -- - Thanks char * (*shesha) (uint64_t cache, uint8_t F00D) { return 0xC0DE; } -Original Message- From: Sergio Gonzalez Monroy Date: Friday,

[dpdk-dev] [PATCH v2] doc: change sphinx theme to the read the docs theme

2015-10-23 Thread Van Haaren, Harry
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Wednesday, October 21, 2015 10:39 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] doc: change sphinx theme to the read the docs > theme > > Change the Sphinx default theme from "alabaster" to the

[dpdk-dev] [RFC] location for DPDK related white papers

2015-10-23 Thread Thomas Monjalon
2015-10-23 14:48, Mcnamara, John: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > I would like to comment but I don't really know what means "white papers". > > A "white paper" is like an academic paper but originating from a company > (or non-academic entity). For example here

[dpdk-dev] [PATCH 2/5] bnx2x: Fix x86_64-native-linuxapp-clang build error

2015-10-23 Thread Harish Patil
> >2015-09-11 17:42, Rasesh Mody: >> #define SHMEM_EEE_ADV_STATUS_MASK 0x00f0 >> #define SHMEM_EEE_100M_ADV (1<<0) >> -#define SHMEM_EEE_1G_ADV (1<<1) >> +#define SHMEM_EEE_1G_ADV (1U<<1) >> #define

[dpdk-dev] [PATCH] doc: fix pdf build warning

2015-10-23 Thread Van Haaren, Harry
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Monday, October 12, 2015 1:55 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: fix pdf build warning > > Fix a pdf doc build warning where a link wasn't recognised: > >

[dpdk-dev] [PATCH] doc: remove dejavu font from doc build

2015-10-23 Thread Van Haaren, Harry
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Tuesday, October 20, 2015 12:32 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: remove dejavu font from doc build > > Remove requirement for occasionally hard to find/install > DejaVuSansMono font. It

[dpdk-dev] [PATCH] tools: exit setup script without prompt

2015-10-23 Thread Van Haaren, Harry
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Thursday, October 22, 2015 11:36 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] tools: exit setup script without prompt > > Exit tools/setup.sh script without prompting "Press enter to continue". > > The

[dpdk-dev] [PATCH] librte_power: channel_commands: Remove duplicate definition

2015-10-23 Thread Aaron Conole
The CHANNEL_CMDS_MAX_VM_CHANNELS is duplicated in the channel_commands header file. This commit removes that duplication. fixes 210c383e247b5335cd95223fac1c0880ebbd5c96 ("power: packet format for ...") Signed-off-by: Aaron Conole --- lib/librte_power/channel_commands.h | 3 --- 1 file changed,

[dpdk-dev] [PATCH v7 4/8] vhost: rxtx: use queue id instead of constant ring index

2015-10-23 Thread Yuanhan Liu
On Thu, Oct 22, 2015 at 05:19:01PM +0300, Michael S. Tsirkin wrote: > On Thu, Oct 22, 2015 at 10:07:10PM +0800, Yuanhan Liu wrote: > > On Thu, Oct 22, 2015 at 02:32:31PM +0300, Michael S. Tsirkin wrote: > > > On Thu, Oct 22, 2015 at 05:49:55PM +0800, Yuanhan Liu wrote: > > > > On Wed, Oct 21, 2015

[dpdk-dev] [PATCH v1 3/3] doc: update release 2.2 after changes in librte_lpm

2015-10-23 Thread Michal Jastrzebski
From: Michal Kobylinski Signed-off-by: Michal Kobylinski --- doc/guides/rel_notes/release_2_2.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index ab1c25f..3c616ab 100644 ---

[dpdk-dev] [PATCH v1 2/3] examples: update of apps using librte_lpm (ipv4)

2015-10-23 Thread Michal Jastrzebski
From: Michal Kobylinski This patch is adapting examples to use new rte_lpm structures. Signed-off-by: Michal Kobylinski --- examples/ip_fragmentation/main.c | 10 +- examples/ip_reassembly/main.c| 9 + examples/l3fwd-power/main.c | 2

[dpdk-dev] [PATCH v1 1/3] lpm: increase number of next hops for lpm (ipv4)

2015-10-23 Thread Michal Jastrzebski
From: Michal Kobylinski Main implementation - changes to lpm library regarding new data types. Additionally this patch implements changes required by test application. ABI versioning requirements are met only for lpm library, for table library it will be sent in

[dpdk-dev] [PATCH v1 0/3] lpm: increase number of next hops for lpm (ipv4)

2015-10-23 Thread Michal Jastrzebski
From: Michal Kobylinski The current DPDK implementation for LPM for IPv4 and IPv6 limits the number of next hops to 256, as the next hop ID is an 8-bit long field. Proposed extension increase number of next hops for IPv4 to 2^24 and also allows 32-bits read/write

[dpdk-dev] [PATCH] fix lpm bugs

2015-10-23 Thread mablexidana
hi: This is test on dpdk version 2.1 Regards yuerxin t 2015-10-22 10:15:16, "mablexidana" wrote: hi: Fixes: 25e4f515fe63 ("fix lpm bugs") the random test of lpm , multiple delete and add ip address, it do not recover the last right ip address. eg1: add a lot of routes:

[dpdk-dev] [PATCH] enic: improve Tx packet rate

2015-10-23 Thread John Daley
For every packet sent, a completion was being requested and the posted_index register on the nic was being updated. Instead, request a completion and update the posted index once per burst after all packets have been sent by the burst function. Signed-off-by: John Daley Acked-by: Sujith Sankar

[dpdk-dev] [PATCH 2/2] add 3 lpm test cases

2015-10-23 Thread mablexidana
hi: branch:1.2.3 Fixes: feab3e84432b ("add 3 lpm test cases") test procedure: 1),add->lookup 2),add->delete->lookup 3),add->delete->add->lookup Regards yuerxin --- app/test/test_lpm.c | 456 +++- 1 file changed, 455 insertions(+), 1

[dpdk-dev] [RFC] location for DPDK related white papers

2015-10-23 Thread Thomas Monjalon
2015-10-23 10:28, Mcnamara, John: > We have had a few people wishing to submit DPDK related white papers. > These tend to focus on particular aspects of DPDK and don't fit into > any of the existing documents. > > Where should these be stored/made available? Some options: > > * In the repo, in

[dpdk-dev] [PATCH v1 1/3] lpm: increase number of next hops for lpm (ipv4)

2015-10-23 Thread Bruce Richardson
On Fri, Oct 23, 2015 at 03:51:49PM +0200, Michal Jastrzebski wrote: > From: Michal Kobylinski > > Main implementation - changes to lpm library regarding new data types. > Additionally this patch implements changes required by test application. > ABI versioning requirements are met only for lpm

[dpdk-dev] [PATCH 1/2] lpm: add strict if control etc. on version 1.2.3

2015-10-23 Thread mablexidana
hi: This is test on dpdk version 1.2.3. Fixes: 2a2174801fa4 ("fix lpm bugs add strict if control,do not let tbl24 process run into tbl8 process add valid_group = valid, incase ,the valid_group is write to invalid") add strict if control,do not let tbl24 process run into

[dpdk-dev] [PATCH v3 03/11] ethdev: update xstats_get() strings and Q handling

2015-10-23 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Harry van Haaren > Sent: Thursday, October 22, 2015 4:48 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 03/11] ethdev: update xstats_get() strings and > Q handling > > Update the strings used for presenting stats to adhere to the

[dpdk-dev] [PATCH v3 03/11] ethdev: update xstats_get() strings and Q handling

2015-10-23 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tahhan, Maryam > Sent: Friday, October 23, 2015 3:35 PM > To: Van Haaren, Harry ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 03/11] ethdev: update xstats_get() strings > and Q handling > > > From: dev [mailto:dev-bounces at

[dpdk-dev] [PATCH v1 3/3] doc: update release 2.2 after changes in librte_lpm

2015-10-23 Thread Bruce Richardson
On Fri, Oct 23, 2015 at 03:51:51PM +0200, Michal Jastrzebski wrote: > From: Michal Kobylinski > > Signed-off-by: Michal Kobylinski Hi Michal, for when you do your v2, this doc update should be included in with the relevant changes i.e. in patch 1, not as a separate doc patch. /Bruce > --- >

[dpdk-dev] [PATCH 11/11] app: add armv8 cpuflags check to test_cpuflags application

2015-10-23 Thread David Hunt
From: Benjamin Boren Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- app/test/test_cpuflags.c | 17 + 1 file changed, 17 insertions(+) diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c index 5b92061..a498511 100644 ---

[dpdk-dev] [PATCH 10/11] mk: add makefile and config changes for armv8 architecture

2015-10-23 Thread David Hunt
From: Benjamin Boren Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- MAINTAINERS| 6 config/defconfig_arm64-native-linuxapp-gcc | 55 mk/arch/arm64/rte.vars.mk | 58

[dpdk-dev] [PATCH 09/11] lib: add armv8 rte_vect.h

2015-10-23 Thread David Hunt
From: Benjamin Boren Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_vect.h | 102 + 1 file changed, 102 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_vect.h diff

[dpdk-dev] [PATCH 08/11] lib: add armv8 rte_spinlock.h

2015-10-23 Thread David Hunt
From: Benjamin Boren Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_spinlock.h | 114 + 1 file changed, 114 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_spinlock.h

[dpdk-dev] [PATCH 07/11] lib: add armv8 rte_rwlock.h

2015-10-23 Thread David Hunt
From: Benjamin Boren Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_rwlock.h | 70 ++ 1 file changed, 70 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_rwlock.h

[dpdk-dev] [PATCH 06/11] lib: add armv8 rte_prefetch.h

2015-10-23 Thread David Hunt
From: Benjamin Boren Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_prefetch.h | 61 ++ 1 file changed, 61 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_prefetch.h

[dpdk-dev] [PATCH 05/11] lib: add armv8 rte_memcpy.h

2015-10-23 Thread David Hunt
From: Benjamin Boren Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_memcpy.h | 266 + 1 file changed, 266 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_memcpy.h

[dpdk-dev] [PATCH 04/11] lib: add armv8 rte_cycles.h

2015-10-23 Thread David Hunt
From: Benjamin Boren Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_cycles.h | 77 ++ 1 file changed, 77 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_cycles.h

[dpdk-dev] [PATCH 03/11] lib: add armv8 rte_cpuflags.h

2015-10-23 Thread David Hunt
From: Benjamin Boren Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_cpuflags.h | 137 + 1 file changed, 137 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_cpuflags.h

[dpdk-dev] [PATCH 02/11] lib: add armv8 rte_byteorder.h

2015-10-23 Thread David Hunt
From: Benjamin Boren Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_byteorder.h | 157 + 1 file changed, 157 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_byteorder.h

[dpdk-dev] [PATCH 01/11] lib: add armv8 rte_atomic.h

2015-10-23 Thread David Hunt
From: Benjamin Boren Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_atomic.h | 269 + 1 file changed, 269 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_atomic.h

[dpdk-dev] [PATCH 00/11] add armv8 architecture support

2015-10-23 Thread David Hunt
This patch provides support for the ARMv8 architecture. We hope that this will encourage the ARM community to contribute PMDs for their SoCs to DPDK. For now, we've added Intel engineers to the MAINTAINERS file. We would like to encourage the ARM community to take over maintenance of this area in

[dpdk-dev] [PATCH v3 09/11] i40e: add xstats() implementation

2015-10-23 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Harry van Haaren > Sent: Thursday, October 22, 2015 4:49 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 09/11] i40e: add xstats() implementation > > Add xstats functions to i40e PMD, allowing extended statistics to be retrieved >

[dpdk-dev] [PATCH v1 1/3] lpm: increase number of next hops for lpm (ipv4)

2015-10-23 Thread Jastrzebski, MichalX K
> -Original Message- > From: Richardson, Bruce > Sent: Friday, October 23, 2015 4:39 PM > To: Jastrzebski, MichalX K > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v1 1/3] lpm: increase number of next hops > for lpm (ipv4) > > On Fri, Oct 23, 2015 at 03:51:49PM +0200, Michal

[dpdk-dev] [PATCH v3 05/11] igb: add xstats() implementation

2015-10-23 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Harry van Haaren > Sent: Thursday, October 22, 2015 4:48 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 05/11] igb: add xstats() implementation > > Add xstats_get() and xstats_reset() functions to igb driver, and the >

[dpdk-dev] [RFC] location for DPDK related white papers

2015-10-23 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, October 23, 2015 2:41 PM > To: Mcnamara, John > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [RFC] location for DPDK related white papers > > I would like to comment but I don't really know

[dpdk-dev] [PATCH v3 07/11] ixgbe: update statistic strings to scheme

2015-10-23 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Harry van Haaren > Sent: Thursday, October 22, 2015 4:49 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 07/11] ixgbe: update statistic strings to > scheme > > Updated and add statistic strings as used by xstats_get(). > >

[dpdk-dev] [PATCH v3 03/11] ethdev: update xstats_get() strings and Q handling

2015-10-23 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Harry van Haaren > Sent: Thursday, October 22, 2015 4:48 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 03/11] ethdev: update xstats_get() strings and > Q handling > > Update the strings used for presenting stats to adhere to the

[dpdk-dev] [PATCH v1 3/3] doc: update release 2.2 after changes in librte_lpm

2015-10-23 Thread Jastrzebski, MichalX K
> -Original Message- > From: Richardson, Bruce > Sent: Friday, October 23, 2015 4:22 PM > To: Jastrzebski, MichalX K > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v1 3/3] doc: update release 2.2 after changes > in librte_lpm > > On Fri, Oct 23, 2015 at 03:51:51PM +0200, Michal

[dpdk-dev] [PATCH v3 02/11] doc: add extended statistics to prog_guide

2015-10-23 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Harry van Haaren > Sent: Thursday, October 22, 2015 4:48 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 02/11] doc: add extended statistics to > prog_guide > > Add extended statistic section to the programmers guide, poll mode

[dpdk-dev] [PATCH v2 1/3] rte: add keep alive functionality

2015-10-23 Thread Wiles, Keith
Hi Remy, I have few questions inline. ? Regards, ++Keith Wiles Intel Corporation On 9/30/15, 6:04 AM, "dev on behalf of Remy Horton" wrote: >Adds functions for detecting and reporting the live-ness of LCores, >the primary requirement of which is minimal overheads for the >core(s) being

[dpdk-dev] [PATCH v2 2/3] l2fwd: keep alive sample application

2015-10-23 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Remy Horton > Sent: Wednesday, September 30, 2015 10:05 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 2/3] l2fwd: keep alive sample application > > Modification of l2fwd to demonstrate keep-alive functionality. > >

[dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs

2015-10-23 Thread Wenzhuo Lu
This patch will drop flow control frames from being transmitted from VSIs. With this patch in place a malicious VF cannot send flow control or PFC packets out on the wire. V2: Reword the comments. V3: Move the check of set_ethertype_anti_spoofing to the top of the function, to avoid occupying an

[dpdk-dev] [PATCH v3 1/7] lib/librte_ether: modify the structures for fdir new modes

2015-10-23 Thread Lu, Wenzhuo
Hi Bruce, > -Original Message- > From: Richardson, Bruce > Sent: Friday, October 23, 2015 5:58 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org; thomas.monjalon at 6wind.com > Subject: Re: [dpdk-dev] [PATCH v3 1/7] lib/librte_ether: modify the structures > for fdir new modes > > On Fri, Oct

[dpdk-dev] [PATCH v3] ixgbe: Drop flow control frames from VFs

2015-10-23 Thread Wenzhuo Lu
This patch will drop flow control frames from being transmitted from VSIs. With this patch in place a malicious VF cannot send flow control or PFC packets out on the wire. V2: Reword the comments. V3: Move the check of set_ethertype_anti_spoofing to the top of the function, to avoid occupying an

[dpdk-dev] [PATCH v1 0/3] lpm: increase number of next hops for lpm (ipv4)

2015-10-23 Thread Stephen Hemminger

[dpdk-dev] [PATCH v4 1/7] lib/librte_ether: modify the structures for fdir new modes

2015-10-23 Thread Lu, Wenzhuo
Hi Andrey, > -Original Message- > From: Chilikin, Andrey > Sent: Friday, October 23, 2015 6:39 PM > To: Lu, Wenzhuo; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v4 1/7] lib/librte_ether: modify the structures > for fdir new modes > > I would suggest rearranging members of

[PATCH] lpm: brocade extensions

2015-10-23 Thread Stephen Hemminger
This is a brute-force merge of the Brocade extension to LPM to current DPDK source tree. No API/ABI compatibility is expected. 1. Allow arbitrary number of rules 2. Get rid of N^2 search for rule add/delete 3. Add route scope 4. Extend nexthop to 16 bits 5. Extend to allow for more info

[dpdk-dev] [RFC PATCH v3 2/2] vhost: Add VHOST PMD

2015-10-23 Thread Tetsuya Mukawa
On 2015/10/22 21:49, Bruce Richardson wrote: > On Thu, Oct 22, 2015 at 06:45:50PM +0900, Tetsuya Mukawa wrote: >> The patch introduces a new PMD. This PMD is implemented as thin wrapper >> of librte_vhost. It means librte_vhost is also needed to compile the PMD. >> The vhost messages will be

[dpdk-dev] [PATCH] fix lpm bugs

2015-10-23 Thread mablexidana
hi: Fixes: 396284f345a1 ("add app/test/test_lpm.c test lpm, add 3 new cases 1),add->lookup 2),add->delete->lookup 3),add->delete->add->lookup") [PATCH] add app/test/test_lpm.c test lpm, add 3 new cases test procedure: 1),add->lookup 2),add->delete->lookup 3),add->delete->add->lookup This

[dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs

2015-10-23 Thread Vlad Zolotarov
On 10/23/15 11:32, Zhang, Helin wrote: > >> -Original Message- >> From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] >> Sent: Friday, October 23, 2015 4:27 PM >> To: Zhang, Helin >> Cc: Lu, Wenzhuo; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH v4] ixgbe: Drop flow control

[dpdk-dev] [PATCH v2 1/3] rte: add keep alive functionality

2015-10-23 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Remy Horton > Sent: Wednesday, September 30, 2015 10:05 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 1/3] rte: add keep alive functionality > > Adds functions for detecting and reporting the live-ness of LCores, the > primary

[dpdk-dev] [PATCH v1 0/3] lpm: increase number of next hops for lpm (ipv4)

2015-10-23 Thread Matthew Hall
On Fri, Oct 23, 2015 at 09:33:05AM -0700, Stephen Hemminger wrote: > On Fri, 23 Oct 2015 09:20:33 -0700 > Matthew Hall wrote: > > > On Fri, Oct 23, 2015 at 03:51:48PM +0200, Michal Jastrzebski wrote: > > > From: Michal Kobylinski > > > > > > The current DPDK implementation for LPM for IPv4

[dpdk-dev] [PATCH v4] nfp: new poll mode driver for netronome nfp-6xxx card

2015-10-23 Thread Alejandro.Lucero
From: "Alejandro.Lucero" This patch adds a new PMD for using PCI Virtual Functions with Netronome nfp6000 card. Signed-off-by: Alejandro.Lucero Signed-off-by: Rolf.Neugebauer --- drivers/net/nfp/Makefile | 88 ++ drivers/net/nfp/nfp_net.c | 2495

[dpdk-dev] [PATCH v4] support for netronome nfp-6xxx card

2015-10-23 Thread Alejandro.Lucero
From: "Alejandro.Lucero" This patch adds a new PMD for Netronome nfp-6xxx cards. Just PCI Virtual Functions support. v4: - Just submitting PMD V3: - Making all patches independent for applying and building - changing commits messages following standard V2:

[dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs

2015-10-23 Thread Vlad Zolotarov
On 10/23/15 10:14, Zhang, Helin wrote: > > From: Vladislav Zolotarov [mailto:vladz at cloudius-systems.com] > Sent: Friday, October 23, 2015 2:57 PM > To: Zhang, Helin > Cc: Lu, Wenzhuo; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs > > > On Oct

[dpdk-dev] [PATCH v3] doc: add contributors guide

2015-10-23 Thread John McNamara
Add a document to explain the DPDK patch submission and review process. Signed-off-by: John McNamara --- v3: * Add recommendation to test build the shared and combined libraries. v2: * Fixes for mailing list comments. * Fix for broken link target. doc/guides/contributing/documentation.rst |

[dpdk-dev] [RFC] location for DPDK related white papers

2015-10-23 Thread Dave Neary
Hi, On 10/23/2015 06:28 AM, Mcnamara, John wrote: > We have had a few people wishing to submit DPDK related white papers. > These tend to focus on particular aspects of DPDK and don't fit into > any of the existing documents. > > Where should these be stored/made available? Some options: > > *

[dpdk-dev] [PATCH v2 01/16] fm10k: add new vPMD file

2015-10-23 Thread Bruce Richardson
On Fri, Oct 23, 2015 at 08:39:56AM +, Chen, Jing D wrote: > Hi, Stephen, > > Best Regards, > Mark > > > > -Original Message- > > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > > Sent: Thursday, October 22, 2015 11:59 PM > > To: Chen, Jing D > > Cc: dev at dpdk.org

[dpdk-dev] [PATCH v3 1/7] lib/librte_ether: modify the structures for fdir new modes

2015-10-23 Thread Bruce Richardson
On Fri, Oct 23, 2015 at 02:22:28AM +0100, Lu, Wenzhuo wrote: > Hi Bruce, > > > -Original Message- > > From: Richardson, Bruce > > Sent: Thursday, October 22, 2015 8:57 PM > > To: Lu, Wenzhuo > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v3 1/7] lib/librte_ether: modify the >

[dpdk-dev] [PATCH v3] mem: command line option to delete hugepage backing files

2015-10-23 Thread Sergio Gonzalez Monroy
On 22/10/2015 17:03, shesha Sreenivasamurthy (shesha) wrote: > Sergio, >Your comment regarding remap_all_functions is correct and can be fixed > by unlinking in remap_all_hugepages() too. However, regarding you comment > that ?unmap_unneeded_hugepages? will fail ? in the >

[dpdk-dev] [PATCH v4 1/7] lib/librte_ether: modify the structures for fdir new modes

2015-10-23 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Chilikin, Andrey > Sent: Friday, October 23, 2015 11:39 AM > To: Lu, Wenzhuo; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 1/7] lib/librte_ether: modify the > structures for fdir new modes > > I would

[dpdk-dev] [PATCH v4 1/7] lib/librte_ether: modify the structures for fdir new modes

2015-10-23 Thread Chilikin, Andrey
I would suggest rearranging members of rte_eth_fdir_tunnel_type to set RTE_FDIR_TUNNEL_TYPE_UNKNOWN=0 so any global/static variables or variables after memset(0) would have unknown type. Regards, Andrey > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of

[dpdk-dev] [PATCH v2 1/1] vhost_xen: fix compile error in main.c

2015-10-23 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bernard Iremonger > Sent: Thursday, October 22, 2015 2:22 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 1/1] vhost_xen: fix compile error in main.c > > changes in v2: > update release notes > >

  1   2   >