[dpdk-dev] [PATCH v3 3/3] doc: add librte_pmd_mlx4 documentation

2015-02-25 Thread Adrien Mazarguil
This documentation covers implementation details, features and limitations, configuration, prerequisites and provides a usage example. Signed-off-by: Adrien Mazarguil --- MAINTAINERS | 1 + doc/guides/prog_guide/index.rst | 1 + doc/guides/prog_g

[dpdk-dev] [PATCH v14 12/13] eal/pci: Add rte_eal_dev_attach/detach() functions

2015-02-25 Thread Thomas Monjalon
2015-02-25 21:32, Tetsuya Mukawa: > 2015-02-25 20:21 GMT+09:00 Thomas Monjalon : > > 2015-02-25 13:04, Tetsuya Mukawa: > >> --- a/lib/librte_eal/common/eal_common_dev.c > >> +++ b/lib/librte_eal/common/eal_common_dev.c > >> @@ -32,10 +32,13 @@ > >> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POS

[dpdk-dev] [PATCH] eal: Clean up export of per_lcore__socket_id

2015-02-25 Thread Neil Horman
Theres no need to export this variable. Its set and queried from an API call that doesn't exist in the hot path. Instead just export the rte_socket_id symbol and make the variable private to protect it from type changes. We should do this with the other exported variables too, but I think its to

[dpdk-dev] [PATCH v1 0/2] eal: fix symbol missing in version map

2015-02-25 Thread Neil Horman
On Wed, Feb 25, 2015 at 02:39:33PM +0100, Thomas Monjalon wrote: > 2015-02-25 07:30, Neil Horman: > > On Wed, Feb 25, 2015 at 11:39:47AM +0800, Cunming Liang wrote: > > > These two patches are the fixing for the compling error when > > > CONFIG_RTE_BUILD_SHARED_LIB=y. > > > The root cause is *per_

[dpdk-dev] Looking forward to DPDK 2.1

2015-02-25 Thread Thomas Monjalon
Hi Siobhan, Thanks for contributing to the roadmap, the page http://dpdk.org/dev/roadmap will be updated soon. 2015-02-25 13:39, Butler, Siobhan A: > Hi all, > > The progress on DPDK 2.0 has been really positive and thanks to everyone for > contributing and helping to grow our community. We now

[dpdk-dev] [PATCH v14 12/13] eal/pci: Add rte_eal_dev_attach/detach() functions

2015-02-25 Thread Tetsuya Mukawa
On 2015/02/25 23:00, Thomas Monjalon wrote: > 2015-02-25 21:32, Tetsuya Mukawa: >> 2015-02-25 20:21 GMT+09:00 Thomas Monjalon : >>> 2015-02-25 13:04, Tetsuya Mukawa: --- a/lib/librte_eal/common/eal_common_dev.c +++ b/lib/librte_eal/common/eal_common_dev.c @@ -32,10 +32,13 @@ *

[dpdk-dev] [PATCH v3 0/3] Mellanox ConnectX-3 PMD

2015-02-25 Thread Thomas Monjalon
> This PMD adds support for Mellanox ConnectX-3-based adapters through the > verbs framework. It relies on external libraries (libibverbs and user space > driver libmlx4) and kernel support to do so. > > While these libraries and kernel modules are available on OpenFabrics > Alliance's website [1]

[dpdk-dev] [PATCH v3] app/test: add crc32 algorithms equivalence check

2015-02-25 Thread Thomas Monjalon
> > New function test_crc32_hash_alg_equiv() checks whether software, > > 4-byte operand and 8-byte operand versions of CRC32 hash function > > implementations return the same result value. > > > > Signed-off-by: Yerden Zhumabekov > > Acked-by: Bruce Richardson Applied, thanks

[dpdk-dev] [PATCH v2] ixgbe: fix build with gcc 5

2015-02-25 Thread Thomas Monjalon
> > gcc 5 supports a new logical-not-parentheses warning which > > ixgbe_common.c triggers, causing build failure with -Werror. > > Since this source must not be modified, silence the warning instead. > > > > Signed-off-by: Panu Matilainen > > Acked-by: Konstantin Ananyev Applied, thanks

[dpdk-dev] [PATCH v5 5/6] eal: add per rx queue interrupt handling based on VFIO

2015-02-25 Thread Zhou, Danny
From: David Marchand [mailto:david.march...@6wind.com] Sent: Wednesday, February 25, 2015 6:22 PM To: Zhou, Danny Cc: dev at dpdk.org; Liang, Cunming Subject: Re: [dpdk-dev] [PATCH v5 5/6] eal: add per rx queue interrupt handling based on VFIO Hello Danny, On Wed, Feb 25, 2015 at 7:58 AM, Zhou

