Re: [dpdk-dev] [PATCH v2 2/6] lib/representor: port representor library to manage broker infrastructure and representor PMDs

2017-11-17 Thread Ferruh Yigit
On 11/17/2017 6:42 AM, Mohammad Abdul Awal wrote: > diff --git a/lib/librte_representor/rte_port_representor_version.map > b/lib/librte_representor/rte_port_representor_version.map > new file mode 100644 > index 000..09ed768 > --- /dev/null > +++ b/lib/librte_representor/rte_port_representor_v

[dpdk-dev] [PATCH v1] doc: add template release notes for 18.02

2017-11-17 Thread John McNamara
Add template release notes for DPDK 18.02 with inline comments and explanations of the various sections. Signed-off-by: John McNamara --- doc/guides/rel_notes/release_18_02.rst | 214 + 1 file changed, 214 insertions(+) create mode 100644 doc/guides/rel_notes/rel

Re: [dpdk-dev] [PATCH] net/nfp: fix check when jumbos and strip CRC

2017-11-17 Thread Alejandro Lucero
Wrong patch. I have removed it from patchwork. On Fri, Nov 17, 2017 at 6:23 PM, Alejandro Lucero < alejandro.luc...@netronome.com> wrote: > We have two problems here. First the jumbo frame check should not be > there at all. Then, the configuration should not fail in any case > related to CRC st

[dpdk-dev] [PATCH] net/nfp: fix check when jumbos and strip CRC

2017-11-17 Thread Alejandro Lucero
We have two problems here. First the jumbo frame check should not be there at all. Then, the configuration should not fail in any case related to CRC striping. Fixes: defb9a5dd156 ("nfp: introduce driver initialization") Signed-off-by: Alejandro Lucero --- drivers/net/nfp/nfp_net.c | 9 ++--

[dpdk-dev] [PATCH] test/mempool: improve default mempool ops selection

2017-11-17 Thread Jerin Jacob
Use of rte_eal_mbuf_default_mempool_ops() API will allow to override pool handler through "--mbuf-pool-ops-name" eal command line argument. Signed-off-by: Jerin Jacob --- test/test/test_mempool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test/test_mempool.c b/t

Re: [dpdk-dev] [PATCH] app/testpmd: Remove xenvirt again

2017-11-17 Thread Luca Boccassi
On Fri, 2017-11-17 at 15:40 +0100, Timothy Redaelli wrote: > Fixes: 5b590fbe09b6 ("app/testpmd: add traffic management forwarding > mode") > > Signed-off-by: Timothy Redaelli > --- >  app/test-pmd/Makefile | 4 >  1 file changed, 4 deletions(-) > > diff --git a/app/test-pmd/Makefile b/app/te

Re: [dpdk-dev] [PATCH] app/testpmd: link with virtio PMD when using shared libraries

2017-11-17 Thread Luca Boccassi
On Fri, 2017-11-17 at 17:19 +0100, Timothy Redaelli wrote: > testpmd is often used inside a VM to test the OVS PVP scenario. > This commit makes testpmd to link to virtio PMD when DPDK is built as > shared libraries too. > > Signed-off-by: Timothy Redaelli > --- >  app/test-pmd/Makefile | 4

[dpdk-dev] [PATCH] app/testpmd: link with virtio PMD when using shared libraries

2017-11-17 Thread Timothy Redaelli
testpmd is often used inside a VM to test the OVS PVP scenario. This commit makes testpmd to link to virtio PMD when DPDK is built as shared libraries too. Signed-off-by: Timothy Redaelli --- app/test-pmd/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/app/test-pmd/Makefile b/ap

Re: [dpdk-dev] [PATCH] net/mlx5: cleanup the allocation of the buffer used for the ethtool stats

2017-11-17 Thread Nelio Laranjeiro
On Fri, Nov 17, 2017 at 02:51:34PM +0100, Thierry Herbelot wrote: > Simplify the computation for the needed size: > - exact size for the structure header, > - exact size for a number of 64-bit counters. > > Fixes: a4193ae3bc4f ('net/mlx5: support extended statistics') > > Signed-off-by: Thierry H

[dpdk-dev] [PATCH v2 6/6] net/ixgbe: Enable port representor PMD and broker for ixgbe PMD driver

