[dpdk-dev] [PATCH] Revert "bonding: use existing enslaved device queues"

2016-10-06 Thread Eric Kinzie
On Wed Sep 07 15:28:10 +0300 2016, Ilya Maximets wrote: > This reverts commit 5b7bb2bda5519b7800f814df64d4e015282140e5. > > It is necessary to reconfigure all queues every time because configuration > can be changed. > > For example, if we're reconfiguring bonding device with new memory pool, >

[dpdk-dev] [PATCH] doc: fix typo in SNOW3G documentation

2016-10-06 Thread Pablo de Lara
Fixes: 1d0c90e6cf0b ("doc: update build instructions for libsso_snow3g") Signed-off-by: Pablo de Lara --- doc/guides/cryptodevs/snow3g.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/cryptodevs/snow3g.rst b/doc/guides/cryptodevs/snow3g.rst index

[dpdk-dev] [PATCH] doc: fix typo in SNOW3G documentation

2016-10-06 Thread De Lara Guarch, Pablo
> -Original Message- > From: Mcnamara, John > Sent: Thursday, October 06, 2016 2:00 PM > To: De Lara Guarch, Pablo; dev at dpdk.org > Cc: De Lara Guarch, Pablo > Subject: RE: [dpdk-dev] [PATCH] doc: fix typo in SNOW3G documentation > > > -Original Message- > > From: dev

[dpdk-dev] [PATCH 1/1] doc: fix errors in pdump doc

2016-10-06 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Mark Kavanagh > Sent: Thursday, October 6, 2016 11:37 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 1/1] doc: fix errors in pdump doc > > - Fix copy/paste error in description of how to capture both rx

[dpdk-dev] [PATCH v2] cryptodev: fix compilation error in SUSE 11 SP2

2016-10-06 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Adrien Mazarguil > Sent: Wednesday, October 05, 2016 1:52 AM > To: De Lara Guarch, Pablo > Cc: dev at dpdk.org; Doherty, Declan > Subject: Re: [dpdk-dev] [PATCH v2] cryptodev: fix compilation error in SUSE 11

[dpdk-dev] [PATCH] doc: fix typo in SNOW3G documentation

