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 48C12425C9; Mon, 18 Sep 2023 04:31:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 17574402B1; Mon, 18 Sep 2023 04:31:23 +0200 (CEST) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mails.dpdk.org (Postfix) with ESMTP id F0A074021F for ; Mon, 18 Sep 2023 04:31:21 +0200 (CEST) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1c39f2b4f5aso27744865ad.0 for ; Sun, 17 Sep 2023 19:31:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1695004281; x=1695609081; darn=dpdk.org; 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=DtCYXHTDHKM7hYMIMD8aJ2QPa2s7hFDOFw1tqwZ06wY=; b=c5QbV7XNFKiKHpFuh/w2ws3BZIGWpBFz68TcUwRi9rKA+MfHGrVx05GMZunQc+rDsh PJm3h6xsWFmOBujMynyDsXt05E3vGajXWh0v5Zig3VkFs9VaFxj4tfaNgA1729xdUxt/ odSlS5NYmIT1+pXERU3N5z2hi/ZWkkbm5pp7T7GRyuGectxsNY0qx0vPJ3acNk+2abBo cm7x8eHK1fijTYJZ3efXF1Pqoz+qGLGEV7ZwrUE5fGCoXCWLLzH3FVyIumWXMZsyw7DB 1ZdcxeN1QerobzuEVf8OeROkdq7RR/uz3yq6/zz8CoZf+ac3+ky8z3CU22AxbTr/4+Qp DCfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695004281; x=1695609081; 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=DtCYXHTDHKM7hYMIMD8aJ2QPa2s7hFDOFw1tqwZ06wY=; b=ow1EA42VaFuODINCx7lFCunS7ASarUehxF1y1cjrBiXcerxtehbBQnTI3iatbztHgx nLC+16853W6Kl0WvgoG2c9x05OspbkusOypfxSPbW7Ta1+yvdHU11kP7US/vODZXH23n vqH3KVBZxhFPeol0JqZ+RgDJWq9MH/CRb+/RcV+XEEZFGEOCJaayqGrcQw/ClBO0VemQ KXSUX1lSmMgMMq/fyQEBflk8RWwBeMDKVBbN/HOF7K3oq6aco7aUiyQGXEQw+ImJoOUT Qon2Q0bon2SVT8YGp71rz5x5TTbEqax2F59HNkbUg3P6RASDqHkckcosszxZffTeh4vf +iAQ== X-Gm-Message-State: AOJu0YwQE1u/6upYOJ85DHZ2o3I/l984QA0MyVksBYaplwmR4s0LZMWC HPCtnZAWMtdAkZDsyqn095wzbw== X-Google-Smtp-Source: AGHT+IGI2JP3lW97GENGwN1lhWrvCrLmtserOHFjA1SKKwGJkdKRWTEcKzZUBVrUY/HbvsTO/UyGDg== X-Received: by 2002:a17:902:ecc5:b0:1c1:fbec:bc1c with SMTP id a5-20020a170902ecc500b001c1fbecbc1cmr7326657plh.42.1695004281002; Sun, 17 Sep 2023 19:31:21 -0700 (PDT) Received: from hermes.local (204-195-112-131.wavecable.com. [204.195.112.131]) by smtp.gmail.com with ESMTPSA id w16-20020a1709027b9000b001c3a8b135ebsm7216457pll.282.2023.09.17.19.31.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 19:31:20 -0700 (PDT) Date: Sun, 17 Sep 2023 19:31:19 -0700 From: Stephen Hemminger To: Cc: , , Steven Song Subject: Re: [PATCH v5 06/32] net/sssnic/base: add message definition and utility Message-ID: <20230917193119.78ce4cac@hermes.local> In-Reply-To: <20230904045658.238185-7-wanry@3snic.com> References: <20230904045658.238185-1-wanry@3snic.com> <20230904045658.238185-7-wanry@3snic.com> 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 Mon, 4 Sep 2023 12:56:32 +0800 wrote: > +static int > +sssnic_msg_buf_alloc(struct sssnic_msg *msg, size_t size) > +{ > + msg->data_buf = rte_zmalloc("sssnic_msg_data", size, 1); Putting message buffer on same NUMA node as device might help performance on NUMA architecture.