[dpdk-dev] [PATCH v7 0/4] Fix vhost enqueue/dequeue issue

2015-06-16 Thread Ouyang, Changchun
Hi, Thomas > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, June 15, 2015 5:43 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v7 0/4] Fix vhost enqueue/dequeue issue > > 2015-06-09 09:03, Ouyang Changchu

[dpdk-dev] [RFC PATCH V2 2/2] drivers/net/virtio: check vq parameter

2015-06-16 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bernard Iremonger > Sent: Thursday, May 28, 2015 12:01 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [RFC PATCH V2 2/2] drivers/net/virtio: check vq > parameter > > If vq is NULL, there is a segmentation faul

[dpdk-dev] [PATCH 1/3] kni: minor opto

2015-06-16 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jay Rolette > Sent: Thursday, June 4, 2015 3:08 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 1/3] kni: minor opto > > Don't need the 'safe' version of list_for_each_entry() if you aren't deleting > f

[dpdk-dev] [PATCH 2/3] kni: minor opto

2015-06-16 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jay Rolette > Sent: Thursday, June 4, 2015 3:08 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 2/3] kni: minor opto > > No reason to check out many entries are in kni->rx_q prior to actually pulling > t

[dpdk-dev] [PATCH 1/3] kni: minor opto

2015-06-16 Thread Zhang, Helin
Hi Jay From: Jay Rolette [mailto:role...@infiniteio.com] Sent: Monday, June 15, 2015 8:43 PM To: Zhang, Helin Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH 1/3] kni: minor opto On Sun, Jun 14, 2015 at 9:07 PM, Zhang, Helin mailto:helin.zhang at intel.com>> wrote: Would it be better to modify

[dpdk-dev] [PATCH] ixgbe: fix TSO in IPv6

2015-06-16 Thread Zhang, Helin
I have replied with its original mail, with minor comment. - Helin > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, June 15, 2015 5:46 PM > To: Zhang, Helin; Ananyev, Konstantin > Cc: dev at dpdk.org; David Marchand > Subject: Re: [dpdk-de

[dpdk-dev] [PATCH] ixgbe: fix TSO in IPv6

2015-06-16 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of David Marchand > Sent: Monday, June 1, 2015 8:11 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] ixgbe: fix TSO in IPv6 > > From: Didier Pallard > > When TSO is used with IPv6, generated frames are in

[dpdk-dev] [PATCH] e1000: enable allmulticast support for VF

2015-06-16 Thread Lu, Wenzhuo
Hi Yury, I have comments. I think the function name " igbvf_allmulticast_disable" is a little misleading. Because this function will disable not only multicast but also unicast, right? Thanks. -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Yury Kylulin Sent: Thur

[dpdk-dev] [PATCH] abi: Announce abi changes plan for vhost-user multiple queues

2015-06-16 Thread Ouyang Changchun
It announces the planned ABI changes for vhost-user multiple queues feature on v2.2. Signed-off-by: Changchun Ouyang --- doc/guides/rel_notes/abi.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/guides/rel_notes/abi.rst b/doc/guides/rel_notes/abi.rst index f00a6ee..dc1b0eb 100644 ---

[dpdk-dev] [PATCH] doc: update port attach and detach in Testpmd Runtime Functions chapter

2015-06-16 Thread Tetsuya Mukawa
On 2015/06/11 23:33, Bernard Iremonger wrote: > Signed-off-by: Bernard Iremonger > --- > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 96 > +++ > 1 files changed, 82 insertions(+), 14 deletions(-) > > diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst > b/doc/gu

[dpdk-dev] [PATCH v2 0/4] extend flow director to support L2_paylod type

2015-06-16 Thread Jingjing Wu
This patch set extends flow director to support L2_paylod type in i40e driver. v2 change: - remove the flow director VF filtering from this patch to avoid breaking ABI. Jingjing Wu (4): ethdev: add struct rte_eth_l2_flow to support l2_payload flow type i40e: extend flow diretcor to support l

[dpdk-dev] [PATCH v2 1/4] ethdev: add struct rte_eth_l2_flow to support l2_payload flow type