2016-10-06 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Thursday, October 6, 2016 9:55 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [dpdk-dev] [PATCH] doc: fix typo in SNOW3G documentation > > Fixes: 1d0c90e6cf0b ("doc:

[dpdk-dev] [PATCH] eal/vdev: rename vdev driver init/uninit to probe/remove

2016-10-06 Thread Shreyansh Jain
Inline with PCI probe and remove, VDEV probe and remove hooks provide a uniform naming. PCI probe represents scan and driver initialization. For VDEV, it will represent argument parsing and initialization. Signed-off-by: Shreyansh Jain --- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 12

[dpdk-dev] [PATCH] vhost: Only access header if offloading is supported in dequeue path

2016-10-06 Thread Maxime Coquelin
On 10/06/2016 07:00 PM, Maxime Coquelin wrote: > If offloading features are not negotiated, parsing the virtio header > is not needed. > > Micro-benchmark with testpmd shows that the gain is +4% with indirect > descriptors, +1% when using direct descriptors. > > Signed-off-by: Maxime Coquelin >

[dpdk-dev] [PATCH] vhost: Only access header if offloading is supported in dequeue path

2016-10-06 Thread Maxime Coquelin
If offloading features are not negotiated, parsing the virtio header is not needed. Micro-benchmark with testpmd shows that the gain is +4% with indirect descriptors, +1% when using direct descriptors. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 47

[dpdk-dev] [PATCH v3 4/4] app/test: remove hard-coding of crypto num qps

2016-10-06 Thread Fiona Trahe
ts_params->conf.nb_queue_pairs should not be hard coded with device specific number. It should be retrieved from the device info. Any test which changes it should restore it to orig value. Signed-off-by: Akhil Goyal Signed-off-by: Fiona Trahe --- app/test/test_cryptodev.c | 5 -

[dpdk-dev] [PATCH v3 3/4] app/test: cleanup unnecessary ring size setup

2016-10-06 Thread Fiona Trahe
Removed obsolete comments re inability to free and re-allocate queue memory and obsolete workaround for it which used to create maximum size queues first, then later create smaller queues. Signed-off-by: Fiona Trahe --- app/test/test_cryptodev.c | 15 +--

[dpdk-dev] [PATCH v3 2/4] app/test: remove pointless for loop

2016-10-06 Thread Fiona Trahe
Signed-off-by: Fiona Trahe --- app/test/test_cryptodev.c | 49 +++ 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 8f40dea..db2f23c 100644 --- a/app/test/test_cryptodev.c +++

[dpdk-dev] [PATCH v3 1/4] crypto/aesni_mb: free ring memory on qp release in PMD

2016-10-06 Thread Fiona Trahe
Free ring memory on queue_pair release, else releasing and setting up queue-pair of a different size fails. Signed-off-by: Fiona Trahe --- drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

[dpdk-dev] [PATCH v3 0/4] remove hard-coding of crypto num qps and cleanup

2016-10-06 Thread Fiona Trahe
ts_params->conf.nb_queue_pairs should not be hard coded with device specific number. It should be retrieved from the device info. Any test which changes it should restore it to orig value. Also related cleanup of test code setting number and size of queue-pairs on a device, e.g. * Removed

[dpdk-dev] [PATCH v6 2/2] net/ixgbe: add callback to user app on VF to PF mbox msg

2016-10-06 Thread Bernard Iremonger
call _rte_eth_dev_callback_process from ixgbe_rcv_msg_from_vf function. The callback asks the user application if it is allowed to perform the function. If the cb_param.retval is RTE_PMD_IXGBE_MB_EVENT_PROCEED then continue, if 0, do nothing and send ACK to VF if > 1, do nothing and send NAK to

[dpdk-dev] [PATCH v6 1/2] librte_ether: modify internal callback function

2016-10-06 Thread Bernard Iremonger
add cb_arg parameter to the _rte_eth_dev_callback_process function. Adding a parameter to this function allows passing information to the application when an eth device event occurs such as a VF to PF message. This allows the application to decide if a particular function is permitted.

[dpdk-dev] [PATCH v6 0/2] modify callback for VF management

2016-10-06 Thread Bernard Iremonger
This patchset modifies the callback function for VF management. A third parameter has been added to the _rte_eth_dev_callback_process function. All references to this function have been updated. Changes have been made to the ixgbe_rcv_msg_from_vf function to use the new callback parameter. This

[dpdk-dev] [PATCH v5 01/13] librte_ether: modify internal callback function

2016-10-06 Thread Thomas Monjalon
2016-10-06 15:32, Iremonger, Bernard: > > > > 2016-10-06 12:26, Bernard Iremonger: > > > > > void > > > > > _rte_eth_dev_callback_process(struct rte_eth_dev *dev, > > > > > - enum rte_eth_event_type event) > > > > > + enum rte_eth_event_type event, void *param) > > > > > > > > You need

[dpdk-dev] [PATCH v1 0/4] Generalize PCI specific EAL function/structures

2016-10-06 Thread Shreyansh Jain
Hi Thomas, On Monday 03 October 2016 07:06 PM, Thomas Monjalon wrote: > 2016-10-03 11:07, Shreyansh Jain: >> Hi David, >> >> On Friday 30 September 2016 09:01 PM, David Marchand wrote: >>> On Tue, Sep 27, 2016 at 4:12 PM, Shreyansh Jain >>> wrote: (I rebased these over HEAD 7b3c4f3)

[dpdk-dev] [PATCH v5 01/13] librte_ether: modify internal callback function

