[dpdk-dev] [PATCH v15 4/4] examples: new example: l2fwd-ethtool

2015-07-13 Thread Liang-Min Larry Wang
The example includes an ethtool library and two applications: one application is a non- DPDK process (nic-control) and the other is a DPDK l2fwd applicaiton (l2fwd-app). The nic-control process sends ethtool alike device management requests to l2fwd-app through a named pipe IPC. This example is

[dpdk-dev] [PATCH v15 3/4] igb: add ops to support ethtool ops

2015-07-13 Thread Liang-Min Larry Wang
add function to support ethtool ops: - set_mac_addr - get_reg_length - get_regs - get_eeprom_length - get_eeprom - set_eeprom Signed-off-by: Liang-Min Larry Wang --- drivers/net/e1000/igb_ethdev.c | 175 drivers/net/e1000/igb_regs.h | 223

[dpdk-dev] [PATCH v15 2/4] ixgbe: add ops to support ethtool ops

2015-07-13 Thread Liang-Min Larry Wang
add function to support ethtool ops: - set_mac_addr - get_reg_length - get_regs - get_eeprom_length - get_eeprom - set_eeprom Signed-off-by: Liang-Min Larry Wang --- drivers/net/ixgbe/ixgbe_ethdev.c | 178 +- drivers/net/ixgbe/ixgbe_regs.h | 376

[dpdk-dev] [PATCH v15 1/4] ethdev: add apis to support access device info

2015-07-13 Thread Liang-Min Larry Wang
add new apis: - rte_eth_dev_default_mac_addr_set - rte_eth_dev_get_reg_length - rte_eth_dev_get_reg_info - rte_eth_dev_get_eeprom_length - rte_eth_dev_get_eeprom - rte_eth_dev_set_eeprom to enable reading device parameters (mac-addr, register, eeprom) based upon ethtool alike data parameter

[dpdk-dev] [PATCH v5] pcap: add support for rx and tx byte counters

2015-07-13 Thread Thomas Monjalon
> > Added RX and TX bytes counter support to the PCAP statistics. > > Added TX counter support for pcap dumper and interface functions. > > Renamed RX and TX packet counters for consistency. > > > > Signed-off-by: Klaus Degner > > Thanks. > > Tested-by: John McNamara > Acked-by: John McNamara

[dpdk-dev] [PATCH v2] hash: rename unused field to "reserved"

2015-07-13 Thread Thomas Monjalon
2015-07-13 17:38, Bruce Richardson: > The cuckoo hash has a fixed number of entries per bucket, so the > configuration parameter for this is unused. We change this field in the > parameters struct to "reserved" to indicate that there is now no such > parameter value, while at the same time keeping

[dpdk-dev] [PATCH v13 08/14] eal/bsd: dummy for new intr definition

2015-07-13 Thread Thomas Monjalon
2015-06-19 12:00, Cunming Liang: > To make bsd compiling happy with new intr changes. This patch doesn't make FreeBSD happy. DPDK works on Linux and FreeBSD. Why not adopt an API which could be implemented for FreeBSD, instead of being tightly linked to Linux epoll?

[dpdk-dev] [PATCH v13 06/14] eal/linux: standalone intr event fd create support

2015-07-13 Thread Thomas Monjalon
2015-06-19 12:00, Cunming Liang: > +/** > + * It enables the fastpath event fds if it's necessary. What means fastpath here? > + * It creates event fds when multi-vectors allowed, > + * otherwise it multiplexes the single event fds. Maybe a reference to allow multi-vectors is needed. > + * > +

[dpdk-dev] [PATCH v13 02/14] eal/linux: add rte_epoll_wait/ctl support

2015-07-13 Thread Thomas Monjalon
2015-06-19 12:00, Cunming Liang: > +int > +rte_epoll_wait(int epfd, struct rte_epoll_event *events, > +int maxevents, int timeout) > +{ > + struct epoll_event evs[maxevents]; > + int rc; > + > + if (!events) { > + RTE_LOG(ERR, EAL, "rte_epoll_event can't be

[dpdk-dev] [PATCH v13 01/14] eal/linux: add interrupt vectors support in intr_handle

2015-07-13 Thread Thomas Monjalon
2015-06-19 12:00, Cunming Liang: > @@ -58,6 +60,10 @@ struct rte_intr_handle { > }; > int fd; /**< interrupt event file descriptor */ > enum rte_intr_handle_type type; /**< handle type */ > + uint32_t max_intr; /**< max interrupt requested */ > + uint32_t