2015-06-16 Thread Jingjing Wu
This patch adds a new struct rte_eth_l2_flow to support l2_payload flow type Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 8 1 file changed, 8 insertions(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index 498fc85..0e30dd9 100644

[dpdk-dev] [PATCH v2 2/4] i40e: extend flow diretcor to support l2_payload flow type

2015-06-16 Thread Jingjing Wu
This patch extends flow diretcor to support l2_payload flow type in i40e driver. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_fdir.c | 24 +--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/drivers/net/i40e/i40e_fdir.c b/drivers/net/i40e/i40e_fdir.c i

[dpdk-dev] [PATCH v2 3/4] testpmd: extend commands

2015-06-16 Thread Jingjing Wu
This patch extends flow director commands to support l2_payload flow type. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 48 +--- 1 file changed, 45 insertions(+), 3 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c i

[dpdk-dev] [PATCH v2 4/4] doc: extend commands in testpmd

2015-06-16 Thread Jingjing Wu
Modify the doc about flow director commands to support l2_payload flow type. Signed-off-by: Jingjing Wu --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug

[dpdk-dev] [PATCH v3] kni: Add link status update

2015-06-16 Thread Vijayakumar Muthuvel Manickam
Implement .ndo_change_carrier to enable DPDK applications to propagate link state changes to kni virtual interfaces through sysfs Signed-off-by: Vijayakumar Muthuvel Manickam --- Added kernel version check as .ndo_change_carrier is available only in kernel versions 3.9 and after lib/librte_eal

[dpdk-dev] [PATCH v2] fm10k: fix PF/VF MAC address register and clean up bug

2015-06-16 Thread Chen, Jing D
Hi, > -Original Message- > From: He, Shaopeng > Sent: Monday, June 15, 2015 9:26 AM > To: dev at dpdk.org > Cc: Chen, Jing D; Qiu, Michael; He, Shaopeng > Subject: [PATCH v2] fm10k: fix PF/VF MAC address register and clean up bug > > v2 changes: > - rebase this patch onto the HEAD > - a

[dpdk-dev] How to get net_device and use struct ethtool_cmd at DPDK enverinment?

2015-06-16 Thread Choi, Sy Jong
Hi Scott, You can review DPDK KNI sample app, there's ethtool support using a vEth device interfacing to DPDK PMD. Pure DPDK PMD require programming to display the information in ethtool. The interfacing is demonstrate on KNI sample app. Regards, Choi, Sy Jong Platform Application Engineer --

[dpdk-dev] [PATCH v3] kni: Add link status update

2015-06-16 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vijayakumar Muthuvel > Manickam > Sent: Tuesday, June 16, 2015 2:40 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3] kni: Add link status update > > Implement .ndo_change_carrier to enable > DPDK appl

[dpdk-dev] [PATCH] ixgbe: fix x550 shutdown API issue

2015-06-16 Thread Wenzhuo Lu
For there're only laser ports on x550 before, we only considered laser ports for the testpmd CLIs "port start/stop ...". Now we have new x550 devices which have copper ports. Use the API for copper to enable/disable these ports. And also let the testpmd CLI "set link-up/down ..." support copper po

[dpdk-dev] rte_mbuf.next in 2nd cacheline

2015-06-16 Thread Bruce Richardson
On Mon, Jun 15, 2015 at 01:47:26PM -0700, Stephen Hemminger wrote: > On Mon, 15 Jun 2015 18:34:13 + > "Ananyev, Konstantin" wrote: > > > > > > > > -Original Message- > > > From: Richardson, Bruce > > > Sent: Monday, June 15, 2015 5:23 PM > > > To: Ananyev, Konstantin > > > Cc: Olivi

[dpdk-dev] [PATCH v3 00/10] Add a VXLAN sample

2015-06-16 Thread Thomas Monjalon
> Acked-by: Helin Zhang Sorry, there are too many checkpatch errors to peacefully apply this series.

[dpdk-dev] [PATCH v2] Add toeplitz hash algorithm used by RSS