[dpdk-dev] [PATCH v5 5/6] eal: add per rx queue interrupt handling based on VFIO

2015-02-25 Thread Thomas Monjalon
Please Danny, click on the button "uninstall Outlook" or configure it to have quote marks. This email is really hard to read. 2015-02-25 15:29, Zhou, Danny: > From: David Marchand [mailto:david.marchand at 6wind.com] > Sent: Wednesday, February 25, 2015 6:22 PM > To: Zhou, Danny > Cc: dev at dpdk.

[dpdk-dev] [PATCH v5 5/6] eal: add per rx queue interrupt handling based on VFIO

2015-02-25 Thread David Marchand
On Wed, Feb 25, 2015 at 4:29 PM, Zhou, Danny wrote: > > > > > *From:* David Marchand [mailto:david.marchand at 6wind.com] > *Sent:* Wednesday, February 25, 2015 6:22 PM > *To:* Zhou, Danny > *Cc:* dev at dpdk.org; Liang, Cunming > *Subject:* Re: [dpdk-dev] [PATCH v5 5/6] eal: add per rx queue int

[dpdk-dev] : ixgbe: why bulk allocation is not used for a scattered Rx flow?

2015-02-25 Thread Vlad Zolotarov
On 02/25/15 13:02, Bruce Richardson wrote: > On Wed, Feb 25, 2015 at 11:40:36AM +0200, Vlad Zolotarov wrote: >> Hi, I have a question about the "scattered Rx" feature: why enabling it >> disabled "bulk allocation" feature? > The "bulk-allocation" feature is one where a more optimized RX code path

[dpdk-dev] [PATCH v2 4/7] rte_sched: don't clear statistics when read

2015-02-25 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, February 24, 2015 8:07 PM > To: Stephen Hemminger > Cc: dev at dpdk.org; Stephen Hemminger > Subject: Re: [dpdk-dev] [PATCH v2 4/7] rte_sched: don't clear statistics when > read

[dpdk-dev] [PATCH 2/3] doc: add docs for basic forwarding skeleton app

2015-02-25 Thread John McNamara
Added a sample application guide for the basic forwarding /skeleton app. Signed-off-by: John McNamara --- MAINTAINERS |3 + doc/guides/sample_app_ug/index.rst|3 +- doc/guides/sample_app_ug/skeleton.rst | 338 + 3 files chang

[dpdk-dev] [PATCH 3/3] doc: add docs for the rxtx_callbacks sample app

2015-02-25 Thread John McNamara
Added a sample application guide for the rxtx_callbacks app. Signed-off-by: John McNamara --- MAINTAINERS |1 + doc/guides/sample_app_ug/index.rst |1 + doc/guides/sample_app_ug/rxtx_callbacks.rst | 251 +++ 3 files change

[dpdk-dev] [PATCH 0/3] additional sample app guides

2015-02-25 Thread John McNamara
This patchset includes two new sample app guides. The first is for the existing basic forwarding/skeleton application. The second is for the recently added rxtx_callbacks sample application. John McNamara (3): examples/skeleton: minor refactoring to help documentation doc: add docs for b

[dpdk-dev] [PATCH 1/3] examples/skeleton: minor refactoring to help documentation

2015-02-25 Thread John McNamara
Minor refactoring and comments to make the sample app and code examples clearer for the sample app guide. Signed-off-by: John McNamara --- examples/skeleton/basicfwd.c | 77 +++--- 1 files changed, 57 insertions(+), 20 deletions(-) diff --git a/examples/ske

[dpdk-dev] [PATCH] maintainers: claim responsibility for timers

2015-02-25 Thread Sanford, Robert
Signed-off-by: Robert Sanford --- MAINTAINERS |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2eb7761..a2b53b3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -371,6 +371,7 @@ F: examples/vm_power_manager/ F: doc/guides/sample_app_ug/vm_power_

[dpdk-dev] [PATCH] eal: Clean up export of per_lcore__socket_id

2015-02-25 Thread Liang, Cunming
Hi Neil, Thanks for the cleanup. Does it better moving rte_socket_id() to eal_common_thread.c ? As it simply returns _socket_id, it's not necessary to have two copy in both linux and bsd. -Cunming > -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Wednesd

[dpdk-dev] [PATCH] eal: Clean up export of per_lcore__socket_id

