From patchwork Mon Apr 1 17:01:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 826 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6F81543DAA; Mon, 1 Apr 2024 19:03:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F3255402C9; Mon, 1 Apr 2024 19:03:09 +0200 (CEST) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mails.dpdk.org (Postfix) with ESMTP id 72C764028B for ; Mon, 1 Apr 2024 19:03:08 +0200 (CEST) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-6e703e0e5deso3260836b3a.3 for ; Mon, 01 Apr 2024 10:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1711990987; x=1712595787; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lZI2E1lMEUwDJLeisXyLN34rbkYcAVIJMcDn4cBEC1s=; b=qO4IntgVDA900rDIpQOnwkX3fXC5AtfTAfTNtwknCnXsTw4eSn3Ts+VcPfc8raNupp wqxG9evThzB51ui1cptwVMo0NIZyjkD2hJtbKNhdoWlNagXdOrVJzB0GNJHSgKLN91My Crqm2VYUkqNhpC4M/HXkoIGGnR8E+slF5nrGB5fU65ZLW/gqmzUX3m1FRht54In8smu8 JZYDbbJlo2C6/X/WSHuhrv+sZ+E0q9coXiNdfQ9VgBqMXAoeGoZQqVYjWnbsBr5s5b5/ tr20/L6zJzBtgAlkT+JtnN5ZDiqqjIYtIXhKHNSiQK7cbOjP4TPGCPdcrsbP9ObNSraX FUnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711990987; x=1712595787; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lZI2E1lMEUwDJLeisXyLN34rbkYcAVIJMcDn4cBEC1s=; b=dIoQFRwFhzmZPxzuekuBjIuS8Z7i6DXiEd92L9a19O5Wa8LWxCfcxKI3+tpPQ2a0Ya WwoxV/TMg4kkVJ3fb5aMqk71/t9Z9qklrhFo09Luq8AlZgBK4XX5ZekIkK1rzd0i5Iby n9oMQRfscX9TUgvl+CKGdn2WloPnQrR4vbUcNJIx2te80jvpBozxDPg2FOHRv3X9tPSJ HhV1gT21K2S53UbVgBOuxJdBtOeTBkeNbB6S/zJXlfCBzretlcGRq6fnHJcOZPbL22LI B5G54QT32A34rFOnCZM639Uu7TiDqFXVJGfrPFcA7KDyi7u9CmdLPwYe1uBDy3C9OTFO 0jIA== X-Gm-Message-State: AOJu0Yw8rAy9iqAdE2QAYjVISOws0/+6tJluSn9/L79JgcUt7w5j4Xc/ HrPSDiy7YF8658AqtlmOeY4XpZhfg704tHQDXdPyoSDGXRxvv620wJsoapGnsW/FxJ/S1DOa7pl o X-Google-Smtp-Source: AGHT+IGItcvwLfBjV2XYTE86zvGNlBV8/QavZqtP8g/osJ2FxuHChqgH60j/e4BBmX9IQODotEt4pw== X-Received: by 2002:a05:6a20:72a9:b0:1a5:68ba:c8a5 with SMTP id o41-20020a056a2072a900b001a568bac8a5mr8991448pzk.43.1711990987330; Mon, 01 Apr 2024 10:03:07 -0700 (PDT) Received: from hermes.local (204-195-123-203.wavecable.com. [204.195.123.203]) by smtp.gmail.com with ESMTPSA id a18-20020aa780d2000000b006e6cc93381esm8101729pfn.125.2024.04.01.10.03.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 10:03:06 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH 0/2] mempool: patches Date: Mon, 1 Apr 2024 10:01:51 -0700 Message-ID: <20240401170257.121047-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 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 Tried building mempool with MSVC. In addition to the __rte_constant macro Tyler had already done. This fixes a couple of warnings, and cleans up the code. Stephen Hemminger (2): mempool: replace GCC pragma with cast mempool: fix unused warning with MSVC lib/mempool/rte_mempool.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-)