[dpdk-dev] [PATCH v10 19/19] mbuf: remove old packet type bit masks

2015-07-13 Thread Thomas Monjalon
2015-07-13 16:25, Zhang, Helin: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2015-07-10 00:31, Helin Zhang: > > > As unified packet types are used instead, those old bit masks and the > > > relevant macros for packet type indication need to be removed. > > > > It breaks mlx4

[dpdk-dev] [PATCH v2] MAINTAINERS: claim responsibility for virtio PMD and vhost library

2015-07-13 Thread Huawei Xie
As orignal author of virtio PMD(coauthor with Rashmin) and vhost user, claim responsibility for virtio PMD, vhost lib and vhost example. v2 changes: would claim xenvirt responsibility in another patch Signed-off-by: Huawei Xie --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)

[dpdk-dev] [PATCH v7 1/7] hash: replace existing hash library with cuckoo hash implementation

2015-07-13 Thread Thomas Monjalon
2015-07-13 17:14, Bruce Richardson: > On Mon, Jul 13, 2015 at 05:11:54PM +0100, Bruce Richardson wrote: > > On Mon, Jul 13, 2015 at 12:29:53AM +0200, Thomas Monjalon wrote: > > > 2015-07-11 01:18, Pablo de Lara: > > > > The main change when creating a new table is that the number of entries > > >

[dpdk-dev] [PATCH v10 19/19] mbuf: remove old packet type bit masks

2015-07-13 Thread Thomas Monjalon
2015-07-10 00:31, Helin Zhang: > As unified packet types are used instead, those old bit masks and > the relevant macros for packet type indication need to be removed. It breaks mlx4 and cxgbe drivers. The mlx4 driver didn't have the chance to be updated in this series. Adrien, please, could you

[dpdk-dev] [PATCH v10 19/19] mbuf: remove old packet type bit masks

2015-07-13 Thread Zhang, Helin
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, July 13, 2015 9:13 AM > To: Zhang, Helin > Cc: dev at dpdk.org; Adrien Mazarguil > Subject: Re: [dpdk-dev] [PATCH v10 19/19] mbuf: remove old packet type bit > masks > > 2015-07-10 00:31,

[dpdk-dev] [PATCH v10 01/19] mbuf: redefine packet_type in rte_mbuf

2015-07-13 Thread Thomas Monjalon
2015-07-10 00:31, Helin Zhang: > To avoid breaking ABI compatibility, all the changes would be enabled by > RTE_NEXT_ABI, > which is disabled by default. It is enabled by default. This comment will be removed from all patches of the series.

[dpdk-dev] [PATCH v2] hash: rename unused field to "reserved"

2015-07-13 Thread Bruce Richardson
The cuckoo hash has a fixed number of entries per bucket, so the configuration parameter for this is unused. We change this field in the parameters struct to "reserved" to indicate that there is now no such parameter value, while at the same time keeping ABI consistency. Fixes: 48a399119619

[dpdk-dev] [PATCH] hash: rename unused field to "reserved"

2015-07-13 Thread Bruce Richardson
On Mon, Jul 13, 2015 at 05:25:51PM +0100, Bruce Richardson wrote: > The cuckoo hash has a fixed number of entries per bucket, so the > configuration parameter for this is unused. We change this field in the > parameters struct to "reserved" to indicate that there is now no such > parameter value,

[dpdk-dev] [PATCH v7 1/7] hash: replace existing hash library with cuckoo hash implementation

