From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 62435A04FD; Fri, 7 Oct 2022 18:18:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C79340DDC; Fri, 7 Oct 2022 18:18:19 +0200 (CEST) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mails.dpdk.org (Postfix) with ESMTP id 9743E40A80 for ; Fri, 7 Oct 2022 18:18:17 +0200 (CEST) Received: by mail-pj1-f47.google.com with SMTP id gf8so4798674pjb.5 for ; Fri, 07 Oct 2022 09:18:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=OPAEwIli2qImP5MBlzaGtoAUUuVUHubjZ+d5Z0hE8Iw=; b=JsgJgVr27V4+vPOO4Haob8gg8/q2YfnbtWNKTawUjUbJu5ddar02f7YpJXgU9+zcca lgmsSteWlKT1e+141UbzSie+UHphHFjrVFf+5k1agIOcYTEcgnT6Mxumm+c+rGowh5Ta lI7V2nP840qRXmMZc9espY0IXpkcmZpy85/SLxPKF7IlzFGi/x2K7zhUlPCDV3S4t39N UvP8isYeXkvWiWJ2/Oqb5ETnV50eWAo3WdB8wrWXUw844/PHQjHdikpcEe54Qo2d59aA kstWY0he1floXupKurZIyvi6yZ0R5kASokg5hyK+2hAKfF728QUzxzgrM7u7jolOsIv7 l46w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OPAEwIli2qImP5MBlzaGtoAUUuVUHubjZ+d5Z0hE8Iw=; b=vX95EYYRLHpa8NYNoH5YlpqQL9dXMqtYiCfKe9i7auKOhJb4PifPg9TT3G08rKPZGT qphJg+e4UvsWcDPlTE9JXilWgbuBLWJzV4QHt5Gsg42jUsRcVuI4jI4qLLXQuB1obpyR z+jfVV1kiFIb/eObLCXF/4pbUK9GzSLHP/nkK1AQ6hfCCqvQE86eide8eDGAcgCZ3FjD wzNdb8If95Ktg/1jOZXrXfW0aUjuoe49vYhyzVX3D0x4E/DTQSv3+ieCP5x/IKg/ylHP xLlvr3hDJ7CszKXapRUbaV/cmFpLAkuSLVQOCVWXTvTII3iVihu3goG7sggkOnxDPlkR fb2w== X-Gm-Message-State: ACrzQf0890ee7cXymLHZyG/k/u6Bi0E4mEJs2oqF2Lwm9qAd4lb4y39D ShUb60JQoer3zBFilem6n+BdYHvzAYe0xw== X-Google-Smtp-Source: AMsMyM6fE7vSCx7aqB4VZ66S7wrrlp39pNVoPLJLhKCCIkyDr2byw9X4UqyEhwmlFrnVOReTzFX1xQ== X-Received: by 2002:a17:902:e54b:b0:178:75b9:f1e9 with SMTP id n11-20020a170902e54b00b0017875b9f1e9mr5527215plf.104.1665159496700; Fri, 07 Oct 2022 09:18:16 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id ik19-20020a170902ab1300b001730a1af0fbsm1737721plb.23.2022.10.07.09.18.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Oct 2022 09:18:16 -0700 (PDT) Date: Fri, 7 Oct 2022 09:18:14 -0700 From: Stephen Hemminger To: Thomas Monjalon Cc: Hanumanth Pothula , Andrew Rybchenko , Ferruh Yigit , dev@dpdk.org Subject: Re: [PATCH v7 2/4] ethdev: support mulitiple mbuf pools per Rx queue Message-ID: <20221007091814.764ada2a@hermes.local> In-Reply-To: <13112956.dW097sEU6C@thomas> References: <20221006170126.1322852-1-hpothula@marvell.com> <20221007143723.3204575-1-andrew.rybchenko@oktetlabs.ru> <20221007143723.3204575-3-andrew.rybchenko@oktetlabs.ru> <13112956.dW097sEU6C@thomas> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, 07 Oct 2022 18:08:57 +0200 Thomas Monjalon wrote: > > + /* Ensure that we have one and only one source of Rx buffers */ > > + if ((mp != NULL) + > > + operator? > Are we sure a boolean is always translated as 1? Yes, it is likely part of C standard.