2015-06-16 Thread Thomas Monjalon
2015-06-03 16:07, Thomas Monjalon: > 2015-05-08 10:58, Vladimir Medvedkin: > > Software implementation of the Toeplitz hash function used by RSS. > > Can be used either for packet distribution on single queue NIC > > or for simulating of RSS computation on specific NIC (for example > > after GRE he

[dpdk-dev] [PATCH v6 08/10] hash: remove duplicated code

2015-06-16 Thread Thomas Monjalon
The following patch is needed and will be squashed to fix some doxygen issues: --- a/lib/librte_hash/rte_jhash.h +++ b/lib/librte_hash/rte_jhash.h @@ -306,13 +306,13 @@ rte_jhash2(const uint32_t *k, uint32_t length, uint32_t initval) * with seeds. If you pass in (*pb)=0, the output (*pc) will b

[dpdk-dev] doxygen warnings in QoS API

2015-06-16 Thread Thomas Monjalon
Hi, There are many errors when generating doxygen documentation. It would be good to remove them for the release 2.1. Cristian, please, could you help to clean the QoS API comments? Half of the warnings come from rte_sched and rte_meter: make doc-api-html 2>&1 | grep 'rte_\(meter\|sched\)

[dpdk-dev] [PATCH v6 00/10] update jhash function

2015-06-16 Thread Thomas Monjalon
2015-06-12 11:37, Bruce Richardson: > On Wed, Jun 10, 2015 at 04:25:17PM +0100, Pablo de Lara wrote: > > Jenkins hash function was developed originally in 1996, > > and was integrated in first versions of DPDK. > > The function has been improved in 2006, > > achieving up to 35% better performance,

[dpdk-dev] [PATCH v6 08/10] hash: remove duplicated code

2015-06-16 Thread De Lara Guarch, Pablo
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, June 16, 2015 10:33 AM > To: De Lara Guarch, Pablo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 08/10] hash: remove duplicated code > > The following patch is needed

[dpdk-dev] [PATCH v2] Add toeplitz hash algorithm used by RSS

2015-06-16 Thread Bruce Richardson
On Tue, Jun 16, 2015 at 11:07:28AM +0200, Thomas Monjalon wrote: > 2015-06-03 16:07, Thomas Monjalon: > > 2015-05-08 10:58, Vladimir Medvedkin: > > > Software implementation of the Toeplitz hash function used by RSS. > > > Can be used either for packet distribution on single queue NIC > > > or for

[dpdk-dev] [PATCH] abi: Announce abi changes plan for vhost-user multiple queues

2015-06-16 Thread Neil Horman
On Tue, Jun 16, 2015 at 09:38:43AM +0800, Ouyang Changchun wrote: > It announces the planned ABI changes for vhost-user multiple queues feature > on v2.2. > > Signed-off-by: Changchun Ouyang > --- > doc/guides/rel_notes/abi.rst | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/doc/guide

[dpdk-dev] [PATCH v2 0/2] virtio: PCI Port Hotplug

2015-06-16 Thread Bernard Iremonger
This patchset contains changes to add support for PCI port hotplug. It also contains a fix to virtqueuq_detach_unused(). Bernard Iremonger (2): virtio: add support for PCI Port Hotplug virtio: check vq parameter drivers/net/virtio/virtio_ethdev.c | 83 +---

[dpdk-dev] [PATCH v3 1/2] virtio: add support for PCI Port Hotplug

2015-06-16 Thread Bernard Iremonger
This patch depends on the Port Hotplug Framework. It implements the eth_dev_uninit_t() function for virtio pmd. Signed-off-by: Bernard Iremonger --- drivers/net/virtio/virtio_ethdev.c | 83 +--- 1 files changed, 76 insertions(+), 7 deletions(-) diff --git a/dri

[dpdk-dev] [PATCH v3 2/2] virtio: check vq parameter

2015-06-16 Thread Bernard Iremonger
If vq is NULL, there is a segmentation fault. Signed-off-by: Bernard Iremonger --- drivers/net/virtio/virtqueue.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/virtio/virtqueue.c b/drivers/net/virtio/virtqueue.c index 8a3005f..7f60e3e 100644 --