2016-10-06 Thread Thomas Monjalon
2016-10-06 14:33, Iremonger, Bernard: > Hi Thomas, > > > Subject: Re: [dpdk-dev] [PATCH v5 01/13] librte_ether: modify internal > > callback function > > > > 2016-10-06 12:26, Bernard Iremonger: > > > void > > > _rte_eth_dev_callback_process(struct rte_eth_dev *dev, > > > - enum

[dpdk-dev] [PATCH v5 1/2] librte_ether: add protection against overwrite device data

2016-10-06 Thread Thomas Monjalon
2016-09-30 16:00, Marcin Kerlin: > Added protection against overwrite device data in array rte_eth_dev_data[] > for the next secondary applications. Secondary process appends in the > first free place rather than at the beginning. This behavior prevents > overwriting devices data of primary

[dpdk-dev] [PATCH v5 1/2] librte_ether: add protection against overwrite device data

2016-10-06 Thread Thomas Monjalon
2016-10-06 13:57, Kerlin, MarcinX: > Hi Thomas, > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > Hi Marcin, > > > > 2016-09-30 16:00, Marcin Kerlin: > > > Added protection against overwrite device data in array > > > rte_eth_dev_data[] for the next secondary applications.

[dpdk-dev] [PATCH] eal/vdev: rename vdev driver init/uninit to probe/remove

2016-10-06 Thread Thomas Monjalon
2016-10-06 19:24, Shreyansh Jain: > Inline with PCI probe and remove, VDEV probe and remove hooks provide > a uniform naming. > PCI probe represents scan and driver initialization. For VDEV, it will > represent argument parsing and initialization. > > Signed-off-by: Shreyansh Jain Applied,

[dpdk-dev] [PATCH v5 01/13] librte_ether: modify internal callback function

2016-10-06 Thread Iremonger, Bernard
Hi Thomas, > Subject: Re: [dpdk-dev] [PATCH v5 01/13] librte_ether: modify internal > callback function > > 2016-10-06 15:32, Iremonger, Bernard: > > > > > 2016-10-06 12:26, Bernard Iremonger: > > > > > > void > > > > > > _rte_eth_dev_callback_process(struct rte_eth_dev *dev, > > > > > > -

[dpdk-dev] [PATCH] Revert "bonding: use existing enslaved device queues"

2016-10-06 Thread Declan Doherty
On 07/09/16 13:28, Ilya Maximets wrote: > This reverts commit 5b7bb2bda5519b7800f814df64d4e015282140e5. > > It is necessary to reconfigure all queues every time because configuration > can be changed. > Hey Ilya, this makes sense. I guess this was my original intention but I missed this case in

[dpdk-dev] [PATCH v5 01/13] librte_ether: modify internal callback function

2016-10-06 Thread Iremonger, Bernard
Hi Thomas, > > > Subject: Re: [dpdk-dev] [PATCH v5 01/13] librte_ether: modify > > > internal callback function > > > > > > 2016-10-06 12:26, Bernard Iremonger: > > > > void > > > > _rte_eth_dev_callback_process(struct rte_eth_dev *dev, > > > > - enum rte_eth_event_type event) > > > > +

[dpdk-dev] [PATCH v4 2/2] i40e: Enable bad checksum flags in i40e vPMD

2016-10-06 Thread Chen, Jing D
> -Original Message- > From: Shaw, Jeffrey B > Sent: Wednesday, October 5, 2016 11:38 PM > To: dev at dpdk.org > Cc: Zhang, Helin ; Wu, Jingjing > ; damarion at cisco.com; Zhang, Qi Z > ; Chen, Jing D > Subject: [PATCH v4 2/2] i40e: Enable bad checksum flags in i40e vPMD > > From:

[dpdk-dev] [PATCH v4 1/2] i40e: Add packet_type metadata in the i40e vPMD

2016-10-06 Thread Chen, Jing D
> -Original Message- > From: Shaw, Jeffrey B > Sent: Wednesday, October 5, 2016 11:38 PM > To: dev at dpdk.org > Cc: Zhang, Helin ; Wu, Jingjing > ; damarion at cisco.com; Zhang, Qi Z > ; Chen, Jing D > Subject: [PATCH v4 1/2] i40e: Add packet_type metadata in the i40e vPMD > > From:

[dpdk-dev] [PATCH] eal: fix compilation when optimization level is O1

2016-10-06 Thread Thomas Monjalon
2016-09-19 14:26, Olivier Matz: > When compiled with EXTRA_CFLAGS="-O1", the compiler is not > able to detect that size is always initialized when used, and > issues a wrong warning: > > eal_memory.c: In function ?rte_eal_hugepage_attach?: > eal_memory.c:1684:3: error: ?size? may be used

[dpdk-dev] [PATCH v1 0/4] Generalize PCI specific EAL function/structures

2016-10-06 Thread Thomas Monjalon
2016-10-06 17:13, Shreyansh Jain: > Hi Thomas, > > On Monday 03 October 2016 07:06 PM, Thomas Monjalon wrote: > > 2016-10-03 11:07, Shreyansh Jain: > >> Hi David, > >> > >> On Friday 30 September 2016 09:01 PM, David Marchand wrote: > >>> Those patches move linux specifics (binding pci devices

[dpdk-dev] ixgbe: support checksum flags in sse vector Rx function

2016-10-06 Thread Remy Horton
On 07/07/2016 13:19, Olivier Matz wrote: [..] > Signed-off-by: Maxime Leroy > Signed-off-by: Olivier Matz > --- > drivers/net/ixgbe/ixgbe_rxtx_vec_common.h | 8 ++--- > drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 6 > drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c| 50 >

[dpdk-dev] [PATCH v5 01/13] librte_ether: modify internal callback function

2016-10-06 Thread Thomas Monjalon
2016-10-06 12:26, Bernard Iremonger: > void > _rte_eth_dev_callback_process(struct rte_eth_dev *dev, > - enum rte_eth_event_type event) > + enum rte_eth_event_type event, void *param) You need to squash the patches updating the calls to this function. Otherwise, this patch does not

[dpdk-dev] [PATCH v2] app/test: remove hard-coding of crypto num qps

2016-10-06 Thread Trahe, Fiona
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Wednesday, October 5, 2016 1:50 AM > To: Trahe, Fiona ; dev at dpdk.org > Cc: Trahe, Fiona ; Akhil Goyal nxp.com> > Subject: RE: [dpdk-dev] [PATCH v2] app/test: remove hard-coding of crypto > num qps > > Hi, > > >

[dpdk-dev] [PATCH v2 4/7] vhost: add dequeue zero copy

2016-10-06 Thread Xu, Qian Q
See the bottom. -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Yuanhan Liu Sent: Friday, September 23, 2016 5:13 AM To: dev at dpdk.org Cc: Maxime Coquelin ; Yuanhan Liu Subject: [dpdk-dev] [PATCH v2 4/7] vhost: add dequeue zero copy The basic idea of dequeue

[dpdk-dev] [PATCH v5 01/13] librte_ether: modify internal callback function

2016-10-06 Thread Iremonger, Bernard
Hi Thomas, > Subject: Re: [dpdk-dev] [PATCH v5 01/13] librte_ether: modify internal > callback function > > 2016-10-06 12:26, Bernard Iremonger: > > void > > _rte_eth_dev_callback_process(struct rte_eth_dev *dev, > > - enum rte_eth_event_type event) > > + enum rte_eth_event_type event,

[dpdk-dev] [PATCH v7] net/virtio: add set_mtu in virtio

2016-10-06 Thread Kavanagh, Mark B
> >Hi Stephen/Liu, > Any other comments or suggestions for this. If the below patch looks > fine then please >do suggest the next steps . Hi Souvik, Just to let you know that Yuanhan is out of office on account of public holidays in PRC. AFAIA he should be back online from next week.

[dpdk-dev] [PATCH v5 1/2] librte_ether: add protection against overwrite device data

2016-10-06 Thread Kerlin, MarcinX
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, October 06, 2016 11:41 AM > To: Kerlin, MarcinX > Cc: dev at dpdk.org; De Lara Guarch, Pablo intel.com>; > Gonzalez Monroy, Sergio > Subject: Re: [PATCH v5 1/2] librte_ether:

[dpdk-dev] [PATCH v6 3/4] app/test: added tests for libcrypto PMD

2016-10-06 Thread Azarewicz, PiotrX T
Hi Fiona, > This patch breaks autotests for all PMDs, due to increasing the MBUF size to > UNIT16_MAX. > USER1: Can't create CRYPTO_MBUFPOOL > > It needs more than 500MBs in the MBUFPOOL to run this test. > Setting this back to MBUF_SIZE fixes the issue, but breaks 2 tests in >

[dpdk-dev] [PATCH v7] net/virtio: add set_mtu in virtio

2016-10-06 Thread Dey, Souvik
Hi Stephen/Liu, Any other comments or suggestions for this. If the below patch looks fine then please do suggest the next steps . -- Regards, Souvik -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Dey, Souvik Sent: Wednesday, October 5, 2016 10:05 AM To:

[dpdk-dev] [PATCH v6 3/4] app/test: added tests for libcrypto PMD

2016-10-06 Thread Trahe, Fiona
Hi Slawomir, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Slawomir Mrozowicz > Sent: Tuesday, October 4, 2016 4:11 PM > To: dev at dpdk.org > Cc: Mrozowicz, SlawomirX ; Azarewicz, > PiotrX T ; Kerlin, MarcinX > ; Mrzyglod, DanielX T > > Subject:

[dpdk-dev] [PATCH 2/2] app/testpmd: use consistent vdev names

2016-10-06 Thread Thomas Monjalon
The vdev eth_bond has been renamed to net_bond. testpmd is creating a bonding device with the old prefix. It is changed for consistency. The script test-null.sh was failing because using the old name for the null vdev. Fixes also the bonding and testpmd doc. Fixes: 2f45703c17ac ("drivers: make

[dpdk-dev] [PATCH 1/2] app/test: fix vdev names

2016-10-06 Thread Thomas Monjalon
The vdev eth_ring has been renamed to net_ring. Some unit tests are using the old name and fail. Fixes also the vdev comments in EAL and ethdev. Fixes: 2f45703c17ac ("drivers: make driver names consistent") Signed-off-by: Thomas Monjalon --- app/test/test_devargs.c |

[dpdk-dev] [PATCH v5 13/13] net/enic: add parameter to callback process function

2016-10-06 Thread Bernard Iremonger
add parameter to call of _rte_eth_dev_callback_process function Signed-off-by: Bernard Iremonger --- drivers/net/enic/enic_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c index 15a05b4..fb72491 100644 ---

[dpdk-dev] [PATCH v5 12/13] net/virtio: add parameter to callback process function

2016-10-06 Thread Bernard Iremonger
add parameter to call of _rte_eth_dev_callback_process function Signed-off-by: Bernard Iremonger --- drivers/net/virtio/virtio_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c index

[dpdk-dev] [PATCH v5 11/13] net/vhost: add parameter to callback process function

2016-10-06 Thread Bernard Iremonger
add parameter to call of _rte_eth_dev_callback_process function Signed-off-by: Bernard Iremonger --- drivers/net/vhost/rte_eth_vhost.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c index

[dpdk-dev] [PATCH v5 10/13] net/thunderx: add parameter to callback process function

2016-10-06 Thread Bernard Iremonger
add parameter to call of _rte_eth_dev_callback_process function Signed-off-by: Bernard Iremonger --- drivers/net/thunderx/nicvf_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/thunderx/nicvf_ethdev.c b/drivers/net/thunderx/nicvf_ethdev.c index

[dpdk-dev] [PATCH v5 09/13] net/nfp: add parameter to callback process function

2016-10-06 Thread Bernard Iremonger
add parameter to call of _rte_eth_dev_callback_process function Signed-off-by: Bernard Iremonger --- drivers/net/nfp/nfp_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index d526f34..a2b9056 100644 ---

[dpdk-dev] [PATCH v5 08/13] net/mlx5: add parameter to callback process function

2016-10-06 Thread Bernard Iremonger
add parameter to call of _rte_eth_dev_callback_process function Signed-off-by: Bernard Iremonger --- drivers/net/mlx5/mlx5_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c index bf4232a..c76e754

[dpdk-dev] [PATCH v5 07/13] net/mlx4: add parameter to callback process function

2016-10-06 Thread Bernard Iremonger
add parameter to call of _rte_eth_dev_callback_process function Signed-off-by: Bernard Iremonger --- drivers/net/mlx4/mlx4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c index 1553b2e..3e57cca 100644 ---

[dpdk-dev] [PATCH v5 06/13] net/i40e: update call to callback process function

2016-10-06 Thread Bernard Iremonger
add parameter to call of _rte_eth_dev_callback_process function Signed-off-by: Bernard Iremonger --- drivers/net/i40e/i40e_ethdev.c| 4 ++-- drivers/net/i40e/i40e_ethdev_vf.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c

[dpdk-dev] [PATCH v5 05/13] net/e1000: add parameter to callback process function

2016-10-06 Thread Bernard Iremonger
add parameter to call of _rte_eth_dev_callback_process function Signed-off-by: Bernard Iremonger --- drivers/net/e1000/em_ethdev.c | 2 +- drivers/net/e1000/igb_ethdev.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/e1000/em_ethdev.c

[dpdk-dev] [PATCH v5 04/13] net/bonding: add parameter to callback process function

2016-10-06 Thread Bernard Iremonger
add parameter to call of _rte_eth_dev_callback_process function Signed-off-by: Bernard Iremonger --- drivers/net/bonding/rte_eth_bond_pmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c

[dpdk-dev] [PATCH v5 03/13] app/test: add parameter to callback process function

2016-10-06 Thread Bernard Iremonger
add parameter to call of _rte_eth_dev_callback_process function Signed-off-by: Bernard Iremonger --- app/test/virtual_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/virtual_pmd.c b/app/test/virtual_pmd.c index 4831113..65b44c6 100644 ---

[dpdk-dev] [PATCH v5 02/13] net/ixgbe: add callback to user app on VF to PF mbox msg

2016-10-06 Thread Bernard Iremonger
call _rte_eth_dev_callback_process from ixgbe_rcv_msg_from_vf function. The callback asks the user application if it is allowed to perform the function. If the cb_param.retval is RTE_PMD_IXGBE_MB_EVENT_PROCEED then continue, if 0, do nothing and send ACK to VF if > 1, do nothing and send NAK to

[dpdk-dev] [PATCH v5 01/13] librte_ether: modify internal callback function

2016-10-06 Thread Bernard Iremonger
add parameter to the _rte_eth_dev_callback_process function. Adding a parameter to this function allows passing information to the application when an eth device event occurs such as a VF to PF message. This allows the application to decide if a particular function is permitted. Signed-off-by:

[dpdk-dev] [PATCH v5 00/13] modify callback for VF management

2016-10-06 Thread Bernard Iremonger
This patchset modifies the callback function for VF management. A third parameter has been added to the _rte_eth_dev_callback_process function. All references to this function have been updated. Changes have been made to the ixgbe_rcv_msg_from_vf function to use the new callback parameter. This

[dpdk-dev] [PATCH v5 1/2] librte_ether: add protection against overwrite device data

2016-10-06 Thread Thomas Monjalon
Hi Marcin, 2016-09-30 16:00, Marcin Kerlin: > Added protection against overwrite device data in array rte_eth_dev_data[] > for the next secondary applications. Secondary process appends in the > first free place rather than at the beginning. This behavior prevents > overwriting devices data of

[dpdk-dev] [PATCH 1/1] doc: fix errors in pdump doc

2016-10-06 Thread Mark Kavanagh
- Fix copy/paste error in description of how to capture both rx & tx traffic in a single pcap file - Replace duplicate word with what original author presumably intended, such that description now makes sense Signed-off-by: Mark Kavanagh --- doc/guides/sample_app_ug/pdump.rst | 4 ++-- 1

[dpdk-dev] [PATCH v4] app/testpmd: add option to enable lro

2016-10-06 Thread Olivier Matz
Introduce a new argument '--enable-lro' to ask testpmd to enable the LRO feature on enabled ports, like it's done for '--enable-rx-cksum' for instance. Signed-off-by: Olivier Matz --- v3 -> v4: - fix typo in documentation app/test-pmd/parameters.c | 4

[dpdk-dev] [PATCH v3] app/testpmd: add option to enable lro

2016-10-06 Thread Olivier Matz
Introduce a new argument '--enable-lro' to ask testpmd to enable the LRO feature on enabled ports, like it's done for '--enable-rx-cksum' for instance. Signed-off-by: Olivier Matz --- v2 -> v3: - add documentation for this new option app/test-pmd/parameters.c | 4

[dpdk-dev] [PATCH v3] mbuf: add function to dump ol flag list

2016-10-06 Thread Olivier Matz
The functions rte_get_rx_ol_flag_name() and rte_get_tx_ol_flag_name() can dump one flag, or set of flag that are part of the same mask (ex: PKT_TX_UDP_CKSUM, part of PKT_TX_L4_MASK). But they are not designed to dump the list of flags contained in mbuf->ol_flags. This commit introduce new

[dpdk-dev] [PATCH v2 2/2] i40e: Enable bad checksum flags in i40e vPMD

2016-10-06 Thread Damjan Marion (damarion)
On 6 Oct 2016, at 04:19, Jeff Shaw mailto:jeffrey.b.shaw at intel.com>> wrote: On Wed, Oct 05, 2016 at 04:57:28PM -0700, Chen, Jing D wrote: Hi, -Original Message- From: Shaw, Jeffrey B Sent: Wednesday, October 5, 2016 5:13 PM To: dev at dpdk.org Cc: Zhang, Helin

[dpdk-dev] [PATCH v4 2/2] i40e: Enable bad checksum flags in i40e vPMD

2016-10-06 Thread Jeff Shaw
From: Damjan Marion Decode the checksum flags from the rx descriptor, setting the appropriate bit in the mbuf ol_flags field when the flag indicates a bad checksum. Signed-off-by: Damjan Marion Signed-off-by: Jeff Shaw --- drivers/net/i40e/i40e_rxtx_vec.c | 48

[dpdk-dev] [PATCH v4 1/2] i40e: Add packet_type metadata in the i40e vPMD

2016-10-06 Thread Jeff Shaw
From: Damjan Marion The ptype is decoded from the rx descriptor and stored in the packet type field in the mbuf using the same function as the non-vector driver. Signed-off-by: Damjan Marion Signed-off-by: Jeff Shaw Acked-by: Qi Zhang --- Changes in v2: - Add missing

[dpdk-dev] [PATCH v3 1/2] i40e: Add packet_type metadata in the i40e vPMD

2016-10-06 Thread Jeff Shaw
From: Damjan Marion The ptype is decoded from the rx descriptor and stored in the packet type field in the mbuf using the same function as the non-vector driver. Signed-off-by: Damjan Marion Signed-off-by: Jeff Shaw Acked-by: Qi Zhang --- Changes in v2: - Add missing

[dpdk-dev] [PATCH v2 2/2] i40e: Enable bad checksum flags in i40e vPMD

2016-10-06 Thread Chen, Jing D
Hi, > -Original Message- > From: Shaw, Jeffrey B > Sent: Wednesday, October 5, 2016 5:13 PM > To: dev at dpdk.org > Cc: Zhang, Helin ; Wu, Jingjing > ; damarion at cisco.com; Zhang, Qi Z > ; Chen, Jing D > Subject: [PATCH v2 2/2] i40e: Enable bad checksum flags in i40e vPMD > > From: