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 158AD425C9; Mon, 18 Sep 2023 04:36:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 917E640395; Mon, 18 Sep 2023 04:36:10 +0200 (CEST) Received: from mail-ua1-f45.google.com (mail-ua1-f45.google.com [209.85.222.45]) by mails.dpdk.org (Postfix) with ESMTP id C6E0F402B1 for ; Mon, 18 Sep 2023 04:36:08 +0200 (CEST) Received: by mail-ua1-f45.google.com with SMTP id a1e0cc1a2514c-7a754db0fbcso1178832241.2 for ; Sun, 17 Sep 2023 19:36:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1695004568; x=1695609368; 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=qKtc8raAxBBAAI+gGo/VPGZNEDBIJmfpRUH84xOHyQM=; b=r70lDyt27kvzGqBxwSif5gNjwdRHdd1vCA99g4FIKzM3s4tvnqWvjg93G11gjQmis5 0k5wzwLsZ44uISmL/ofq+YWwVpZCGjnVc1jY3N1+BH8GpjCqByxoN9ZaVsS3DxkF7Tu8 KAAruJIz4LSw1QvTPrn4QBZcQW+EeL0m9PGUFh0okgKGl4QULeHWwFAhnMiAjVKRHMWc 4LDID6iXlrDIUKdcAh+87AJvJ901gw4cebeZeWGhoe2qH2eBPlvNigQO9tCQ7c8/KGxy C5O31p+USgZaEJzm2npg/CLc60sad3KiChuD0pRd0XWi0Lq2I++1xzelg8bdxynte1/j JFqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695004568; x=1695609368; 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=qKtc8raAxBBAAI+gGo/VPGZNEDBIJmfpRUH84xOHyQM=; b=MdHOx/07cZQtj+X50tJo2jD/kovJSRZd1nMEFR6tNXFVb6MtrIgv1K9L4dPLbWPtFC EXZfJiz2AxmhcRxgWIt+ygPyKaNENr/nyEVIh4u8dGvA9V2GhEcyc3Rj4kTdlG0DuG0t tSiiys0gj72FMXYmpSEhvN+G8ANhLi7ZNtWfraB1K+vTJ/IYlfGBF3XmqHYLQjaJ2tj6 J4GRmODlevexi+bH9eIEz+uv0jY8sJkUbpTQ6UiFOwF5Sjq/MKq9Abw4eGno0iiaCPLc xviCE/5/iWQ80e3keRUmIl2qPjoBK4mSCbGWK09YCUFykJlDe9zU4Uk51Voi4iNtSZqn 3pFQ== X-Gm-Message-State: AOJu0YxccQsjzZDR1riRlDlO6Lqoadmprf3D7rRTco0FqRk6YWqff3wG 6wXYYNE9mkNF8ipp0iX8Fx5oxIAidc/9Yvf6FUjYFA== X-Google-Smtp-Source: AGHT+IGnFFUw5we4iDUVshmyuW28AL9Lu8cICZkonX84fxd65I2pAO3cE+V4CE0w3nP6PlZKDLWRKA== X-Received: by 2002:a1f:c983:0:b0:486:e696:c69a with SMTP id z125-20020a1fc983000000b00486e696c69amr4728433vkf.16.1695004568080; Sun, 17 Sep 2023 19:36:08 -0700 (PDT) Received: from hermes.local (204-195-112-131.wavecable.com. [204.195.112.131]) by smtp.gmail.com with ESMTPSA id j15-20020a633c0f000000b00565009a97f0sm5855413pga.17.2023.09.17.19.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 19:36:07 -0700 (PDT) Date: Sun, 17 Sep 2023 19:36:06 -0700 From: Stephen Hemminger To: Cc: , , Steven Song Subject: Re: [PATCH v5 09/32] net/sssnic/base: add control queue Message-ID: <20230917193606.16f73a99@hermes.local> In-Reply-To: <20230904045658.238185-10-wanry@3snic.com> References: <20230904045658.238185-1-wanry@3snic.com> <20230904045658.238185-10-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:35 +0800 wrote: > rte_memcpy(cmd->response_data, rte_pktmbuf_mtod(mbuf, void *), > + cmd->response_len); For small sizes, regular memcpy is going to be the same or faster than rte_memcpy