[dpdk-dev] [PATCH v6 1/8] eal: pci: add api to rd/wr pci bar region

2016-02-01 Thread Yuanhan Liu
On Fri, Jan 29, 2016 at 11:51:50PM +0530, Santosh Shukla wrote: > Introducing below api for pci bar region rd/wr. > Api's are: > - rte_eal_pci_read_bar > - rte_eal_pci_write_bar > > Signed-off-by: Santosh Shukla > --- > v5-->v6: > - update api infor in rte_eal_version.map file > suggested by da

[dpdk-dev] [PATCH v2 3/3] virtio: Add a new layer to abstract pci access method

2016-02-01 Thread Yuanhan Liu
On Mon, Feb 01, 2016 at 10:50:00AM +0900, Tetsuya Mukawa wrote: > On 2016/01/29 18:17, Yuanhan Liu wrote: > > On Thu, Jan 28, 2016 at 06:33:32PM +0900, Tetsuya Mukawa wrote: > >> This patch addss function pointers to abstract pci access method. > >> This abstraction layer will be used when virtio-n

[dpdk-dev] [PATCH v6 6/8] virtio: add vfio api to rd/wr ioport space

2016-02-01 Thread Yuanhan Liu
On Fri, Jan 29, 2016 at 11:51:55PM +0530, Santosh Shukla wrote: > For vfio case - Use pread/pwrite api to access virtio > ioport space. > > Signed-off-by: Santosh Shukla > Signed-off-by: Rizwan Ansari > Signed-off-by: Rakesh Krishnamurthy > --- > v5-->v6: > - renamed inport_in/out to vfio_in/ou

[dpdk-dev] rings PMD detaching

2016-02-01 Thread Mauricio Vásquez
Hello Everybody, I was wondering if there were a way to detach (delete) a ring pmd device created with rte_eth_from_rings. I realized that rte_eth_dev_detach does not work in this case because there is a comparison between the device's name and the driver's name in rte_eal_vdev_uninit, then devic

[dpdk-dev] igb_uio binding issue

2016-02-01 Thread Pankaj Joshi
Hello, I am running DPDK sample application of l2_fwd. I have some of the ports like , Network devices using IGB_UIO driver :84:00.0 'I350 Gigabit Network Connection' drv=igb_uio unused= :84:00.1 'I350 Gigabit Network Connection' drv=igb_uio unused= Ne

[dpdk-dev] [PATCH] example/ipsec-secgw: ipsec security gateway

2016-02-01 Thread Jerin Jacob
On Mon, Feb 01, 2016 at 11:09:16AM +, Sergio Gonzalez Monroy wrote: > On 31/01/2016 14:39, Jerin Jacob wrote: > >On Fri, Jan 29, 2016 at 08:29:12PM +, Sergio Gonzalez Monroy wrote: > >>Sample app implementing an IPsec Security Geteway. > >>The main goal of this app is to show the use of cry

[dpdk-dev] Future Direction for rte_eth_stats_get()

2016-02-01 Thread David Harton (dharton)
Hi folks, I didn't see any follow up to this response. My original concern was rte_eth_stats_get() moving away from a more conventional based definition (note, I believe Matthew Hall made an interesting suggestion to follow a MIB based definition elsewhere). However, if modifying that API is

[dpdk-dev] [PATCH v2] ixgbe: fix link down issue on x550em_x

2016-02-01 Thread Wenzhuo Lu
Normally the auto-negotiation is supported by FW. But on X550EM_X_10G_T it's not supported by FW. As the port of X550EM_X_10G_T is 10G. If we connect the port with a peer which is 1G. The link is always down. We have to supprted auto-neg by SW to avoid such link down issue. Signed-off-by: Wenzhuo

[dpdk-dev] [PATCH 3/3] doc: update release note for fm10k FTAG support

2016-02-01 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wang Xiao W > Sent: Monday, January 25, 2016 8:08 AM > To: Chen, Jing D > Cc: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 3/3] doc: update release note for fm10k FTAG > support > > Update the release note. > >

[dpdk-dev] [PATCH 8/8] doc: add release note for E-tag

2016-02-01 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Friday, January 29, 2016 7:04 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 8/8] doc: add release note for E-tag > > Signed-off-by: Wenzhuo Lu Acked-by: John McNamara

[dpdk-dev] [PATCH] doc: minor correction in document

2016-02-01 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ferruh Yigit > Sent: Friday, January 29, 2016 10:12 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: minor correction in document > > ... > > * html output converts "--" to "-", this is wrong when exp