[dpdk-dev] [PATCH 1/6] fm10k: Fix improper RX buffer size assignment

2015-06-16 Thread Qiu, Michael
Tested-by: Michael Qiu - OS: Fedora20 3.11.10-301 - GCC: gcc version 4.8.3 2014911 - CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz - NIC: Ethernet controller: Intel Corporation Device 15a4 (rev 01) - Default x86_64-native-linuxapp-gcc configuration On 5/29/2015 4:11 PM, Chen, Jing D wrote: >

[dpdk-dev] [PATCH v2] fm10k: fix PF/VF MAC address register and clean up bug

2015-06-16 Thread Qiu, Michael
Tested-by: Michael Qiu - OS: Fedora20 3.11.10-301 - GCC: gcc version 4.8.3 2014911 - CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz - NIC: Ethernet controller: Intel Corporation Device 15a4 (rev 01) - Default x86_64-native-linuxapp-gcc configuration - Total 1 cases, 1 passed, 0 failed On 6/15/

[dpdk-dev] [PATCH 3/6] fm10k: Fix data integrity issue with multi-segment frame

2015-06-16 Thread Qiu, Michael
Tested-by: Michael Qiu - OS: Fedora20 3.11.10-301 - GCC: gcc version 4.8.3 2014911 - CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz - NIC: Ethernet controller: Intel Corporation Device 15a4 (rev 01) - Default x86_64-native-linuxapp-gcc configuration - Total 5 cases, 5 passed, 0 failed - Case:

[dpdk-dev] [PATCH 5/6] fm10k: Do sanity check on mac address

2015-06-16 Thread Qiu, Michael
Tested-by: Michael Qiu - OS: Fedora20 3.11.10-301 - GCC: gcc version 4.8.3 2014911 - CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz - NIC: Ethernet controller: Intel Corporation Device 15a4 (rev 01) - Default x86_64-native-linuxapp-gcc configuration On 5/29/2015 4:11 PM, Chen, Jing D wrote: >

[dpdk-dev] [PATCH v2 0/3] fm10k: Add promiscuous mode support

2015-06-16 Thread Qiu, Michael
On 6/12/2015 3:07 PM, Chen, Jing D wrote: > From: "Chen Jing D(Mark)" > > v2: > Add debug messages in allmulticast enable/disable functions. > > The patch set add promiscuous mode configuration and 2 bug fixes. > > Chen Jing D(Mark) (3): > fm10k: Add promiscuous mode support > fm10k: remove

[dpdk-dev] [PATCH v2 0/3] fm10k: Add promiscuous mode support

2015-06-16 Thread Qiu, Michael
Tested-by: Michael Qiu - OS: Fedora20 3.11.10-301 - GCC: gcc version 4.8.3 2014911 - CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz - NIC: Ethernet controller: Intel Corporation Device 15a4 (rev 01) - Default x86_64-native-linuxapp-gcc configuration Test Case: Set promiscuous mode off Test Case

[dpdk-dev] [PATCH v2] Add toeplitz hash algorithm used by RSS