2017-11-17 Thread Mohammad Abdul Awal
Signed-off-by: Mohammad Abdul Awal Signed-off-by: Remy Horton Signed-off-by: Declan Doherty --- drivers/net/ixgbe/Makefile | 1 + drivers/net/ixgbe/ixgbe_ethdev.c | 22 +++- drivers/net/ixgbe/ixgbe_ethdev.h | 6 + drivers/net/ixgbe/ixgbe_prep_ops.c | 250 +++

[dpdk-dev] [PATCH v2 5/6] net/i40e: Enable port representor PMD and broker for fortville PMD driver

2017-11-17 Thread Mohammad Abdul Awal
Signed-off-by: Mohammad Abdul Awal Signed-off-by: Remy Horton Signed-off-by: Declan Doherty --- drivers/net/i40e/Makefile| 1 + drivers/net/i40e/i40e_ethdev.c | 16 ++ drivers/net/i40e/i40e_ethdev.h | 1 + drivers/net/i40e/i40e_prep_ops.c | 472 +

[dpdk-dev] [PATCH v2 1/6] ethdev: added switch_domain and representor port flag

2017-11-17 Thread Mohammad Abdul Awal
switch_domain attribute has been added to specify that a rte_eth_dev instance belongs to a switch domain in the software switch. RTE_ETH_DEV_REPRESENTOR_PORT has been defined to specify that a rte_eth_dev instance is a representor device. Signed-off-by: Mohammad Abdul Awal Signed-off-by: Declan

[dpdk-dev] [PATCH v2 3/6] eal: added --enable-representor command line argument in EAL to load representor broker infrastructure

2017-11-17 Thread Mohammad Abdul Awal
Signed-off-by: Mohammad Abdul Awal Signed-off-by: Declan Doherty --- lib/librte_eal/bsdapp/eal/eal.c| 6 ++ lib/librte_eal/common/eal_common_options.c | 1 + lib/librte_eal/common/eal_internal_cfg.h | 2 ++ lib/librte_eal/common/eal_options.h| 2 ++ lib/librte_eal/commo

[dpdk-dev] [PATCH v2 4/6] net/representor: Implement port representor PMD

2017-11-17 Thread Mohammad Abdul Awal
V2: Update rte_bus_vdev.h header file instead of rte_vdev.h file. V1: Representor PMD is a virtual PMD which provides a logical representation in DPDK for ports of a multi port device. This supports configuration, management, and monitoring of VFs of a physical function bound to a userspace contro

[dpdk-dev] [PATCH v2 2/6] lib/representor: port representor library to manage broker infrastructure and representor PMDs

2017-11-17 Thread Mohammad Abdul Awal
The library provides the broker infrastructure to be instantiated by base driver and corresponding methods to manage the broker infrastructure. The broker keeps records of list of representor PMDs. The library also provides methods to manage the representor PMDs by the broker. Signed-off-by: Moham

[dpdk-dev] [PATCH] app/testpmd: Remove xenvirt again

2017-11-17 Thread Timothy Redaelli
Fixes: 5b590fbe09b6 ("app/testpmd: add traffic management forwarding mode") Signed-off-by: Timothy Redaelli --- app/test-pmd/Makefile | 4 1 file changed, 4 deletions(-) diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile index d21308fcd..4993c9184 100644 --- a/app/test-pmd/Makefile

[dpdk-dev] [PATCH] net/mlx5: cleanup the allocation of the buffer used for the ethtool stats

2017-11-17 Thread Thierry Herbelot
Simplify the computation for the needed size: - exact size for the structure header, - exact size for a number of 64-bit counters. Fixes: a4193ae3bc4f ('net/mlx5: support extended statistics') Signed-off-by: Thierry Herbelot --- drivers/net/mlx5/mlx5_stats.c | 8 +++- 1 file changed, 3 inse

[dpdk-dev] [PATCH] net/i40e: determine number of queues per VF during run time

2017-11-17 Thread Wei Dai
Without this patch, the number of queues per i40e VF is defined as 4 by CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF=4 in config/common_base. It is fixed value determined in building time and can't be changed during run time. With this patch, the number of queues per i40e VF can be determinated during

Re: [dpdk-dev] [PATCH 2/2] eal: fix dynamic logs failing to print

2017-11-17 Thread Pavan Nikhilesh Bhagavatula
On Thu, Nov 16, 2017 at 11:48:14AM -0800, Ferruh Yigit wrote: > On 11/16/2017 2:31 AM, Pavan Nikhilesh wrote: > > Dynamic logs fail to print if the global log level is less than dynamic > > loglevel. Example if the global log level is set to INFO and dynamic log > > level for a specific module is s