2015-07-13 Thread Bruce Richardson
On Mon, Jul 13, 2015 at 06:20:08PM +0200, Thomas Monjalon wrote: > 2015-07-13 17:14, Bruce Richardson: > > On Mon, Jul 13, 2015 at 05:11:54PM +0100, Bruce Richardson wrote: > > > On Mon, Jul 13, 2015 at 12:29:53AM +0200, Thomas Monjalon wrote: > > > > 2015-07-11 01:18, Pablo de Lara: > > > > > The

[dpdk-dev] [PATCH] hash: rename unused field to "reserved"

2015-07-13 Thread Bruce Richardson
The cuckoo hash has a fixed number of entries per bucket, so the configuration parameter for this is unused. We change this field in the parameters struct to "reserved" to indicate that there is now no such parameter value, while at the same time keeping ABI consistency. Fixes: 48a399119619

[dpdk-dev] [PATCH v7 1/7] hash: replace existing hash library with cuckoo hash implementation

2015-07-13 Thread Bruce Richardson
On Mon, Jul 13, 2015 at 12:29:53AM +0200, Thomas Monjalon wrote: > 2015-07-11 01:18, Pablo de Lara: > > The main change when creating a new table is that the number of entries > > per bucket is fixed now, so its parameter is ignored now > > (still there to maintain the same parameters structure).

[dpdk-dev] [PATCH v3 2/8] ring: dynamic rss configuration

2015-07-13 Thread Thomas Monjalon
2015-07-13 14:43, Kulasek, TomaszX: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2015-06-29 16:50, Tomasz Kulasek: > > > This implementation allows to set and read RSS configuration for ring > > > device, and is used to validate right values propagation over the > > > slaves,

[dpdk-dev] [PATCH v5] pcap: add support for rx and tx byte counters

2015-07-13 Thread Klaus Degner
Added RX and TX bytes counter support to the PCAP statistics. Added TX counter support for pcap dumper and interface functions. Renamed RX and TX packet counters for consistency. Signed-off-by: Klaus Degner --- drivers/net/pcap/rte_eth_pcap.c | 38 ++ 1 file

[dpdk-dev] [PATCH v10 19/19] mbuf: remove old packet type bit masks

2015-07-13 Thread Zhang, Helin
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, July 13, 2015 9:28 AM > To: Zhang, Helin > Cc: dev at dpdk.org; Adrien Mazarguil; Rahul Lakkireddy > Subject: Re: [dpdk-dev] [PATCH v10 19/19] mbuf: remove old packet type bit > masks > >

[dpdk-dev] [PATCH v10 19/19] mbuf: remove old packet type bit masks

2015-07-13 Thread Zhang, Helin
Hi Thomas > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, July 13, 2015 9:13 AM > To: Zhang, Helin > Cc: dev at dpdk.org; Adrien Mazarguil > Subject: Re: [dpdk-dev] [PATCH v10 19/19] mbuf: remove old packet type bit > masks > >

[dpdk-dev] [PATCH v5 00/11] Introducing the TILE-Gx platform

2015-07-13 Thread Thomas Monjalon
2015-07-09 16:25, Zhigang Lu: > This series adds support for the EZchip TILE-Gx family of SoCs. The > architecture port in itself is fairly straight forward due to its > reliance on generics for the most part. > > In addition to adding TILE-Gx architecture specific code, this series > includes a

[dpdk-dev] [PATCH v7 2/2] e1000: free queue memory in close functions

2015-07-13 Thread Zhang, Helin
> -Original Message- > From: Iremonger, Bernard > Sent: Friday, July 3, 2015 7:38 AM > To: dev at dpdk.org > Cc: Zhang, Helin; Qiu, Michael; Iremonger, Bernard > Subject: [PATCH v7 2/2] e1000: free queue memory in close functions > > add new functions igb_dev_free_queues() and

[dpdk-dev] [PATCH v7 1/2] e1000: igb and em1000 PCI Port Hotplug changes

2015-07-13 Thread Zhang, Helin
> -Original Message- > From: Iremonger, Bernard > Sent: Friday, July 3, 2015 7:38 AM > To: dev at dpdk.org > Cc: Zhang, Helin; Qiu, Michael; Iremonger, Bernard > Subject: [PATCH v7 1/2] e1000: igb and em1000 PCI Port Hotplug changes > > This patch depends on the Port Hotplug Framework.