2015-06-16 Thread Bruce Richardson
On Fri, May 08, 2015 at 10:58:12AM -0400, Vladimir Medvedkin wrote: > Software implementation of the Toeplitz hash function used by RSS. > Can be used either for packet distribution on single queue NIC > or for simulating of RSS computation on specific NIC (for example > after GRE header decapsulat

[dpdk-dev] Debugging SR-IOV related packet flow problem with DPDK

2015-06-16 Thread Anjali Kulkarni
Hi, I am observing that the SR-IOV enabled NIC does not increment any VF packet counters despite incoming packet flow. I have enabled some debug logs like CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX in config file. Can someone point me to where these logs are being printed so I can try to figure out where

[dpdk-dev] [PATCH v2 2/3] fm10k: add MAC filter

2015-06-16 Thread Qiu, Michael
On 6/15/2015 9:25 AM, He, Shaopeng wrote: > MAC filter function was newly added, each PF and VF can have up to 64 MAC > addresses. VF filter needs support from PF host, which is not available now. > > Signed-off-by: Shaopeng He [.../...] > @@ -820,6 +821,7 @@ static int > fm10k_vlan_filter_set(

[dpdk-dev] [PATCH v3 00/10] Add a VXLAN sample

2015-06-16 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, June 16, 2015 5:01 PM > To: Liu, Jijiang > Cc: dev at dpdk.org; Zhang, Helin > Subject: Re: [dpdk-dev] [PATCH v3 00/10] Add a VXLAN sample > > > Acked-by: Helin Zhang > > Sorry, there ar

[dpdk-dev] [PATCH v6 08/10] hash: remove duplicated code

2015-06-16 Thread Thomas Monjalon
2015-06-16 10:31, De Lara Guarch, Pablo: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > The following patch is needed and will be squashed to fix some doxygen > > issues: |...] |> Thanks for spotting this! > Are you going to do it yourself or you want me to do it and send a v7?

[dpdk-dev] [PATCH v2] doc: guidelines for library statistics

2015-06-16 Thread Cristian Dumitrescu
v3 changes -fixed bullets for correct doc generation v2 changes -small text changes -reordered sections to have guidelines at the top and motivation at the end -broke lines at 80 characters Signed-off-by: Cristian Dumitrescu --- doc/guides/guidelines/index.rst |1 + doc/guides/guidelin

[dpdk-dev] [PATCH v3] doc: guidelines for library statistics

2015-06-16 Thread Cristian Dumitrescu
v3 changes -fixed bullets for correct doc generation v2 changes -small text changes -reordered sections to have guidelines at the top and motivation at the end -broke lines at 80 characters Signed-off-by: Cristian Dumitrescu --- doc/guides/guidelines/index.rst |1 + doc/guides/guidelin

[dpdk-dev] [PATCH v3 00/10] Add a VXLAN sample

2015-06-16 Thread Thomas Monjalon
2015-06-16 12:49, Liu, Jijiang: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > Sorry, there are too many checkpatch errors to peacefully apply this series. > > Dou you mean there are too many warnings or errors when using checkpatch.pl? > > If you meant warnings, yes, there are

[dpdk-dev] [PATCH v4] doc: guidelines for library statistics

2015-06-16 Thread Cristian Dumitrescu
v4 changes -more fixes for bullets v3 changes -fixed bullets for correct doc generation v2 changes -small text changes -reordered sections to have guidelines at the top and motivation at the end -broke lines at 80 characters Signed-off-by: Cristian Dumitrescu --- doc/guides/guidelines/index.rs

[dpdk-dev] [PATCH v3 00/10] Add a VXLAN sample

2015-06-16 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, June 16, 2015 9:32 PM > To: Liu, Jijiang > Cc: dev at dpdk.org; Zhang, Helin > Subject: Re: [dpdk-dev] [PATCH v3 00/10] Add a VXLAN sample > > 2015-06-16 12:49, Liu, Jijiang: > > From: Tho

[dpdk-dev] [PATCH v4] doc: guidelines for library statistics

2015-06-16 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Cristian Dumitrescu > Sent: Tuesday, June 16, 2015 2:36 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4] doc: guidelines for library statistics > > v4 changes > -more fixes for bullets > > v3 changes >

[dpdk-dev] [PATCH 0/6] Cuckoo hash

2015-06-16 Thread Thomas Monjalon
Hi Pablo, 2015-06-05 15:33, Pablo de Lara: > Things left for v2: > - Improve unit tests to show clearer performance numbers > - Documentation changes When do you plan to submit a v2?

[dpdk-dev] [PATCH 1/3] pmd_ring: remove deprecated functions

2015-06-16 Thread Bruce Richardson
On Mon, Jun 15, 2015 at 09:51:11AM -0700, Stephen Hemminger wrote: > From: Stephen Hemminger > > These were deprecated in 2.0 so remove them from 2.1 > > Signed-off-by: Stephen Hemminger > --- > drivers/net/ring/rte_eth_ring.c | 55 > --- > drivers/net/ri

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

2015-06-16 Thread Rahul Lakkireddy
After the commit-id 90a1633b2 (eal/linux: allow to map BARs with MSI-X tables), VFIO stopped working. On further debug, found that although BAR region offset and size from vfio are read as u64, they are truncated when assigned to uint32_t variables resulting in wrong offset being passed for mmap.

