From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ; 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: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedriedtgdelfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: 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 To: Matan Azrad Cc: Shahaf Shuler , Slava Ovsiienko , "dev@dpdk.org" Date: Mon, 10 Feb 2020 09:52:05 +0100 Message-ID: <7829300.5OynTdThKG@xps> In-Reply-To: References: <20200209211725.197237-1-thomas@monjalon.net> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > > --- > > No more misusing of *_MAX \ RTE_MIN\RTE_MAX in the mlx PMDs? Sorry I don't understand your question.