[dpdk-dev] [PATCH] pcap: add support for rx and tx byte counters

2015-07-13 Thread Klaus Degner
add support for rx and tx byte counters added support for tx pcap dumper and interface renamed packet counters for consistency Signed-off-by: Klaus Degner --- drivers/net/pcap/rte_eth_pcap.c | 38 ++ 1 file changed, 30 insertions(+), 8 deletions(-) diff

[dpdk-dev] [PATCH v5] pcap: add support for rx and tx byte counters

2015-07-13 Thread Mcnamara, John
> -Original Message- > From: Klaus Degner [mailto:kd at allegro-packets.com] > Sent: Monday, July 13, 2015 3:54 PM > To: dev at dpdk.org > Cc: Mcnamara, John; Klaus Degner > Subject: [PATCH v5] pcap: add support for rx and tx byte counters > > Added RX and TX bytes counter support to the

[dpdk-dev] vmxnet3 rte_eth_dev_info_get question

2015-07-13 Thread Sanford, Robert
Hi Stephen, Any thoughts/plans about updating rte_eth_dev_info members rx_offload_capa and tx_offload_capa in vmxnet3_dev_info_get()? The reason I ask: We would like to use TX/RX burst callout hooks, but only for eth-devs that don't support desired features (e.g., VLAN insert/strip, TCP

[dpdk-dev] [PATCH v5 9/9] doc: Add documentation for proc_info

2015-07-13 Thread Maryam Tahhan
Add a guide for the proc_info application. Signed-off-by: Maryam Tahhan --- doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/proc_info.rst | 71 ++ 2 files changed, 72 insertions(+) create mode 100644 doc/guides/sample_app_ug/proc_info.rst

[dpdk-dev] [PATCH v5 8/9] app: add a new app proc_info

2015-07-13 Thread Maryam Tahhan
proc_info displays statistics information including extended stats for given DPDK ports and dumps the memory information for DPDK. Signed-off-by: Maryam Tahhan --- MAINTAINERS| 4 + app/Makefile | 1 + app/proc_info/Makefile | 45 +++ app/proc_info/main.c | 354

[dpdk-dev] [PATCH v5 7/9] app: remove dump_cfg

2015-07-13 Thread Maryam Tahhan
Remove the dump_cfg application, this will be replaced by a new app called proc_info that will implement the same functionality as dump_cfg and extend it to retrieve statistics for DPDK ports. Signed-off-by: Maryam Tahhan --- app/Makefile | 1 - app/dump_cfg/Makefile | 45

[dpdk-dev] [PATCH v5 6/9] ixgbe: return more errors in ierrors

2015-07-13 Thread Maryam Tahhan
ierrors only included a base set of error statistics, this patch adds additional error registers to ierrors. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c

[dpdk-dev] [PATCH v5 5/9] ixgbe: add NIC specific stats removed from ethdev

2015-07-13 Thread Maryam Tahhan
Add the NIC/HW specific stats that were removed from rte_ethdev.c to the extended stats in ixgbe. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 31 ++- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git

[dpdk-dev] [PATCH v5 3/9] ethdev: expose extended error stats

2015-07-13 Thread Maryam Tahhan
Extend rte_eth_xstats_get to retrieve additional stats from the device driver as well the ethdev generic stats. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 7 --- lib/librte_ether/rte_ethdev.c| 25 - 2 files changed, 20 insertions(+), 12

[dpdk-dev] [PATCH v5 2/9] ixgbe: add functions to get and reset xstats

2015-07-13 Thread Maryam Tahhan
Implement ixgbe_dev_xstats_reset and ixgbe_dev_xstats_get. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 87 1 file changed, 87 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index

[dpdk-dev] [PATCH v5 1/9] ixgbe: move stats register reads to a new function

2015-07-13 Thread Maryam Tahhan
Move stats register reads to ixgbe_read_stats_registers() as it will be used by the functions to retrieve stats and extended stats. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 64 +++- 1 file changed, 44 insertions(+), 20 deletions(-)