[dpdk-dev] [PATCH v3 0/8] vhost-user live migration support

2016-02-01 Thread Iremonger, Bernard
Hi Yuanhan, > A simple test guide (on same host) > == > > The following test is based on OVS + DPDK (check [0] for how to setup OVS + > DPDK): > > [0]: http://wiki.qemu.org/Features/vhost-user-ovs-dpdk > > Here is the rough test guide: > > 1. start ovs-vsw

[dpdk-dev] [PATCH v1] doc: add example text to release notes

2016-02-01 Thread John McNamara
Added example text to each of the release notes sections to show the preferred format. Signed-off-by: John McNamara --- This is a little late since there are already several release note submissions but I'd like to add some guidance on what the release notes should look like to, hopefully, make

[dpdk-dev] [PATCH] example/ipsec-secgw: ipsec security gateway

2016-02-01 Thread Thomas Monjalon
2016-02-01 16:56, Jerin Jacob: > On Mon, Feb 01, 2016 at 11:09:16AM +, Sergio Gonzalez Monroy wrote: > > On 31/01/2016 14:39, Jerin Jacob wrote: [...] Please guys, strip the unneeded content. Thanks

[dpdk-dev] i40evf DPDK init_adminq failed: -53

2016-02-01 Thread Saurabh Mishra
Hi, on KVM system, after doing NVM upgrade to new firmware and I don't see init_adminq failed messages. Thanks, /Saurabh On Mon, Feb 1, 2016 at 11:49 AM, Saurabh Mishra wrote: > Hi, > > So I tried to update the firmware and it says "Update not available" for > i40e > > Intel(R) Ethernet NVM Upd

[dpdk-dev] igb_uio binding issue

2016-02-01 Thread Remy Horton
On 01/02/2016 11:59, Pankaj Joshi wrote: > Lcore 0: RX port 0 > Lcore 1: RX port 1 > Initializing port 0... EAL: Error - exiting with code: 1 >Cause: rte_eth_rx_queue_setup:err=-12, port=0 > > Can any one figure out the problem. > My first guess would be lack of reserved memory. Try upping nr

[dpdk-dev] Future Direction for rte_eth_stats_get()

2016-02-01 Thread Matthew Hall
On Mon, Feb 01, 2016 at 04:47:56PM +, David Harton (dharton) wrote: > Hi folks, > > I didn't see any follow up to this response. > > My original concern was rte_eth_stats_get() moving away from a more > conventional based definition (note, I believe Matthew Hall made an > interesting sugges

[dpdk-dev] lpm patches

2016-02-01 Thread Matthew Hall
On Mon, Feb 01, 2016 at 01:51:29AM +0100, Nikita Kozlov wrote: > Hello, > I wanted to know if there was something new or if I can help on this topic ? > I'm using rte_lpm in a project so I may (at least) do some tests or reviews. If you search the archive of the list some patch came out recently w

[dpdk-dev] [PATCH] eal: make resource initialization more robust

2016-02-01 Thread Neil Horman
On Fri, Jan 29, 2016 at 07:22:02PM +0800, Jianfeng Tan wrote: > Current issue: DPDK is not that friendly to container environment, which > caused by that it pre-alloc resource like cores and hugepages. But there > are this or that resource limitations, for examples, cgroup, rlimit, > cpuset, etc. >

[dpdk-dev] igb_uio binding issue

2016-02-01 Thread De Lara Guarch, Pablo
Hi Pankaj, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pankaj Joshi > Sent: Monday, February 01, 2016 11:59 AM > To: dev at dpdk.org > Subject: [dpdk-dev] igb_uio binding issue > > Hello, > > I am running DPDK sample application of l2_fwd. > I have some

[dpdk-dev] i40evf DPDK init_adminq failed: -53

2016-02-01 Thread Saurabh Mishra
Hi, So I tried to update the firmware and it says "Update not available" for i40e Intel(R) Ethernet NVM Update Tool NVMUpdate version 1.25.20.03 Copyright (C) 2013 - 2015 Intel Corporation. WARNING: TO AVOID DAMAGE TO YOUR DEVICE, DO NOT EXIT OR REBOOT OR POWER OFF THE SYSTEM DURING THIS UPD

[dpdk-dev] [PATCH] example/ipsec-secgw: ipsec security gateway

2016-02-01 Thread Sergio Gonzalez Monroy
On 31/01/2016 14:39, Jerin Jacob wrote: > On Fri, Jan 29, 2016 at 08:29:12PM +, Sergio Gonzalez Monroy wrote: >> Sample app implementing an IPsec Security Geteway. >> The main goal of this app is to show the use of cryptodev framework >> in a real world application. >> >> Currently only support

