From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 324D6A0531;
	Mon, 10 Feb 2020 09:52:11 +0100 (CET)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 7F70C1BE8E;
	Mon, 10 Feb 2020 09:52:10 +0100 (CET)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com
 [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 7A58C1BDF8
 for <dev@dpdk.org>; Mon, 10 Feb 2020 09:52:08 +0100 (CET)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id B4BE921B2B;
 Mon, 10 Feb 2020 03:52:07 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Mon, 10 Feb 2020 03:52:07 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding:content-type; s=mesmtp;
 bh=+YnHs5AGKlWYSL03ivaTHhEPaiTE7vgQ98pGx0MNP2g=; b=ix8GP+oopPpk
 0T1//Yoa1HGhNKnZrnfPo26NmRXySADS1AC/N3eY6Gyp1C6o6hb6UmaMoYUgPrOv
 fnvbEos+Hz0NNtP4E5VoTs+2JTtU4+J8Fk/f6xLFbpdxz9CFnOur3L4iKy91yGT5
 JBJ32W5iIU59b+yeb4t9r/bzGpu7BgY=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm2; bh=+YnHs5AGKlWYSL03ivaTHhEPaiTE7vgQ98pGx0MNP
 2g=; b=X8zAfFV5+worxAzZ99rUdueAnwbpvrBSo8taYG+bacil34S62KwaNThpt
 jsdm1zeZEdE9T4N8NAr+j1qFrIzRDo07GDl3VtSwXxB7tpuZkiAS7kAcMeVJQxCE
 BHyWsC7T/0zBxVjzaUXtT6P5150Oz7Ceh0FJIAl55DAAPdmUy+K1awBZrmEttfZX
 pWYCi55Sj1pM/roEqejoUaVqU+aiojc10YW92GVOnZ1BqrnY6zwSGMgXblAVKWqd
 oy3WjrAmdSE4+O50X0A4K3d8Ie7llWSva/+NfG+EDPkL2bWFkXa9eT3PNVa0G+TY
 Yj127XQ6K/0ULsBTqupIb0j6GP5gA==
X-ME-Sender: <xms:txlBXmQ2HARMQx7mCbNV7abfcjSsgEpkNtDtQS8DH7AYwJ4oQ0AvHQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedriedtgdelfecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc
 fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs
 ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph
 epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr
 rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth
X-ME-Proxy: <xmx:txlBXhygpM0V-8p-_j5tiTEKXk4lig_K8giVTTzyEX7KExN5weNxmg>
 <xmx:txlBXhdKCo1XYan4RzphGE0RSODVERhaH3WIuZvPJEJpfxxMW5JOGQ>
 <xmx:txlBXtJ-ALPZeLjTfIAurf9Km7wR12ecqhRuY60stlVT1E0_LYwswg>
 <xmx:txlBXoXz71hKU2elMjnNvgH3MXkfauqpQ1S5nEwoOEp4tMbzoWrVxA>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id EEB10328005D;
 Mon, 10 Feb 2020 03:52:06 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Matan Azrad <matan@mellanox.com>
Cc: Shahaf Shuler <shahafs@mellanox.com>,
 Slava Ovsiienko <viacheslavo@mellanox.com>, "dev@dpdk.org" <dev@dpdk.org>
Date: Mon, 10 Feb 2020 09:52:05 +0100
Message-ID: <7829300.5OynTdThKG@xps>
In-Reply-To: <AM0PR0502MB401939E67BAD663E63371869D2190@AM0PR0502MB4019.eurprd05.prod.outlook.com>
References: <20200209211725.197237-1-thomas@monjalon.net>
 <AM0PR0502MB401939E67BAD663E63371869D2190@AM0PR0502MB4019.eurprd05.prod.outlook.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH] net/mlx: replace hardcoded value with macro
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

10/02/2020 07:32, Matan Azrad:
> From: Thomas Monjalon
> 
> > Replace checking against 65535 limit,
> > with a simpler form using RTE_MIN and UINT16_MAX macros.
> > 
> > Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> > ---
> 
> No more misusing of *_MAX \ RTE_MIN\RTE_MAX in the mlx PMDs?

Sorry I don't understand your question.