[dpdk-dev] [PATCH 1/4] kni: add function to query the name of a kni object

2015-06-16 Thread Thomas Monjalon
> > When a KNI object is created, a name is assigned to it which is stored > > internally. > > There is also an API function to look up a KNI object by name, but there is > > no API > > to query the current name of an existing KNI object. This patch adds just > > such an > > API. > > > > Signed

[dpdk-dev] [PATCH v3] kni: Add link status update

2015-06-16 Thread Thomas Monjalon
> > Implement .ndo_change_carrier to enable > > DPDK applications to propagate link state changes to kni virtual interfaces > > through sysfs > > > > Signed-off-by: Vijayakumar Muthuvel Manickam > Acked-by: Helin Zhang Applied, thanks

[dpdk-dev] [PATCH] ixgbevf: fix link status for PF up/down events

2015-06-16 Thread Sergio Gonzalez Monroy
Current ixgbe VF base driver only really read the status register when: - get_link_status is true - link reset - mailbox timeout. We only set get_link_status to true when we start the PF/VF, so following calls to ixgbe_dev_link_update will just keep the old link status unless the link has been

[dpdk-dev] [PATCH 1/6] eal: add const in prefetch functions

2015-06-16 Thread Bruce Richardson
On Fri, Jun 05, 2015 at 03:33:19PM +0100, Pablo de Lara wrote: > rte_prefetchX functions included volatile void *p as parameter, > but the function does not modify it, so it should include the const keyword. > > Signed-off-by: Pablo de Lara Acked-by: Bruce Richardson

[dpdk-dev] [PATCH 1/3] kni: minor opto

2015-06-16 Thread Thomas Monjalon
2015-06-16 01:15, Zhang, Helin: > Yes, your patches are OK for me. I have acked it. Series applied, thanks

[dpdk-dev] [PATCH v2] kni: Add set_rx_mode callback to handle multicast groups

2015-06-16 Thread Thomas Monjalon
> > We did some (very basic) tests with IGMP, which involves adding multicast > > addresses to ETH interfaces. This is done via the ip tool, an example can > > be found > > on e.g., > > > > http://superuser.com/questions/324824/linux-built-in-or-open-source-program- > > to-join-multicast-group >

[dpdk-dev] Debugging SR-IOV related packet flow problem with DPDK

2015-06-16 Thread Anjali Kulkarni
Pls keep me on cc for response. Thanks!! Hi, I am observing that the SR-IOV enabled NIC does not increment any VF packet counters despite incoming packet flow. I have enabled some debug logs like CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX in config file. Can someone point me to where these logs are being

[dpdk-dev] [PATCH v2 0/3] add support for HTM lock elision for x86

2015-06-16 Thread Roman Dementiev
This series of patches adds methods that use hardware memory transactions (HTM) on fast-path for DPDK locks (a.k.a. lock elision). Here the methods are implemented for x86 using Restricted Transactional Memory instructions (Intel(r) Transactional Synchronization Extensions). The implementation fall

[dpdk-dev] [PATCH v2 1/3] spinlock: add support for HTM lock elision for x86

2015-06-16 Thread Roman Dementiev
This patch adds methods that use hardware memory transactions (HTM) on fast-path for spinlocks (a.k.a. lock elision). Here the methods are implemented for x86 using Restricted Transactional Memory instructions (Intel(r) Transactional Synchronization Extensions). The implementation fall-backs to the

[dpdk-dev] [PATCH v2 2/3] rwlock: add support for HTM lock elision for x86

2015-06-16 Thread Roman Dementiev
This patch adds methods that use hardware memory transactions (HTM) on fast-path for rwlock (a.k.a. lock elision). Here the methods are implemented for x86 using Restricted Transactional Memory instructions (Intel(r) Transactional Synchronization Extensions). The implementation fall-backs to the no

[dpdk-dev] [PATCH v2 3/3] test scaling of HTM lock elision protecting rte_hash

