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 DB2B145AA4; Fri, 4 Oct 2024 01:24:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C2F904065C; Fri, 4 Oct 2024 01:24:35 +0200 (CEST) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mails.dpdk.org (Postfix) with ESMTP id ADE9B4065A for ; Fri, 4 Oct 2024 01:24:34 +0200 (CEST) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-718d606726cso1193293b3a.3 for ; Thu, 03 Oct 2024 16:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1727997874; x=1728602674; 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=O98f0du1vRcNGIsE6FTOjT1czk/pnh2vWS0tV08z3PU=; b=pJ2bU8F1gw/F7HZvrCJCxfiw3wyUhOqWXVjLwEqT1rlmkIX6phbhJ4T3D5g6zn7orL ZMWexMHhszpxLqspr1XHXMMm6tqDDT2WyKQX1WmZOes/UTbgV7lfrR0Wgd7YcoPqk4ze Qlm0mYpBv8DeVbtBMozmeOpbIW7Eo5B/tgORTHyQ4XBgmpxFpsOMSMvpL6ZbA5d5Mp+h dZeDp0Z5X6pWZ9CXbjhfLAiFeJubDLfNo4DV/nymyiFtWpfOargA2SyKxee9utKvzJQT hwMizI4V66i7oz44srw+szZnW621nnFz5+rKhFYTfkutcHb0LrYN2umcYrDocRCvQXhk 59rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727997874; x=1728602674; 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=O98f0du1vRcNGIsE6FTOjT1czk/pnh2vWS0tV08z3PU=; b=pXWiv7cf45WpPst11daeHTlSHldNV2rSglAEYXmkXXbW8x9fyEvM0EbzHRk4oJ38I3 HJ2NRTBWGnSB5TQ+Wtez6JPJwJu+d4A+wX5JCroCkV6OKyELlQarDWwFY80DQ7rx3xdC mUBEBQCby1ixkmsJ89+53Xbhn4iufV55n6V/6l9+2ez67Yk0ZrEZvbDvCA/DYDN3orjT F7KUuwTPJDj51ZmAx02LVfSzjYgChrg8fCNszQyQLDGkZPNFqdemo36Ow8lxjzoW+ySt 8Yk/YqH2Bjm2Ar+M33BezAF7Xo85KSoQo6amlzwSp6gS7VQJBQTQXKQ3ikXo/p26mrSg dy2g== X-Gm-Message-State: AOJu0YxFeMNCyCrNRPUIhlM2lC5eJpbh+f5LwnaVqlzLQy1g9DeirPsX mTqcNrT+4rGhhPGWk1ODJk157zPo9k2IB9I4lIlk38R10K7e1IVpbU1JvE4hdI0= X-Google-Smtp-Source: AGHT+IF6MxFDHBD+QNIWt1ILExdYEV2PwtKt9jkLrgvUSATM+jhqFux5TkKVjAcMM9Ci+pruYKUE2w== X-Received: by 2002:a05:6a20:438c:b0:1d6:c990:74cc with SMTP id adf61e73a8af0-1d6dfa2441emr1173854637.1.1727997873842; Thu, 03 Oct 2024 16:24:33 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e9dcb5cdc1sm1099317a12.86.2024.10.03.16.24.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 16:24:33 -0700 (PDT) Date: Thu, 3 Oct 2024 16:22:14 -0700 From: Stephen Hemminger To: Robin Jarry Cc: dev@dpdk.org, Thomas Monjalon Subject: Re: [PATCH dpdk v2 06/16] net: add ipv6 address utilities Message-ID: <20241003162214.2d9dc917@hermes.local> In-Reply-To: <20241001081728.301272-7-rjarry@redhat.com> References: <20240821162516.610624-17-rjarry@redhat.com> <20241001081728.301272-1-rjarry@redhat.com> <20241001081728.301272-7-rjarry@redhat.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 Tue, 1 Oct 2024 10:17:18 +0200 Robin Jarry wrote: > +/** > + * Copy an IPv6 address into another one. > + * > + * @param dst > + * The address into which to copy data. > + * @param src > + * The address from which to copy. > + */ > +static inline void > +rte_ipv6_addr_cpy(struct rte_ipv6_addr *dst, const struct rte_ipv6_addr *src) > +{ > + rte_memcpy(dst, src, sizeof(*dst)); > +} No should be structure assignment.