Re: [dpdk-dev] [PATCH] net/mlx5: fix link speed

2018-02-05 Thread Nélio Laranjeiro
speed; > sc = ecmd->link_mode_masks[0] | > ((uint64_t)ecmd->link_mode_masks[1] << 32); > priv->link_speed_capa = 0; > -- > 2.7.4 > Thanks, -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [PATCH v3 1/2] doc: update mlx PMD release notes

2018-02-05 Thread Nélio Laranjeiro
* Improved data path performance. > + * Converted to the new offloads API. > + * Supported device removal check operation. > + > * **Added the ixgbe ethernet driver to support RSS with flow API.** > >Rte_flow actually defined to include RSS, but till now, RSS is out of > -- > 2.12.0 For MLX5 part: Acked-by: Nelio Laranjeiro -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [PATCH v3 2/2] doc: update mlx5 required OFED version

2018-02-05 Thread Nélio Laranjeiro
7 +392,7 @@ RMDA Core with Linux Kernel > Mellanox OFED > ^ > > -- Mellanox OFED version: **4.2**. > +- Mellanox OFED version: **4.2, 4.3**. > - firmware version: > >- ConnectX-4: **12.21.1000** and above. > -- > 2.12.0 For MLX5 part: Acked-by: Nelio Laranjeiro -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [RFC v2 00/23] Dynamic memory allocation for DPDK

2018-02-06 Thread Nélio Laranjeiro
On Mon, Feb 05, 2018 at 10:36:58AM +, Burakov, Anatoly wrote: > On 05-Feb-18 10:18 AM, Nélio Laranjeiro wrote: > > On Mon, Feb 05, 2018 at 10:03:35AM +, Burakov, Anatoly wrote: > > > On 02-Feb-18 7:28 PM, Yongseok Koh wrote: > > > > On Tue, Dec 26, 20

Re: [dpdk-dev] [PATCH] net/mlx5: dump flow create error message

2018-02-06 Thread Nélio Laranjeiro
gt; exit: > + ERROR("Flow create error: %s", error->message); > for (i = 0; i != hash_rxq_init_n; ++i) { > if (parser.queue[i].ibv_attr) > rte_free(parser.queue[i].ibv_attr); > -- > 2.13.3 Hi Xueming, Can you move this debug message to mlx5_flow_create(). Thanks, -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [PATCH] net/mlx5: fix socket assertion error during dev close

2018-02-06 Thread Nélio Laranjeiro
v_socket_uninit(priv); > ret = mlx5_priv_hrxq_ibv_verify(priv); > if (ret) > WARN("%p: some Hash Rx queue still remain", (void *)priv); > -- > 2.13.3 Acked-by: Nelio Laranjeiro -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [PATCH] net/mlx5: dump flow create error message

2018-02-06 Thread Nélio Laranjeiro
On Tue, Feb 06, 2018 at 02:20:28PM +, Xueming(Steven) Li wrote: > Hi Nelio, > > > -Original Message- > > From: Nélio Laranjeiro [mailto:nelio.laranje...@6wind.com] > > Sent: Tuesday, February 6, 2018 9:22 PM > > To: Xueming(Steven) Li > > Cc: Nel

Re: [dpdk-dev] [PATCH] net/mlx5: revert support in IPv4 time-to-live filter

2018-02-08 Thread Nélio Laranjeiro
1, > .next_proto_id = -1, > - .time_to_live = -1, > }, > }, > .default_mask = &rte_flow_item_ipv4_mask, > -- > 2.12.0 Acked-by: Nelio Laranjeiro -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [PATCH] net/mlx5: revert multicast rule Verbs flow type

2018-02-13 Thread Nélio Laranjeiro
- } > exit_free: > /* Only verification is expected, all resources should be released. */ > if (!parser->create) { > @@ -1246,7 +1234,6 @@ mlx5_flow_create_eth(const struct rte_flow_item *item, > eth.val.ether_type &= eth.mask.ether_type; > } > mlx5_flow_create_copy(parser, ð, eth_size); > - parser->allmulti = eth.val.dst_mac[0] & 1; > return 0; > } > > -- > 2.12.0 > -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [PATCH v1 0/4] doc: announce API changes for flow rules

