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 12D8D45501; Wed, 26 Jun 2024 17:00:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0AD00402D4; Wed, 26 Jun 2024 17:00:54 +0200 (CEST) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mails.dpdk.org (Postfix) with ESMTP id EF6A2402C4 for ; Wed, 26 Jun 2024 17:00:44 +0200 (CEST) Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-2c80637ee79so4838348a91.0 for ; Wed, 26 Jun 2024 08:00:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1719414044; x=1720018844; 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=LoQkQ9Yfd1DiHvLn4q8hRCP8FRGf2zQ0oe4A96Y+TUQ=; b=pQTVaftWqNpKRaPqPVJ9io8cUtcHvwgHz2qJZgdTbUlvv8e/I1HfbvSTza/pIN5Mw7 gIHvBElgF/2k9nRT+AWwtWeX6k3UJtt7GfsPFeQICPo6GTWrSLZze3WaquVq/D9oo9bG Xh3lJTm3BbOCwGrcm6yEP+QZs7wTw/8Za8Kl6znF1Cf3jQ8LgfyTyVdnzMHikJYiEPWJ I6DyeVDcO947ts9freW6kI0Dlxb1+g7A379xELSecxC+hDutNh4SrvTZpo/GUkUzl5tl Ll70oKL3Nc62xYw+TN8wDBDHDjYMNCHsOcB0nB/wFfFMB5QqK1L/T/MT/qIVRKOTLeAW gI8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719414044; x=1720018844; 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=LoQkQ9Yfd1DiHvLn4q8hRCP8FRGf2zQ0oe4A96Y+TUQ=; b=f1ZQpjj4IKIND1tuvYR8XxnbmNRi6ukv4LUPtYLAaX6j3lwg8GprLx0D75pmHmHv8C KPT9RE+21+xd77uE3LA3K1llsEJqiLP36wuwIJ87+JvMncnz0cqk+PkfIPoKLR1dhd/L p6vNot7mATSzQ4iht/lbV4S91gSG05onDm3RLgsuCPPo2Ss12zaYaLmOYPd7q6/wZurR 5YKtEBx6YQpa1ZvFesQSLIZZVfNwSViT2cvEILYLGbdK/j985ItkQVGwmvSA96ET2fGw mkg6z0O37odbksR3YnNX8YaIKdJJRiMVklmhvyE247h01pq4x/Fa6sJMfOZxyv1+bHHG 7qRA== X-Gm-Message-State: AOJu0YwpiRK70cyJ7qpFmmJID0ytRRrInTcNFCr4Ya/ESrroHXjvpq5E rATkboEB1qsINYSEMMbUVoKrJhr/2IGOw2u7hMIfmREcuOlXts1cVzCrSQK7Gxg= X-Google-Smtp-Source: AGHT+IH8D4ncQiuE/D/KZJI0PmEVJDaWvE2/GodGqs/dMJ0z+/4njPv50zjGh3HkdXXkD4O9Dsy2nQ== X-Received: by 2002:a17:90a:df16:b0:2c1:ebc4:4f1f with SMTP id 98e67ed59e1d1-2c86146c874mr8382477a91.33.1719414043811; Wed, 26 Jun 2024 08:00:43 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c8d8068fffsm1788585a91.29.2024.06.26.08.00.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 08:00:43 -0700 (PDT) Date: Wed, 26 Jun 2024 08:00:42 -0700 From: Stephen Hemminger To: Shijith Thotton Cc: , , , , Subject: Re: [PATCH] mbuf: fix API to copy mbuf dynamic fields Message-ID: <20240626080042.4660c1ce@hermes.local> In-Reply-To: <20240626120802.19333-1-sthotton@marvell.com> References: <20240626120802.19333-1-sthotton@marvell.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 Wed, 26 Jun 2024 17:38:02 +0530 Shijith Thotton wrote: > Fixed rte_mbuf_dynfield_copy() API to copy dynamic fields from one mbuf > to another. When RTE_IOVA_AS_PA is not defined during the build, an > additional dynamic field (dynfield2) becomes available. This field > should be conditionally copied to ensure the complete duplication of > dynamic fields between mbufs. This patch fixes the same. > > see https://bugs.dpdk.org/show_bug.cgi?id=1472 > > Bugzilla ID: 1472 > Fixes: 03b57eb7ab9a ("mbuf: add second dynamic field member") > Cc: stable@dpdk.org > > Signed-off-by: Shijith Thotton Acked-by: Stephen Hemminger