[dpdk-dev] [PATCH v7 0/9] Dynamic memzones

2015-07-13 Thread Thomas Monjalon
2015-07-03 10:55, Sergio Gonzalez Monroy: > Current implemetation allows reserving/creating memzones but not the opposite > (unreserve/free). This affects mempools and other memzone based objects. > > From my point of view, implementing free functionality for memzones would look > like malloc

[dpdk-dev] [PATCH v3] pcap: add support for rx and tx byte counters

2015-07-13 Thread Klaus Degner
Hi John, Thank you again for your review. I will work on a v4 with your input. Klaus Am 13.07.15 um 14:56 schrieb Mcnamara, John: >> -Original Message- >> From: Klaus Degner [mailto:kd at allegro-packets.com] >> Sent: Friday, July 10, 2015 8:13 PM >> To: dev at dpdk.org >> Cc: Mcnamara,

[dpdk-dev] [PATCH v3 2/8] ring: dynamic rss configuration

2015-07-13 Thread Kulasek, TomaszX
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, July 13, 2015 14:36 > To: Kulasek, TomaszX > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 2/8] ring: dynamic rss configuration > > 2015-06-29 16:50, Tomasz Kulasek: > > This

[dpdk-dev] [PATCH v3 2/8] ring: dynamic rss configuration

2015-07-13 Thread Thomas Monjalon
2015-06-29 16:50, Tomasz Kulasek: > This implementation allows to set and read RSS configuration for ring > device, and is used to validate right values propagation over the slaves, > in test units for dynamic RSS configuration for bonding. > > It have no impact on packet processing by ring

[dpdk-dev] [PATCH v3] vfio: Fix overflow while assigning vfio BAR region offset and size

2015-07-13 Thread Rahul Lakkireddy
When using vfio, the probe fails for BAR > 0 after the commit-id 90a1633b2 (eal/linux: allow to map BARs with MSI-X tables). While debugging further, found that the BAR region offset and size read from vfio are u64, but are assigned to uint32_t variables. This results in the u64 value getting

[dpdk-dev] [PATCH v3 2/2] librte_ether: release queue array memory in close function

2015-07-13 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- lib/librte_ether/rte_ethdev.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c index 270697e..04b6212 100644 --- a/lib/librte_ether/rte_ethdev.c +++ b/lib/librte_ether/rte_ethdev.c @@

[dpdk-dev] [PATCH v3 1/2] librte_ether: release memory in uninit function.

2015-07-13 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- lib/librte_ether/rte_ethdev.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c index b79e5f79..270697e 100644 --- a/lib/librte_ether/rte_ethdev.c +++

[dpdk-dev] [PATCH v3 0/2] librte_ether release memory

2015-07-13 Thread Bernard Iremonger
Changes in V3: Release queue array memory in rte_eth_dev_close() function Changes in V2: do not free mac_addrs and hash_mac_addrs in rte_eth_dev_uninit() function. Bernard Iremonger (2): librte_ether: release memory in uninit function. librte_ether: release queue array memory in close

[dpdk-dev] [PATCH v4 8/8] app: add a new app proc_info

2015-07-13 Thread Tahhan, Maryam
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, July 9, 2015 2:40 AM > To: Tahhan, Maryam > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 8/8] app: add a new app proc_info > > 2015-07-05 18:40, Maryam Tahhan: > > proc_info displays statistics information

[dpdk-dev] [PATCH v3 6/8] examples: dynamic rss configuration for bonding

2015-07-13 Thread Thomas Monjalon
2015-06-29 16:50, Tomasz Kulasek: > This application allows you to test RSS configuration for bonded devices > changing configuration dynamically, during receiving packets on slaves and > observe the changes in its distribution over queues. > > After initialization process, all accessible ports

[dpdk-dev] [PATCH v3 4/8] bonding: queue stats mapping