2015-06-16 Thread Roman Dementiev
This patch adds a new auto-test for testing the scaling of concurrent inserts into rte_hash when protected by the normal spinlock vs. the spinlock with HTM lock elision. The test also benchmarks single-threaded access without any locks. Signed-off-by: Roman Dementiev --- app/test/Makefile

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

2015-06-16 Thread Ananyev, Konstantin
> > > > > > > > > > +int > > > > > > > > > > +rte_eth_dev_get_ringparam(uint8_t port_id, struct > > > > > > > > > > +rte_dev_ring_info > > > > > > > > > > +*info) { > > > > > > > > > > + struct rte_eth_dev *dev; > > > > > > > > > > + > > > > > > > > > > + if (!rte_eth_dev_is_valid_port(port_i

[dpdk-dev] [PATCH v2] Add toeplitz hash algorithm used by RSS

2015-06-16 Thread Vladimir Medvedkin
Hi Bruce, 2015-06-16 15:29 GMT+03:00 Bruce Richardson : > On Fri, May 08, 2015 at 10:58:12AM -0400, Vladimir Medvedkin wrote: > > Software implementation of the Toeplitz hash function used by RSS. > > Can be used either for packet distribution on single queue NIC > > or for simulating of RSS comp

[dpdk-dev] Debugging SR-IOV related packet flow problem with DPDK

2015-06-16 Thread Anjali Kulkarni
Hi, Can someone please help with this? How can packet flow be traced on DPDK? Where are all the logs stored if we do enable the _DEBUG configs in config/ directory? Anjali From: Microsoft Office User mailto:sum...@juniper.net>> Date: Tuesday, June 16, 2015 at 9:10 AM To: "dev at dpdk.org

[dpdk-dev] Debugging SR-IOV related packet flow problem with DPDK

2015-06-16 Thread Thomas Monjalon
Hi, That's third email in 8 hours for this question. Do you plan to send an email every 4 hours? It's really hard to help you without knowing which application you run? in which VM? which VLAN configuration? etc 2015-06-16 20:22, Anjali Kulkarni: > Hi, > > Can someone please help with this? How

[dpdk-dev] Debugging SR-IOV related packet flow problem with DPDK

2015-06-16 Thread Anjali Kulkarni
Thanks for your response. I am running my own application, and it is actually running inside a docker, not a VM. No VLAN configuration. Just SR-IOV is enabled on 2 NICs, and both devices (/dev/uio0 and /dev/uio1) are assigned to the docker. This worked a while ago perfectly. What I see is that an i

[dpdk-dev] [PATCH] kni: Use utsrelease.h to determine Ubuntu kernel version

2015-06-16 Thread Thomas Monjalon
2015-05-27 13:45, Simon Kagstrom: > /proc/version_signature is the version for the host machine, but in > e.g., chroots, this does not need to match that DPDK is built for. Use > utsrelease.h from the kernel sources instead and fake the upload > version. Sorry, I don't really understand the proble

[dpdk-dev] DPDK-Pktgen

2015-06-16 Thread Assaad, Sami (Sami)
Hello. I am using DPDK-Pktgen (Pktgen version 2.77 using DPDK-1.7.1). My NIC consists of two 10G ports. Now, my question is : How are the port MBits/s Rx/Tx calculated? Example: I am running the traffic generator with the following configuration: * 400 Byte Packet Sizes * At Li

[dpdk-dev] [PATCH 0/6] Cuckoo hash

2015-06-16 Thread De Lara Guarch, Pablo
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, June 16, 2015 2:44 PM > To: De Lara Guarch, Pablo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/6] Cuckoo hash > > Hi Pablo, > > 2015-06-05 15:33, Pablo de Lara: > >

[dpdk-dev] DPDK-Pktgen

2015-06-16 Thread Wiles, Keith
On 6/16/15, 4:18 PM, "Assaad, Sami (Sami)" wrote: >Hello. > >I am using DPDK-Pktgen (Pktgen version 2.77 using DPDK-1.7.1). >My NIC consists of two 10G ports. Please try to use the latest version from here http://dpdk.org/browse/apps/pktgen-dpdk/refs/ The one you are using is fairly old now.

[dpdk-dev] [PATCH 1/3] pmd_ring: remove deprecated functions

2015-06-16 Thread Stephen Hemminger
On Tue, 16 Jun 2015 14:52:16 +0100 Bruce Richardson wrote: > On Mon, Jun 15, 2015 at 09:51:11AM -0700, Stephen Hemminger wrote: > > From: Stephen Hemminger > > > > These were deprecated in 2.0 so remove them from 2.1 > > > > Signed-off-by: Stephen Hemminger > > --- > > drivers/net/ring/rte_e

[dpdk-dev] [PATCH 0/4 v5] bnx2x: poll mode driver

2015-06-16 Thread Stephen Hemminger
From: Stephen Hemminger Changes since last time: 1. Support pci_config on BSD. Although since BSD probably doesn't have same filesystem (/lib/firmware) the driver won't work. 2. Change location of driver to match new filesystem hierarchy Stephen Hemminger (4): eal: provide functions to

[dpdk-dev] [PATCH 1/4] eal: provide functions to access PCI config

2015-06-16 Thread Stephen Hemminger
From: Stephen Hemminger Some drivers need ability to access PCI config (for example for power management). This adds an abstraction to do this for both Linux and BSD. Signed-off-by: Stephen Hemminger --- lib/librte_eal/bsdapp/eal/eal_pci.c | 83 + lib/librte

[dpdk-dev] [PATCH 4/4] bnx2x: enable PMD build

2015-06-16 Thread Stephen Hemminger
From: Stephen Hemminger This is build infrastructure changes for bnx2x driver. - enable BNX2X poll mode driver in default config. - add it to mk - put entry in MAINTAINERS Qlogic has discussed taking over as maintainer, if they want to they can submit a patch to change MAINTAINER file. Signe

[dpdk-dev] [PATCH 1/3] pmd_ring: remove deprecated functions

2015-06-16 Thread Stephen Hemminger
On Tue, 16 Jun 2015 23:37:32 + Thomas Monjalon wrote: > 2015-06-16 16:05, Stephen Hemminger: > > On Tue, 16 Jun 2015 14:52:16 +0100 > > Bruce Richardson wrote: > > > > > On Mon, Jun 15, 2015 at 09:51:11AM -0700, Stephen Hemminger wrote: > > > > From: Stephen Hemminger > > > > > > > > Thes

[dpdk-dev] [dpdk-announce] important design choices - statistics - ABI

2015-06-16 Thread Matthew Hall
On Wed, Jun 17, 2015 at 01:29:47AM +0200, Thomas Monjalon wrote: > There were some debates about software statistics disabling. > Should they be always on or possibly disabled when compiled? > We need to take a decision shortly and discuss (or agree) this proposal: > http://dpdk.org/ml/archiv

[dpdk-dev] [dpdk-announce] important design choices - statistics - ABI

2015-06-16 Thread Stephen Hemminger
On Tue, Jun 16, 2015 at 9:36 PM, Matthew Hall wrote: > On Wed, Jun 17, 2015 at 01:29:47AM +0200, Thomas Monjalon wrote: > > There were some debates about software statistics disabling. > > Should they be always on or possibly disabled when compiled? > > We need to take a decision shortly and disc

[dpdk-dev] [PATCH 2/4] bnx2x: driver core

2015-06-16 Thread Stephen Hemminger
From: Stephen Hemminger This is the first of several parts for a new driver supporting Broadcom/Qlogic NetXtremeII 10 gigabit devices. Signed-off-by: Stephen Hemminger --- drivers/net/bnx2x/bnx2x.c| 11821 + drivers/net/bnx2x/bnx2x.h| 1998 +

[dpdk-dev] [PATCH 3/4] bnx2x: driver support routines

2015-06-16 Thread Stephen Hemminger
From: Stephen Hemminger More code for the Broadcom/Qlogic NetExtreme II poll mode driver. Split into pieces for review and not to overwhelm mailers. Signed-off-by: Stephen Hemminger --- drivers/net/bnx2x/debug.c | 113 + drivers/net/bnx2x/ecore_fw_defs.h | 422 +