From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B16621991CC for ; Tue, 22 Oct 2024 09:49:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729590597; cv=none; b=KoCSo5b5LKyZK4unfoU/L8twaOgiridjX2/Qnsp9pjr0/f4YyyomkOuzk+0SD6P/lY/qEjZrBw+WdxqWSTsAyK32Cyfu4ccrQZlX4szrlSmWOMQiEx/BVXc/jrb7etSYv8UCmseowlt7Iw3AYKpNDkARLZq6jYQsQM0jLa4urMM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729590597; c=relaxed/simple; bh=FHDMCQSj4bOSnFGm64uWhd8NfaqRwIffME40ECj3VBk=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=C2YjWjLixHIe4aXQhH+m5au1RZwvoAHdlQDafhmMxoJ/qqOXt4XTtlLQx58F9Cy9uCuk4uOkGUeJrvm6+2roHwftQwABIMC/jDulLgpsqxXIrYIgA5KLZUNf/vR4dqHfiZJvdgtDBRlCk6ufDveiAchb7eOf36nzEDYNTgMJAko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=c0ccslYX; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="c0ccslYX" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729590594; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FHDMCQSj4bOSnFGm64uWhd8NfaqRwIffME40ECj3VBk=; b=c0ccslYXT1Jvr5bfvIpZnLGgoYJXQt8jyPMqYh/lOVn9mdHEp9iAR0diAnVPYqR+TNq+Nf XyAhSrHk5BMwI9Mbkt0NMHTZyo/dX5j4AFfFM+L8igqIm2LwM3BR+iL9weRObJ4/05/Xi1 a5MwUBsH6c0QpY1qHdlhnYY4tPy+4Js= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-456-h7QSOEdNP_SByxoQxCbutA-1; Tue, 22 Oct 2024 05:49:53 -0400 X-MC-Unique: h7QSOEdNP_SByxoQxCbutA-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-37d5ca192b8so2956302f8f.1 for ; Tue, 22 Oct 2024 02:49:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729590592; x=1730195392; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=FHDMCQSj4bOSnFGm64uWhd8NfaqRwIffME40ECj3VBk=; b=v5XgWK6aLs7N/vuy4QIpPrhlkm9cYNTzinhpNjJ3dt+0u/HYwR6+ROlQUyyHCumYeE 4WBJNYWI239SitznmUaoXLjTeD5AW/6vGy7Q4agCwrsL2QzKFyZI84KUJf63Elp9ivul DX6nEnreKyCCTo7jgodnjKfXYIolWXTDrWNtZ9NYsnuFc6fPobUAGM003+w4A4A4g1VD h8F4w0MAr4/Jlrhoqschy8nTTLom5KRDMagyUltzXrZmgtoCuhec9hnFmO9dhOiXyW03 QMteKVQoHabC8YIjJi/0qbfyKcjwUZkV15RkfQgQpzRlgGd/3j9v/wLD6cVLF8P12ETu k7WQ== X-Forwarded-Encrypted: i=1; AJvYcCV1JhMbAMQOyrrXq+SnW511qvKuITpeKcbG5fhk/beG/fAP6Dx2LReciX7oVd+4VCz3ww21fc5WhKmGbhU=@vger.kernel.org X-Gm-Message-State: AOJu0YyREsADrmTRXsJWNI/5xrMGE4YRxsCN3P6NKfJylqRACy85qh0m 9Ah8WqMJdVNaUXt2oHq/MEuWm+DJg61vzmJybnkIfZNPNMR1UWrLnToYUObMl84INwHvKWHZhrg MSn1YUYE1qZRQ9oQDwNYcbS6QR5z//YUGv7t3EmA/hCcFIdMZsiA6jgZNx3BymA== X-Received: by 2002:adf:b186:0:b0:376:dbb5:10c2 with SMTP id ffacd0b85a97d-37ef13cd752mr1751572f8f.29.1729590592137; Tue, 22 Oct 2024 02:49:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGIEHKao3U/XFI7bzq9Kj6t6RyZxy0cnLw5nrYDT+Cbr6tQg8AZS6TySYFQBcdNzKRVWndUxQ== X-Received: by 2002:adf:b186:0:b0:376:dbb5:10c2 with SMTP id ffacd0b85a97d-37ef13cd752mr1751544f8f.29.1729590591777; Tue, 22 Oct 2024 02:49:51 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([2a0c:4d80:42:443::2]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0b9bcc8sm6205364f8f.107.2024.10.22.02.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 02:49:51 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 84B08160B2CF; Tue, 22 Oct 2024 11:49:50 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Puranjay Mohan , Albert Ou , Alexei Starovoitov , Andrew Morton , Andrii Nakryiko , bpf@vger.kernel.org, Daniel Borkmann , "David S. Miller" , Eduard Zingerman , Eric Dumazet , Hao Luo , Helge Deller , Jakub Kicinski , "James E.J. Bottomley" , Jiri Olsa , John Fastabend , KP Singh , linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, linux-riscv@lists.infradead.org, Martin KaFai Lau , Mykola Lysenko , netdev@vger.kernel.org, Palmer Dabbelt , Paolo Abeni , Paul Walmsley , Puranjay Mohan , Puranjay Mohan , Shuah Khan , Song Liu , Stanislav Fomichev , Yonghong Song Subject: Re: [PATCH bpf-next 1/5] net: checksum: move from32to16() to generic header In-Reply-To: <20241021122112.101513-2-puranjay@kernel.org> References: <20241021122112.101513-1-puranjay@kernel.org> <20241021122112.101513-2-puranjay@kernel.org> X-Clacks-Overhead: GNU Terry Pratchett Date: Tue, 22 Oct 2024 11:49:50 +0200 Message-ID: <877ca0ii0x.fsf@toke.dk> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Puranjay Mohan writes: > from32to16() is used by lib/checksum.c and also by > arch/parisc/lib/checksum.c. The next patch will use it in the > bpf_csum_diff helper. > > Move from32to16() to the include/net/checksum.h as csum_from32to16() and > remove other implementations. > > Signed-off-by: Puranjay Mohan Reviewed-by: Toke H=C3=B8iland-J=C3=B8rgensen