2015-07-13 Thread Thomas Monjalon
2015-06-29 16:50, Tomasz Kulasek: > + for (j = 0; j < RTE_ETHDEV_QUEUE_STAT_CNTRS; j++) { > + stats->q_ipackets[j] += slave_stats.q_ipackets[j]; > + stats->q_opackets[j] += slave_stats.q_ipackets[j]; > + stats->q_ibytes[j] +=

[dpdk-dev] [PATCH v3 0/8] Dynamic RSS Configuration for Bonding

2015-07-13 Thread Thomas Monjalon
2015-07-01 11:05, Declan Doherty: > On 29/06/15 15:50, Tomasz Kulasek wrote: > > OVERVIEW > > > > 1) Setting .rxmode.mq_mode for bonding device to ETH_MQ_RX_RSS makes bonding > > device fully RSS-capable, so all slaves are synchronized with its > > configuration. > > This mode is

[dpdk-dev] [PATCH v3] pcap: add support for rx and tx byte counters

2015-07-13 Thread Mcnamara, John
> -Original Message- > From: Klaus Degner [mailto:kd at allegro-packets.com] > Sent: Friday, July 10, 2015 8:13 PM > To: dev at dpdk.org > Cc: Mcnamara, John; Klaus Degner > Subject: [PATCH v3] pcap: add support for rx and tx byte counters > > add support for rx and tx byte counters in

[dpdk-dev] [PATCH] ethdev: fix ABI breakage in lro code

2015-07-13 Thread Thomas Monjalon
2015-07-13 06:42, Neil Horman: > On Mon, Jul 13, 2015 at 11:26:25AM +0100, John McNamara wrote: > > Fix for ABI breakage introduced in LRO addition. Moves > > lro bitfield to the end of the struct/member. > > > > Fixes: 8eecb3295aed (ixgbe: add LRO support) > > > > Signed-off-by: John McNamara

[dpdk-dev] [PATCH v2] MAINTAINERS: claim responsibility for virtio PMD and vhost library

2015-07-13 Thread Thomas Monjalon
2015-07-13 18:22, Huawei Xie: > As orignal author of virtio PMD(coauthor with Rashmin) and vhost user, > claim responsibility for virtio PMD, vhost lib and vhost example. Acked-by: Thomas Monjalon Thanks Huawei for your work and responsibility. PS: as a maintainer, you'll have to take care

[dpdk-dev] [PATCH v3 4/8] bonding: queue stats mapping

2015-07-13 Thread Kulasek, TomaszX
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, July 13, 2015 13:18 > To: Kulasek, TomaszX > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 4/8] bonding: queue stats mapping > > 2015-06-29 16:50, Tomasz Kulasek: > > +

[dpdk-dev] [PATCH] e1000: add missing 82583v pci id

2015-07-13 Thread Thomas Monjalon
> > Add support for 82583V (E1000) PCI device id. > > > > Signed-off-by: James Davidson > > Signed-off-by: Stephen Hemminger > Acked-by: Wenzhuo Lu Applied, thanks

[dpdk-dev] [PATCH] MAINTAINERS: claim responsability for intel e1000

2015-07-13 Thread Thomas Monjalon
> Intel e1000 > +M: Wenzhuo Lu > F: drivers/net/e1000/ > F: doc/guides/nics/e1000em.rst > F: doc/guides/nics/intel_vf.rst Acked-by: Thomas Monjalon Applied, thanks for taking this responsibility.

[dpdk-dev] [PATCH] ethdev: fix ABI breakage in lro code

2015-07-13 Thread John McNamara
Fix for ABI breakage introduced in LRO addition. Moves lro bitfield to the end of the struct/member. Fixes: 8eecb3295aed (ixgbe: add LRO support) Signed-off-by: John McNamara --- lib/librte_ether/rte_ethdev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[dpdk-dev] [PATCH] mk: fix shared lib build with stable abi

2015-07-13 Thread Thomas Monjalon
When next ABI is enabled, the shared lib extension is .so.x.1. That's why a double basename was introduced. But the "ifeq NEXT_ABI" was forgotten, removing the .so extension when NEXT_ABI is disabled. It was preventing the linker from finding the .so libraries. Fixes: 506f51cc0da7 ("mk: enable

[dpdk-dev] [PATCH v3] mk: enable next abi preview