[dpdk-dev] [PATCH v2 3/3] virtio: Add a new layer to abstract pci access method

2016-02-01 Thread Tetsuya Mukawa
On 2016/01/29 18:17, Yuanhan Liu wrote: > On Thu, Jan 28, 2016 at 06:33:32PM +0900, Tetsuya Mukawa wrote: >> This patch addss function pointers to abstract pci access method. >> This abstraction layer will be used when virtio-net PMD supports >> container extension. >> >> The below functions abstra

[dpdk-dev] [RFC PATCH 5/5] virtio: Extend virtio-net PMD to support container environment

2016-02-01 Thread Tetsuya Mukawa
On 2016/01/29 18:13, Yuanhan Liu wrote: > On Fri, Jan 29, 2016 at 04:57:23PM +0800, Yuanhan Liu wrote: >> On Thu, Jan 21, 2016 at 08:07:58PM +0900, Tetsuya Mukawa wrote: >>> +static int >>> +virt_read_pci_cfg(struct virtio_hw *hw, void *buf, size_t len, off_t >>> offset) >>> +{ >>> + qtest_read_

[dpdk-dev] [PATCH v2] ethdev: fix byte order inconsistence between fdir flow and mask

2016-02-01 Thread Jingjing Wu
Fixed issue of byte order in ethdev library that the structure for setting fdir's mask and flow entry is inconsist and made inputs of mask be in big endian. Fixes: 76c6f89e80d4 ("ixgbe: support new flow director masks") Fixes: 2d4c1a9ea2ac ("ethdev: add new flow director masks") Reported-by: Yaac

[dpdk-dev] i40evf DPDK init_adminq failed: -53

2016-02-01 Thread Saurabh Mishra
Hi Michael -- What are the steps to upgrade i40e firmware. We are using CentOS7 It didn't work with guest VF driver either on ESXi and KVM. Sure. I will blacklist i40evf driver and try it out. Thanks, /Saurabh On Mon, Feb 1, 2016 at 12:16 AM, Qiu, Michael wrote: > Hi, Saurabh > > It's known

[dpdk-dev] [PATCH 0/8] support E-tag offloading and forwarding on Intel X550 NIC

2016-02-01 Thread Yuanhan Liu
On Mon, Feb 01, 2016 at 01:56:32AM +, Lu, Wenzhuo wrote: > Hi Yuanhan, > > > -Original Message- > > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > > Sent: Monday, February 1, 2016 9:40 AM > > To: Lu, Wenzhuo > > Cc: Qiu, Michael; dev at dpdk.org > > Subject: Re: [dpdk-dev]

[dpdk-dev] [PATCH] l2fwd_crypto: fix typo in command line help

2016-02-01 Thread Pablo de Lara
Signed-off-by: Pablo de Lara --- examples/l2fwd-crypto/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index d70fc9a..ee935be 100644 --- a/examples/l2fwd-crypto/main.c +++ b/examples/l2fwd-crypto/main.c @@ -667

[dpdk-dev] [PATCH 0/8] support E-tag offloading and forwarding on Intel X550 NIC

2016-02-01 Thread Yuanhan Liu
On Mon, Feb 01, 2016 at 01:04:52AM +, Lu, Wenzhuo wrote: > Hi, > > > -Original Message- > > From: Qiu, Michael > > Sent: Friday, January 29, 2016 3:16 PM > > To: Lu, Wenzhuo; dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH 0/8] support E-tag offloading and forwarding > > on > > Int

[dpdk-dev] [PATCH 0/8] support E-tag offloading and forwarding on Intel X550 NIC

2016-02-01 Thread Qiu, Michael
On 2/1/2016 9:38 AM, Yuanhan Liu wrote: > On Mon, Feb 01, 2016 at 01:04:52AM +, Lu, Wenzhuo wrote: >> Hi, >> >>> -Original Message- >>> From: Qiu, Michael >>> Sent: Friday, January 29, 2016 3:16 PM >>> To: Lu, Wenzhuo; dev at dpdk.org >>> Subject: Re: [dpdk-dev] [PATCH 0/8] support E-ta

[dpdk-dev] [PATCH] ixgbe: fix link down issue on x550em_x