2015-02-25 Thread Neil Horman
On Wed, Feb 25, 2015 at 11:54:51PM +, Liang, Cunming wrote: > Hi Neil, > > Thanks for the cleanup. > Does it better moving rte_socket_id() to eal_common_thread.c ? > As it simply returns _socket_id, it's not necessary to have two copy in both > linux and bsd. > > -Cunming > Sure, I can resp

[dpdk-dev] [PATCH v11 2/2] librte_pmd_null: Support port hotplug function

2015-02-25 Thread Stephen Hemminger
Build fails if HOTPLUG is disabled == Build lib/librte_ether CC rte_ethdev.o /var/src/dpdk/lib/librte_ether/rte_ethdev.c:430:1: error: ?rte_eth_dev_get_device_type? defined but not used [-Werror=unused-function] rte_eth_dev_get_device_type(uint8_t port_id) ^ /var/src/dpdk/lib/librte_ether/rte

[dpdk-dev] ixgbe vector mode not working.

2015-02-25 Thread Stephen Hemminger
On Wed, 25 Feb 2015 08:49:48 + "Liang, Cunming" wrote: > Hi Stephen, > > Thanks for the info, with rxd=4000, I can reproduce it. > On that time, it runs out of mbuf. > I'll follow up this issue. The first time I ran it, the code was configure rx/tx conf which was leftover from older version

[dpdk-dev] [PATCH 1/7] vmxnet3: enable VLAN filtering

2015-02-25 Thread Stephen Hemminger
Support the VLAN filter functionality of the VMXNET3 interface. Signed-off-by: Stephen Hemminger --- v2 -- incorporate comments from Yong Wang lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c | 105 +--- lib/librte_pmd_vmxnet3/vmxnet3_ethdev.h | 3 +- lib/librte_pmd_vmxnet3

[dpdk-dev] [PATCH 2/7] vmxnet3: remove mtu check

2015-02-25 Thread Stephen Hemminger
Remove check for packets greater than MTU. No other driver does this, it should be handled at higher layer Signed-off-by: Stephen Hemminger Acked-by: Yong Wang --- lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c | 2 -- lib/librte_pmd_vmxnet3/vmxnet3_ethdev.h | 1 - lib/librte_pmd_vmxnet3/vmxnet3_rxt

[dpdk-dev] [PATCH 3/7] vmxnet3: cleanup txq stats

2015-02-25 Thread Stephen Hemminger
There are several stats here which are never set, and have no way to be displayed. Assume in future xstats could be used. Signed-off-by: Stephen Hemminger --- lib/librte_pmd_vmxnet3/vmxnet3_ring.h | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/lib/librte_p

[dpdk-dev] [PATCH 4/7] vmxnet3: add support for multi-segment transmit

2015-02-25 Thread Stephen Hemminger
Change sending loop to support multi-segment mbufs. The VMXNET3 api has start-of-packet and end-packet flags, so it is not hard to send multi-segment mbuf's. Also, update descriptor in 32 bit value rather than toggling bitfields which is slower and error prone. Based on code in earlier driver, and

[dpdk-dev] [PATCH 5/7] vmxnet3: fix link state handling

2015-02-25 Thread Stephen Hemminger
The Intel version of VMXNET3 driver does not handle link state properly. The VMXNET3 API returns 1 if connected and 0 if disconnected. Also need to return correct value to indicate state change. Signed-off-by: Stephen Hemminger Acked-by: Yong Wang --- lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c | 5

[dpdk-dev] [PATCH 6/7] vmxnet3: support RSS and refactor offload

2015-02-25 Thread Stephen Hemminger
Refactor the logic to compute receive offload flags to a simpler function. And add support for putting RSS flow hash into packet. Signed-off-by: Stephen Hemminger Signed-off-by: Bill Hong --- lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 69 --- 1 file changed, 40 inse

[dpdk-dev] [PATCH 7/7] vmxnet3: support jumbo frames

2015-02-25 Thread Stephen Hemminger
Add support for linking multi-segment buffers together to handle Jumbo packets. Signed-off-by: Stephen Hemminger --- v2 -- add missing pieces from last version lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c | 3 +- lib/librte_pmd_vmxnet3/vmxnet3_ring.h | 2 + lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c

[dpdk-dev] [PATCH 1/4] xen: allow choosing dom0 support at runtime

2015-02-25 Thread Stephen Hemminger
On Thu, 26 Feb 2015 06:53:24 + "Liu, Jijiang" wrote: > Ok, thanks for the explanation. > > Could you replace 'internal_config.xen_dom0_support' with > 'is_xen_dom0_supported()' in the function rte_eal_hugepage_init()? Ok, but then as a function it would have to be exported as shared lib

<    1   2