2015-07-13 Thread Thomas Monjalon
2015-07-13 07:32, Mcnamara, John: > This change to enable CONFIG_RTE_NEXT_ABI=n breaks validate-abi.sh > because master won't compile with CONFIG_RTE_BUILD_SHARED_LIB=y and > CONFIG_RTE_NEXT_ABI=n: My bad. I thought I was testing both cases (next ABI and stable one) but it appears only the "next

[dpdk-dev] [PATCH] ethdev: fix ABI breakage in lro code

2015-07-13 Thread Mcnamara, John
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Monday, July 13, 2015 11:42 AM > To: Mcnamara, John > Cc: dev at dpdk.org; vladz at cloudius-systems.com > Subject: Re: [dpdk-dev] [PATCH] ethdev: fix ABI breakage in lro code > > On Mon, Jul 13, 2015 at

[dpdk-dev] [PATCH] MAINTAINERS: claim responsability for intel e1000

2015-07-13 Thread Wenzhuo Lu
Signed-off-by: Wenzhuo Lu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 75a27e9..e6de6f0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -220,6 +220,7 @@ Cisco enic F: drivers/net/enic/ Intel e1000 +M: Wenzhuo Lu F: drivers/net/e1000/ F:

[dpdk-dev] [PATCH] mk: enable next abi in static libs

2015-07-13 Thread Mcnamara, John
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Saturday, July 11, 2015 3:20 PM > To: Mcnamara, John > Cc: Thomas Monjalon; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mk: enable next abi in static libs > > On Fri, Jul 10, 2015 at 04:07:53PM +,

[dpdk-dev] [PATCH] ethdev: fix ABI breakage in lro code

2015-07-13 Thread Neil Horman
On Mon, Jul 13, 2015 at 10:47:03AM +, Mcnamara, John wrote: > > -Original Message- > > From: Neil Horman [mailto:nhorman at tuxdriver.com] > > Sent: Monday, July 13, 2015 11:42 AM > > To: Mcnamara, John > > Cc: dev at dpdk.org; vladz at cloudius-systems.com > > Subject: Re: [dpdk-dev]

[dpdk-dev] [PATCH v13 02/14] eal/linux: add rte_epoll_wait/ctl support

2015-07-13 Thread Thomas Monjalon
2015-06-19 12:00, Cunming Liang: > --- a/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h > +++ b/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h > @@ -51,6 +51,32 @@ enum rte_intr_handle_type { > RTE_INTR_HANDLE_MAX > }; > > +#define RTE_INTR_EVENT_ADD

[dpdk-dev] [PATCH] i40e: fix the VF rss issue when nb_rx_queue is less than nb_tx_queue

2015-07-13 Thread Jingjing Wu
From: "jingjing.wu" I40e VF driver uses the num_queue_pairs in vf structure to construct queue index look up table. When the nb_rx_queue is less than nb_tx_queue, num_queue_pairs is equal to nb_tx_queue. It will make the table use invalid queue index, then application

[dpdk-dev] [PATCH] drivers/net/e1000/igb_ethdev.c:fix eth_igb_add_del_flex_filter

2015-07-13 Thread Lu, Wenzhuo
Hi Motomu, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of motomu > Sent: Monday, May 25, 2015 12:18 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] drivers/net/e1000/igb_ethdev.c:fix > eth_igb_add_del_flex_filter > > From: Motomu Utsumi > > in add

[dpdk-dev] [PATCH] e1000: add missing 82583v pci id

2015-07-13 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen Hemminger > Sent: Monday, May 4, 2015 11:28 PM > To: dev at dpdk.org > Cc: James Davidson > Subject: [dpdk-dev] [PATCH] e1000: add missing 82583v pci id > > From: James Davidson > > Add support

[dpdk-dev] [PATCH v3] mk: enable next abi preview

2015-07-13 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Wednesday, July 8, 2015 5:44 PM > To: nhorman at tuxdriver.com > Cc: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3] mk: enable next abi preview > > --- a/scripts/validate-abi.sh > +++