2016-02-01 Thread Lu, Wenzhuo
Hi Shaopeng, > -Original Message- > From: He, Shaopeng > Sent: Monday, February 1, 2016 4:23 PM > To: Lu, Wenzhuo; dev at dpdk.org > Cc: root > Subject: RE: [dpdk-dev] [PATCH] ixgbe: fix link down issue on x550em_x > > > > -Original Message- > > From: dev [mailto:dev-bounces at d

[dpdk-dev] [PATCH] ixgbe: fix link down issue on x550em_x

2016-02-01 Thread He, Shaopeng
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Monday, December 21, 2015 3:57 PM > To: dev at dpdk.org > Cc: root > Subject: [dpdk-dev] [PATCH] ixgbe: fix link down issue on x550em_x > > Normally the auto-negotiation is supported by FW. B

[dpdk-dev] i40evf DPDK init_adminq failed: -53

2016-02-01 Thread Qiu, Michael
Hi, Saurabh It's known issue, to fix this you'd better to upgrade the firmware version of i40e. BTW, will it work in guest with kernel driver? If yes, to workaround(somebody reports it does not work for them): Remove i40e.ko in guest, so that it will not auto-loaded when boot up. Hope it works

[dpdk-dev] [PATCH v2] ixgbe: Fix disable interrupt twice

2016-02-01 Thread Qiu, Michael
On 1/29/2016 4:07 PM, Lu, Wenzhuo wrote: > Hi Michael, > >> -Original Message- >> From: Qiu, Michael >> Sent: Friday, January 29, 2016 1:58 PM >> To: dev at dpdk.org >> Cc: Zhou, Danny; Liu, Yong; Liang, Cunming; Lu, Wenzhuo; Qiu, Michael >> Subject: [PATCH v2] ixgbe: Fix disable interrupt

[dpdk-dev] [PATCH] fm10k: allocate logical ports for flow director

2016-02-01 Thread He, Shaopeng
> -Original Message- > From: Chen, Jing D > Sent: Wednesday, December 30, 2015 4:36 PM > To: dev at dpdk.org > Cc: Yigit, Ferruh; He, Shaopeng; Chen, Jing D > Subject: [PATCH] fm10k: allocate logical ports for flow director > > From: "Chen Jing D(Mark)" > > In fm10k, PF, VF, VMDQ or que

[dpdk-dev] [PATCH 0/8] support E-tag offloading and forwarding on Intel X550 NIC

2016-02-01 Thread Lu, Wenzhuo
Hi Yuanhan, > -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Monday, February 1, 2016 10:06 AM > To: Lu, Wenzhuo > Cc: Qiu, Michael; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/8] support E-tag offloading and forwarding on > Intel X550 NIC >

[dpdk-dev] [PATCH] igb: set default thresholds correctly based on mac type

2016-02-01 Thread Lu, Wenzhuo
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Friday, January 22, 2016 9:39 AM > To: Lu, Wenzhuo > Cc: dev at dpdk.org; Stephen Hemminger > Subject: [PATCH] igb: set default thresholds correctly based on mac type > > This brings the DPDK ig

[dpdk-dev] [PATCH 0/8] support E-tag offloading and forwarding on Intel X550 NIC

2016-02-01 Thread Lu, Wenzhuo
Hi Yuanhan, > -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Monday, February 1, 2016 9:40 AM > To: Lu, Wenzhuo > Cc: Qiu, Michael; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/8] support E-tag offloading and forwarding on > Intel X550 NIC > >

[dpdk-dev] lpm patches

2016-02-01 Thread Nikita Kozlov
On 10/30/2015 11:25 PM, Matthew Hall wrote: > On Fri, Oct 30, 2015 at 09:55:16PM +, Bruce Richardson wrote: >> We'll see what we can do in 2.3 timeframe. > Thanks for taking all of this up and helping us make a solid plan. I'll do my > best to help out from the community side. I have done some

[dpdk-dev] [PATCH 0/8] support E-tag offloading and forwarding on Intel X550 NIC

2016-02-01 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: Qiu, Michael > Sent: Friday, January 29, 2016 3:16 PM > To: Lu, Wenzhuo; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/8] support E-tag offloading and forwarding on > Intel X550 NIC > > Hi, Wenzhuo > > Better to explain what E-tag is, so that reviewe

[dpdk-dev] [PATCH v7 3/5] ethdev: redesign link speed config API

2016-02-01 Thread Zhang, Helin
> -Original Message- > From: Ananyev, Konstantin > Sent: Friday, January 29, 2016 6:18 PM > To: Thomas Monjalon > Cc: dev at dpdk.org; Marc Sune; Lu, Wenzhuo; Zhang, Helin; Harish Patil; Chen, > Jing D; Mcnamara, John > Subject: RE: [dpdk-dev] [PATCH v7 3/5] ethdev: redesign link speed co