2018-02-14 Thread Nélio Laranjeiro
anged, 23 insertions(+) > > -- > 2.11.0 For the series, Acked-by: Nelio Laranjeiro -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [PATCH 2/2] net/mlx5: fix link status to use wait to complete

2018-02-16 Thread Nélio Laranjeiro
gt; if (!dev->data->dev_conf.intr_conf.lsc) { > > priv_link_start(priv); > > @@ -755,10 +761,11 @@ int > > priv_force_link_status_change(struct priv *priv, int status) > > { > > int try = 0; > > + int ret = 0; > > > > while (try < MLX5_MAX_LINK_QUERY_ATTEMPTS) { > > - priv_link_update(priv, 0); > > - if (priv->dev->data->dev_link.link_status == status) > > + ret = priv_link_update(priv, 0); > > + if (!ret && priv->dev->data->dev_link.link_status == status) > > return 0; > > try++; > > sleep(1); > > I think this function could be removed in the same patch (with e313ef4c2fe8 > "net/mlx5: fix link state on device start" partially reverted) since a call > to priv_link_update(priv, 1) would now result in the same behavior. Agreed, I'll re-work it in a v2. Thanks, -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [PATCH 1/2] net/mlx5: add kernel version function

2018-02-18 Thread Nélio Laranjeiro
It is better to not use at all this new API than using a buggee one. -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [PATCH] net/mlx5: add bluefield device ID

2018-02-26 Thread Nélio Laranjeiro
MELLANOX_BLUEFIELD = 0xa2d2, > }; > > struct mlx5_xstats_ctrl { > -- > 2.12.0 Please also update: - config/common_base - doc/guides/nics/mlx5.rst - doc/guides/rel_notes/release_18_05.rst In the same commit, as it was done for commit 528a9fbec6de ("net/mlx5: support ConnectX-5 devices") Thanks, -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [PATCH] net/mlx5: fix tunnel offloads cap query

2018-02-26 Thread Nélio Laranjeiro
Shuler > Acked-by: Yongseok Koh > Acked-by: Xueming Li >[...] Acked-by: Nelio Laranjeiro -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [PATCH] net/mlx5: fix disabling Tx packet inlining

2018-02-26 Thread Nélio Laranjeiro
!txq->mpw_hdr_dseg || >mpw.total_len >= MLX5_WQE_SIZE); > } > - if (do_inline) { > + if (max_inline && do_inline) { > /* Inline packet into WQE. */ > unsigned int max; > > -- > 2.11.0 > -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] Anyone who can help?

2018-03-06 Thread Nélio Laranjeiro
L > returned error: 502 Did you tried with https or git protocol instead? https://dpdk.org/git/dpdk/ git://dpdk.org/git/dpdk/ Regards, -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [PATCH 00/41] Memory Hotplug for DPDK

2018-03-07 Thread Nélio Laranjeiro
series? Thanks, [1] https://dpdk.org/patch/35043 [2] https://dpdk.org/browse/dpdk/commit/?id=c06ddf9698e0c2a9653cfa971f9ddc205065662c -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [PATCH 00/41] Memory Hotplug for DPDK

2018-03-08 Thread Nélio Laranjeiro
On Thu, Mar 08, 2018 at 09:37:27AM +, Burakov, Anatoly wrote: > On 07-Mar-18 4:05 PM, Burakov, Anatoly wrote: > > On 07-Mar-18 3:27 PM, Nélio Laranjeiro wrote: > > > Hi Anatoly, > > > > > > I am trying to run some test with this series, but it seems to be

Re: [dpdk-dev] [PATCH v4 2/3] examples/ipsec-secgw: add target queues in flow actions

2017-12-18 Thread Nélio Laranjeiro
sec_ctx *ipsec_ctx, struct > > ipsec_sa *sa) > > sa->action[0].type = RTE_FLOW_ACTION_TYPE_SECURITY; > > sa->action[0].conf = sa->sec_session; > > - sa->action[1].type = RTE_FLOW_ACTION_TYPE_END; > This is reverted in the second patch, right? Are you planning to revise the > patch fixing this? I'm fine with the changes, otherwise. Yes I will send a v5 fixing this point. Thanks, -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [PATCH v4] net/mlx5: load libmlx5 and libibverbs in run-time

2018-01-03 Thread Nélio Laranjeiro
> > --- a/drivers/net/mlx5/mlx5.c > > > +++ b/drivers/net/mlx5/mlx5.c > > > @@ -30,7 +30,8 @@ > > > * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT > > OF THE USE > > > * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH > > DAMAGE. > > > */ > > > - > > > +#define _GNU_SOURCE > > > +#include > > > #include > > > #include > > > #include > > > @@ -39,13 +40,17 @@ > > > #include > > > #include > > > #include > > > - > > > +#include > > > > The empty line should remain. > [S.B] OK. To be sure, the empty line should be between the system include and verbs ones. > > > > > /* Verbs header. */ > > > /* ISO C doesn't support unnamed structs/unions, disabling -pedantic. > > > */ #ifdef PEDANTIC #pragma GCC diagnostic ignored "-Wpedantic" > > > #endif > > > +#ifdef RTE_LIBRTE_MLX5_DLL > > > +#include "lib/mlx5_dll.h" > > > +#else > > > #include > > > +#endif > > > > This could be done by the mlx5_dll.h file which could include the correct > > header according to the configuration. > [S.B] I guess you refer to all *.c files that includes the verbs.h . >I will change them all ? Yes Thanks, -- Nélio Laranjeiro 6WIND

Re: [dpdk-dev] [RFC] mlx5: update NIC documentation on RDMA core version

2018-01-03 Thread Nélio Laranjeiro
with RDMA-Core for those who have modified their Linux Kernel. Thanks, [1] http://dpdk.org/doc/guides/nics/mlx5.html#installation -- Nélio Laranjeiro 6WIND

[dpdk-dev] [PATCH v2 1/3] cmdline: increase command line buffer

2016-02-26 Thread Nélio Laranjeiro
On Mon, Jan 18, 2016 at 03:38:43PM +0100, Olivier MATZ wrote: > Hi, > > On 01/15/2016 10:00 AM, Panu Matilainen wrote: > diff --git a/lib/librte_cmdline/cmdline_rdline.h > b/lib/librte_cmdline/cmdline_rdline.h > index b9aad9b..72e2dad 100644 > --- a/lib/librte_cmdline/cmdline_r

[dpdk-dev] [PATCH 01/12] ethdev: add API to query what/if packet type is set

2016-01-05 Thread Nélio Laranjeiro
On Mon, Jan 04, 2016 at 02:36:14PM +, Ananyev, Konstantin wrote: > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Adrien Mazarguil > > Sent: Monday, January 04, 2016 11:38 AM > > To: Tan, Jianfeng > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev

[dpdk-dev] [PATCH v2 1/3] cmdline: increase command line buffer

2016-01-15 Thread Nélio Laranjeiro
On Tue, Jan 12, 2016 at 02:46:07PM +0200, Panu Matilainen wrote: > On 01/12/2016 12:49 PM, Nelio Laranjeiro wrote: > >Allow long command lines in testpmd (like flow director with IPv6, ...). > > > >Signed-off-by: John McNamara > >Signed-off-by: Nelio Laranjeiro > >--- > > doc/guides/rel_notes/de

[dpdk-dev] [PATCH 00/24] Refactor mlx5 to improve performance

2016-06-14 Thread Nélio Laranjeiro
On Mon, Jun 13, 2016 at 11:50:48AM -0700, Javier Blazquez wrote: >[...] > This is a very exciting patch. I applied it and reran some microbenchmarks > of mine that test the TX and RX paths separately. These are the results I > got: > > TX path (burst = 64 packets) > > 1 thread - 2 ports - 4 queu

[dpdk-dev] [PATCH 00/24] Refactor mlx5 to improve performance

2016-06-20 Thread Nélio Laranjeiro
On Fri, Jun 17, 2016 at 05:09:43PM +0100, Ferruh Yigit wrote: > On 6/8/2016 10:47 AM, Nelio Laranjeiro wrote: > > Enhance mlx5 with a data path that bypasses Verbs. > > > > The first half of this patchset removes support for functionality completely > > rewritten in the second half (scatter/gather

[dpdk-dev] [PATCH 00/24] Refactor mlx5 to improve performance

2016-06-20 Thread Nélio Laranjeiro
On Mon, Jun 20, 2016 at 04:03:00PM +0100, Ferruh Yigit wrote: > On 6/20/2016 8:38 AM, N?lio Laranjeiro wrote: > > On Fri, Jun 17, 2016 at 05:09:43PM +0100, Ferruh Yigit wrote: > >> On 6/8/2016 10:47 AM, Nelio Laranjeiro wrote: > >>> Enhance mlx5 with a data path that bypasses Verbs. > >>> > >>> The

[dpdk-dev] [PATCH v2 00/25] Refactor mlx5 to improve performance

2016-06-21 Thread Nélio Laranjeiro
Hi Ferruh, On Mon, Jun 20, 2016 at 06:01:49PM +0100, Ferruh Yigit wrote: > Hi Nelio, > > On 6/20/2016 5:10 PM, Nelio Laranjeiro wrote: > > Enhance mlx5 with a data path that bypasses Verbs. > > > > The first half of this patchset removes support for functionality completely > > rewritten in the

[dpdk-dev] [PATCH v3 00/25] Refactor mlx5 to improve performance

2016-06-21 Thread Nélio Laranjeiro
On Tue, Jun 21, 2016 at 03:43:08PM +0800, Yuanhan Liu wrote: > Hi, > > Here is an off-topic comment: would you please add following line to > the sendemail section of your git config file? > > chainreplyto = false > > That would let me to break the long threads in my client much easier. > Ot

[dpdk-dev] [PATCH v3 00/25] Refactor mlx5 to improve performance

2016-06-21 Thread Nélio Laranjeiro
On Tue, Jun 21, 2016 at 04:05:44PM +0800, Yuanhan Liu wrote: > On Tue, Jun 21, 2016 at 10:00:34AM +0200, N?lio Laranjeiro wrote: > > On Tue, Jun 21, 2016 at 03:43:08PM +0800, Yuanhan Liu wrote: > > > Hi, > > > > > > Here is an off-topic comment: would you please add following line to > > > the sen

[dpdk-dev] [PATCH v3 11/25] mlx5: add support for configuration through kvargs

2016-06-22 Thread Nélio Laranjeiro
On Tue, Jun 21, 2016 at 05:42:42PM +0100, Ferruh Yigit wrote: > On 6/21/2016 8:23 AM, Nelio Laranjeiro wrote: > > The intent is to replace the remaining compile-time options and environment > > variables with a common mean of runtime configuration. This commit only > > adds the kvargs handling code

[dpdk-dev] librte_meter compilation fails on IBM Power8

2016-06-22 Thread Nélio Laranjeiro
Hi Cristian, Chao, I have encountered a compilation failure on IBM Power8 when compiling master branch with EXTRA_CFLAGS='-O0 -g': /root/nl/dpdk.org/build/lib/librte_meter.a(rte_meter.o): In function `rte_meter_get_tb_params': /root/nl/dpdk.org/lib/librte_meter/rte_meter.c:57: undefined refe

[dpdk-dev] [PATCH v5 00/25] Refactor mlx5 to improve performance

2016-06-23 Thread Nélio Laranjeiro
Hi, I got an connection failure to my stmp server in the middle. If you want a v6 tell me. Regards, -- N?lio Laranjeiro 6WIND

[dpdk-dev] [PATCH v6 00/25] Refactor mlx5 to improve performance

2016-06-24 Thread Nélio Laranjeiro
Sorry about this, it will need a v7, a bug was introduced in the previous version to fix a checkpatch warning. kvargs were no more interpreted. I will resend a v7 after verifying everything. Regards, -- N?lio Laranjeiro 6WIND

[dpdk-dev] [PATCH v7 15/25] mlx5: handle Rx CQE compression

2016-06-27 Thread Nélio Laranjeiro
On Mon, Jun 27, 2016 at 01:03:19PM +0100, Bruce Richardson wrote: > On Fri, Jun 24, 2016 at 03:17:54PM +0200, Nelio Laranjeiro wrote: > > Mini (compressed) CQEs are returned by the NIC when PCI back pressure is > > detected, in which case the first CQE64 contains common packet information > > follo

[dpdk-dev] [PATCH v7 17/25] mlx5: add support for inline send

2016-06-27 Thread Nélio Laranjeiro
On Mon, Jun 27, 2016 at 01:17:42PM +0100, Bruce Richardson wrote: > On Fri, Jun 24, 2016 at 03:17:56PM +0200, Nelio Laranjeiro wrote: > > From: Yaacov Hazan > > > > Implement send inline feature which copies packet data directly into WQEs > > for improved latency. The maximum packet size and the

[dpdk-dev] [PATCH v3 4/5] testpmd: handle all rxqs in rss setup

2016-06-27 Thread Nélio Laranjeiro
On Tue, Jun 14, 2016 at 07:08:05PM -0400, Zhihong Wang wrote: > This patch removes constraints in rxq handling when multiqueue is enabled > to handle all the rxqs. > > Current testpmd forces a dedicated core for each rxq, some rxqs may be > ignored when core number is less than rxq number, and tha

[dpdk-dev] [PATCH v3 4/5] testpmd: handle all rxqs in rss setup

2016-06-28 Thread Nélio Laranjeiro
Hi Pablo, On Mon, Jun 27, 2016 at 10:36:38PM +, De Lara Guarch, Pablo wrote: > Hi Nelio, > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of N?lio Laranjeiro > > Sent: Monday, June 27, 2016 3:24 PM > > To: Wang, Zhihong > > Cc: dev at dpdk.org; Ananyev

[dpdk-dev] [PATCH] app/testpmd: limit number of forwarding cores

2016-06-28 Thread Nélio Laranjeiro
On Mon, Jun 27, 2016 at 11:35:19PM +0100, Pablo de Lara wrote: > Number of forwarding cores must be equal or less than > number of forwarding streams, otherwise two cores > would try to use a same queue on a port, which is not allowed. > > Fixes: f2bb7ae1d204 ("app/testpmd: handle all Rx queues in

[dpdk-dev] [PATCH v9 0/4] ethdev: add speed capabilities and refactor link API

2016-03-08 Thread Nélio Laranjeiro
On Tue, Mar 08, 2016 at 04:00:29PM +0100, Marc Sune wrote: > 2016-03-01 1:45 GMT+01:00 Marc Sune : > > > The current rte_eth_dev_info abstraction does not provide any mechanism to > > get the supported speed(s) of an ethdev. > > > > For some drivers (e.g. ixgbe), an educated guess could be done ba

[dpdk-dev] [PATCH v5 3/4] ethdev: redesign link speed config API

2015-10-06 Thread Nélio Laranjeiro
Hi Marc, On Sun, Oct 04, 2015 at 11:12:46PM +0200, Marc Sune wrote: >[...] > /** > + * Device supported speeds bitmap flags > + */ > +#define ETH_LINK_SPEED_AUTONEG (0 << 0) /*< Autonegociate > (all speeds) */ > +#define ETH_LINK_SPEED_NO_AUTONEG(1 << 0) /*< Disable autoneg

[dpdk-dev] [PATCH 0/4] RSS enhancement on Intel x550 NIC

2015-10-16 Thread Nélio Laranjeiro
On Mon, Sep 28, 2015 at 03:52:27PM +0800, Wenzhuo Lu wrote: > This patch set implements the RSS enhancement on x550. > The enhancement includes, the PF RSS redirection table is enlarged > from 128 entries to 512 entries, the VF doesn't share the same > registers with PF and per VF RSS redirection t

[dpdk-dev] RSS API discussion

2015-10-16 Thread Nélio Laranjeiro
On Fri, Oct 16, 2015 at 01:40:00PM +, Lu, Wenzhuo wrote: > Hi N?lio, > > > Hi Wenzhuo, > > > > We should discuss about this API for a future release of DPDK because this > > one > > lacks in flexibility. Some other NICs have indirection tables with a > > different/configurable size, and th

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-08 Thread Nélio Laranjeiro
On Mon, Sep 07, 2015 at 10:52:53PM +0200, Marc Sune wrote: > 2015-08-29 2:16 GMT+02:00 Marc Sune : > > > The current rte_eth_dev_info abstraction does not provide any mechanism to > > get the supported speed(s) of an ethdev. > > > > For some drivers (e.g. ixgbe), an educated guess can be done base

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability

2015-09-09 Thread Nélio Laranjeiro
bitmap Reply-To: Shern , Adrien Mazarguil Bcc: Subject: Re: [dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap Reply-To: In-Reply-To: <20150909090855.GC17463 at autoinstall.dev.6wind.com> Marc, On Tue, Sep 08, 2015 at 10:24:36PM +0200, Marc Sune wrote: > Neilo, > > 2

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-09 Thread Nélio Laranjeiro
Marc, (making this discussion public again) On Wed, Sep 09, 2015 at 12:07:01PM +0200, Marc Sune wrote: > Hi Nelio > > 2015-09-09 11:08 GMT+02:00 N?lio Laranjeiro : > > Marc, > > On Tue, Sep 08, 2015 at 10:24:36PM +0200, Marc Sune wrote: > > Neilo, > > > > 2015-09-08 12:03 G

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-14 Thread Nélio Laranjeiro
On Sun, Sep 13, 2015 at 11:18:33PM +0200, Thomas Monjalon wrote: > 2015-09-13 21:14, Marc Sune: > > 2015-09-09 15:33 GMT+02:00 Thomas Monjalon : > > > 2015-09-09 15:10, N?lio Laranjeiro: > > > > I think V2 is better, maybe you can add a function to convert a single > > > > bitmap value to the equiv

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-15 Thread Nélio Laranjeiro
On Tue, Sep 15, 2015 at 12:50:11AM +0200, Morten Br?rup wrote: > Comments inline, marked MB>. > > Med venlig hilsen / kind regards > - Morten Br?rup > > Marc Sune on 14. september 2015 23:34 wrote: > > 2015-09-14 12:52 GMT+02:00 Morten Br?rup : > > It is important to consider that a multipath l

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

2016-01-29 Thread Nélio Laranjeiro
Hi Marc, On Fri, Jan 29, 2016 at 01:42:05AM +0100, Marc Sune wrote: >[...] > /** > - * Device supported speeds > - */ > -#define ETH_SPEED_CAP_NOT_PHY(0) /*< No phy media > */ > -#define ETH_SPEED_CAP_10M_HD (1 << 0) /*< 10 Mbps half-duplex> */ > -#define ETH_SPEED_CAP_10M_FD (1 << 1)

[dpdk-dev] [PATCH 3/3] scripts: check headline of drivers commits

2016-07-06 Thread Nélio Laranjeiro
Thomas, On Wed, Jul 06, 2016 at 12:38:50PM +0200, Thomas Monjalon wrote: > From: Nelio Laranjeiro > > A driver patch under net should start with "net/" or if > a patch touch multiple drivers, it should only start with "net:". > The same apply for crypto. > A patch touching all drivers (net + cry

[dpdk-dev] Building connectx-3 fails on Fedora 22 and Fedora 24 with latest git tree

2016-07-18 Thread Nélio Laranjeiro
Hi Kevin, On Sat, Jul 16, 2016 at 07:38:50PM +0300, Kevin Wilson wrote: > Hello, > > I had tried to build the connectx-3 driver with latest git tree and > it fails with > ... > ... > == Build drivers/net/mlx4 > CC mlx4.o > /work/down/temp/dpdk/drivers/net/mlx4/mlx4.c: In function ?txq_cleanup

[dpdk-dev] [PATCH v2] doc: update guide and release notes for mlx5

2016-07-27 Thread Nélio Laranjeiro
On Wed, Jul 27, 2016 at 12:27:26PM +0300, Olga Shern wrote: > Signed-off-by: Olga Shern > --- > doc/guides/nics/mlx5.rst |7 ++- > doc/guides/rel_notes/release_16_07.rst | 14 ++ > 2 files changed, 20 insertions(+), 1 deletions(-) > > diff --git a/doc/guides/n

[dpdk-dev] [PATCH] cmdline: increase commandline buffer size to 512

2015-11-05 Thread Nélio Laranjeiro
On Thu, Nov 05, 2015 at 09:58:36AM +, John McNamara wrote: > Increase commandline buffer size to 512 to allow for longer > commandlines required by testpmd when dealing with flow > director and IPv6 addresses. > > Signed-off-by: John McNamara > --- > lib/librte_cmdline/cmdline_rdline.h | 2 +

[dpdk-dev] [PATCH] cmdline: increase commandline buffer size to 512

2015-11-09 Thread Nélio Laranjeiro
On Mon, Nov 09, 2015 at 11:45:04AM +, Mcnamara, John wrote: > > > > -Original Message- > > From: N?lio Laranjeiro [mailto:nelio.laranjeiro at 6wind.com] > > Sent: Thursday, November 5, 2015 4:51 PM > > To: Mcnamara, John; Olivier Matz; Thomas Monjalon > > Cc: dev at dpdk.org > > Subje

[dpdk-dev] [PATCH v9 3/4] ethdev: redesign link speed config API

2016-03-09 Thread Nélio Laranjeiro
Hi Marc, A small remark bellow. On Tue, Mar 01, 2016 at 01:45:50AM +0100, Marc Sune wrote: > This patch redesigns the API to set the link speed/s configure > for an ethernet port. Specifically: > > - it allows to define a set of advertised speeds for > auto-negociation. > - it allows to disabl

[dpdk-dev] [PATCH v9 0/4] ethdev: add speed capabilities and refactor link API

2016-03-09 Thread Nélio Laranjeiro
On Tue, Mar 08, 2016 at 05:53:05PM +0100, N?lio Laranjeiro wrote: > On Tue, Mar 08, 2016 at 04:00:29PM +0100, Marc Sune wrote: > > 2016-03-01 1:45 GMT+01:00 Marc Sune : > > > > > The current rte_eth_dev_info abstraction does not provide any mechanism to > > > get the supported speed(s) of an ethde

[dpdk-dev] [PATCH v9 0/4] ethdev: add speed capabilities and refactor link API

2016-03-09 Thread Nélio Laranjeiro
On Wed, Mar 09, 2016 at 10:29:38AM +0100, N?lio Laranjeiro wrote: > On Tue, Mar 08, 2016 at 05:53:05PM +0100, N?lio Laranjeiro wrote: > > On Tue, Mar 08, 2016 at 04:00:29PM +0100, Marc Sune wrote: > > > 2016-03-01 1:45 GMT+01:00 Marc Sune : > > > > > > > The current rte_eth_dev_info abstraction do

[dpdk-dev] [PATCH v9 3/4] ethdev: redesign link speed config API

2016-03-09 Thread Nélio Laranjeiro
On Wed, Mar 09, 2016 at 11:09:55AM +0100, Marc wrote: >On 9 March 2016 at 09:45, N?lio Laranjeiro <[1]nelio.laranjeiro at > 6wind.com> >wrote: > > Hi Marc, > > A small remark bellow. > On Tue, Mar 01, 2016 at 01:45:50AM +0100, Marc Sune wrote: > > This patch redesigns

[dpdk-dev] [PATCH 1/2] ethdev: bump library version

2016-03-09 Thread Nélio Laranjeiro
On Wed, Mar 09, 2016 at 03:14:07PM +0100, Thomas Monjalon wrote: > There was an ABI change and more are coming in the release 16.04. > > Fixes: a9963a86b2e1 ("ethdev: increase RETA entry size") > > Signed-off-by: Thomas Monjalon > --- > doc/guides/rel_notes/release_16_04.rst | 5 - > lib/li

[dpdk-dev] [PATCH v10 0/8] ethdev: 100G and link speed API refactoring

2016-03-15 Thread Nélio Laranjeiro
On Mon, Mar 14, 2016 at 10:55:38PM +0100, Thomas Monjalon wrote: > Re-spin of the Marc's patchset. > The first version was sent 10 months ago! > There are still too few tests and reviews but it is now time to move > forward with this rework. > Some issues were remaining in v9 and were difficult to

[dpdk-dev] [PATCH v5 3/4] ethdev: redesign link speed config API

2016-02-11 Thread Nélio Laranjeiro
On Tue, Feb 02, 2016 at 11:30:59PM +0100, Marc wrote: > On 2 February 2016 at 03:20, Stephen Hemminger > wrote: > > > On Thu, 28 Jan 2016 17:33:20 + > > Harish Patil wrote: > > > > > * Added utility MACROs ETH_SPEED_NUM_XXX with the numeric > > > values of all supported link speeds, in Mbp

[dpdk-dev] [PATCH v8 2/4] ethdev: Fill speed capability bitmaps in the PMDs

2016-02-15 Thread Nélio Laranjeiro
On Sun, Feb 14, 2016 at 11:17:37PM +0100, Marc Sune wrote: > Added speed capabilities to all pmds supporting physical NICs: > > * e1000 > * ixgbe > * i40 > * bnx2x > * cxgbe > * mlx4 > * mlx5 > * nfp > * fm10k >[...] > diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c >

[dpdk-dev] [PATCH v8 3/4] ethdev: redesign link speed config API

2016-02-15 Thread Nélio Laranjeiro
On Sun, Feb 14, 2016 at 11:17:38PM +0100, Marc Sune wrote: > This patch redesigns the API to set the link speed/s configure > for an ethernet port. Specifically: > > - it allows to define a set of advertised speeds for > auto-negociation. > - it allows to disable link auto-negociation (single fi

[dpdk-dev] [PATCH v8 2/4] ethdev: Fill speed capability bitmaps in the PMDs

2016-02-16 Thread Nélio Laranjeiro
Hi Marc, On Mon, Feb 15, 2016 at 06:14:42PM +0100, Marc wrote: > Rahul, Neilo, Jing D, et al > > On 15 February 2016 at 15:43, Rahul Lakkireddy chelsio.com > > wrote: > > > Hi Marc, > > > > On Sunday, February 02/14/16, 2016 at 23:17:37 +0100, Marc Sune wrote: > > > Added speed capabilities to

[dpdk-dev] [PATCH 2/2] doc: add mlx5 release notes

2016-11-03 Thread Nélio Laranjeiro
On Thu, Nov 03, 2016 at 12:25:47PM +, Mcnamara, John wrote: > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Nelio Laranjeiro > > Sent: Wednesday, November 2, 2016 1:47 PM > > To: dev at dpdk.org > > Subject: [dpdk-dev] [PATCH 2/2] doc: add mlx5 release

[dpdk-dev] [PATCH 00/22] Generic flow API (rte_flow)

2016-11-21 Thread Nélio Laranjeiro
Hi, I found some small issues: - In rte_flow_error_set(), *cause argument should be const to avoid a compilation error when we implement it. - In port_flow_create(), the flow is not stored in the pf structure which ends by providing a null pointer to port_flow_destroy() function. Reg

<    1   2   3   4   5