[dpdk-dev] [PATCH] ethdev: fix ABI breakage in lro code

2015-07-13 Thread Neil Horman
On Mon, Jul 13, 2015 at 11:26:25AM +0100, John McNamara wrote: > Fix for ABI breakage introduced in LRO addition. Moves > lro bitfield to the end of the struct/member. > > Fixes: 8eecb3295aed (ixgbe: add LRO support) > > Signed-off-by: John McNamara > --- > lib/librte_ether/rte_ethdev.h | 4

[dpdk-dev] [PATCH v3 0/8] Dynamic RSS Configuration for Bonding

2015-07-13 Thread Thomas Monjalon
2015-07-13 13:03, Thomas Monjalon: > 2015-07-01 11:05, Declan Doherty: > > On 29/06/15 15:50, Tomasz Kulasek wrote: > > > OVERVIEW > > > > > > 1) Setting .rxmode.mq_mode for bonding device to ETH_MQ_RX_RSS makes > > > bonding > > > device fully RSS-capable, so all slaves are synchronized

[dpdk-dev] [PATCH v5 4/5] vhost: eventfd_link: replace copy-pasted sys_close

2015-07-13 Thread Xie, Huawei
On 7/11/2015 11:08 PM, Pavel Boldin wrote: > Xie, All, > > Please find my comments intermixed below. > > On Fri, Jul 10, 2015 at 6:42 PM, Xie, Huawei > wrote: > > Don't know why previous mail get messed. > > On 7/10/2015 10:50 PM, Pavel Boldin wrote: >

[dpdk-dev] [PATCH] virtio: fix the vq size issue

2015-07-13 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Friday, July 10, 2015 10:12 PM > To: Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] virtio: fix the vq size issue > > 2015-07-10 14:05, Xie, Huawei: > > Thomas: >

[dpdk-dev] [PATCH v7 0/7] Cuckoo hash - part 3 of Cuckoo hash

2015-07-13 Thread Thomas Monjalon
2015-07-11 01:18, Pablo de Lara: > This patchset is to replace the existing hash library with > a more efficient and functional approach, using the Cuckoo hash > method to deal with collisions. This method is based on using > two different hash functions to have two possible locations > in the

[dpdk-dev] [PATCH v7 6/7] doc: announce ABI change of librte_hash

2015-07-13 Thread Thomas Monjalon
2015-07-11 01:18, Pablo de Lara: > Two of the macros in rte_hash.h are now deprecated, so this patch > adds notice that they will be removed in 2.2. [...] > +* The Macros #RTE_HASH_BUCKET_ENTRIES_MAX and #RTE_HASH_KEY_LENGTH_MAX are > deprecated and will be removed with version 2.2. These macros

[dpdk-dev] [PATCH v7 2/7] hash: add new function rte_hash_reset

2015-07-13 Thread Thomas Monjalon
2015-07-11 01:18, Pablo de Lara: > --- a/lib/librte_hash/rte_hash_version.map > +++ b/lib/librte_hash/rte_hash_version.map > @@ -18,3 +18,11 @@ DPDK_2.0 { > > local: *; > }; > + > +DPDK_2.1 { > + global: > + > + rte_hash_reset; > + > + local: *; > +} DPDK_2.0; The

[dpdk-dev] [PATCH v7 3/7] hash: add new functionality to store data in hash table

2015-07-13 Thread Thomas Monjalon
Hi Pablo, There is a remaining error below: 2015-07-11 01:18, Pablo de Lara: > +int > +rte_hash_lookup_bulk_data(const struct rte_hash *h, const void **keys, > + uint32_t num_keys, uint64_t *hit_mask, void *data[]) > +{ > + RETURN_IF_TRUE(((h == NULL) || (keys == NULL)

[dpdk-dev] [PATCH] ethdev: call rxtx callbacks in the order they were added

2015-07-13 Thread Thomas Monjalon
> Change the order that user supplied RX and TX callbacks are called > to the order that they were added (fifo). > > The previous calling order was the reverse of this (lifo) and was > counter intuitive for users. > > Signed-off-by: John McNamara Applied, thanks