From nobody Mon Feb 14 00:23:22 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 614C41957968; Mon, 14 Feb 2022 00:23:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JxlLf2Hb0z4h1N; Mon, 14 Feb 2022 00:23:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644798202; 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; bh=olrSIoj1gS1UaE5wgYx4vwVBLSadGgt6C8fnIqXshwg=; b=ywxqLeR4mlKJl+iCJTxtobOW6ZCY965s+02OMqTb2mqEzB9yWexdFCljUqTFPU9Su1Z+7A 39NQvqelPDhH9FQeVosP0jUgPAzHUclFeMXDtnC3HxalvTLuaSW3riTP5mhw4wXpuvRFnk hmVQdHZcWYDN0FNyFFew/zv2Zy0DekBgzrZHViHOYnpoBnUWnrLV4LLxS7QMDo8K1zB+06 HrigXYFBde4TxxTNpSDWoMUDTKmOilYaILv+MdEF3Jgon0ciUHT751xKkz4HxIEE1braOL ZS73Vk8Ar6L9RwkRkGiKoD7yk7tEEKKttLzdNJxRlck8IUKRMmAMDS2faBAhXw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2E7F2248EB; Mon, 14 Feb 2022 00:23:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21E0NM9h083500; Mon, 14 Feb 2022 00:23:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21E0NM9Y083499; Mon, 14 Feb 2022 00:23:22 GMT (envelope-from git) Date: Mon, 14 Feb 2022 00:23:22 GMT Message-Id: <202202140023.21E0NM9Y083499@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 85d61bd872a0 - main - LinuxKPI: add NETIF_F_HW_CSUM to netdev_features.h List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 85d61bd872a0d91173d6cc8dc5bb2c927a5a4302 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644798202; 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; bh=olrSIoj1gS1UaE5wgYx4vwVBLSadGgt6C8fnIqXshwg=; b=VIb90XVGywrkYcCZ+J/zHUyCIwBA1k2vxbNXZ+PCNUhq1rOBrbgR6o3o3d5VJvlC/ZUmyO +/j7RjqcIFSdzL9wJln5/yBbVxXCsqBnF62M1nlNlnIBjl0GAPg9RQXcEkgGPO/hJzAdKe Qd9WckEmujDCSK4GjjvmS2jaQp5JKzVu+wPMTzNPztZnY314KsMA9kw028rdvlbLpznLSu QJxhsZpo0a3sOhR6dnTBStTtcc7y9cvT5Gb400PQ8S65slfNojTjnaR1/i4ufLc3CsUF5a 9QhIdUEeZN4X2AEC6srlrrOeyCWfh/6RjZjlUbVIwqYlWTIxkT0zhSwyEbfU2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644798202; a=rsa-sha256; cv=none; b=D4oj6S5uXN/6Du8YEELgyGfxUn3XPuS5sHHc0msjtxYYE+5s3HrSDsDA+lP/iYS8a8mdZQ RVIh5sIC9bstKvT3EqfFrDzuVRlF/ikseuxfoq0Y60E6YfjKlIzwmKePZZggFJ/LOzzb4E MiOtvxxkp1A1hnT/nGIoDuRy2o1icdq5kYkLMBn+mYsY35eIt8eq92oQfc0tglM3UFrc+M v52jHtGqiOLlhBbBPlQpS5jXP5rHy05O2vbydt5SGFQixWOSmUUDqLgCNilFO6MPgAaG95 3QfSXGx/suPmrJloT+CiQYtPx4fIkgM9ZMy0H+df44Oo1RG+ctJ5TAsf/9e26A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=85d61bd872a0d91173d6cc8dc5bb2c927a5a4302 commit 85d61bd872a0d91173d6cc8dc5bb2c927a5a4302 Author: Bjoern A. Zeeb AuthorDate: 2022-02-09 12:05:13 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-02-14 00:22:24 +0000 LinuxKPI: add NETIF_F_HW_CSUM to netdev_features.h Add NETIF_F_HW_CSUM to netdev_features.h as needed by a driver. MFC after: 3 days Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D34233 --- sys/compat/linuxkpi/common/include/linux/netdev_features.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/netdev_features.h b/sys/compat/linuxkpi/common/include/linux/netdev_features.h index f8442a7e1c0c..e21d1965bec6 100644 --- a/sys/compat/linuxkpi/common/include/linux/netdev_features.h +++ b/sys/compat/linuxkpi/common/include/linux/netdev_features.h @@ -42,6 +42,7 @@ typedef uint32_t netdev_features_t; #define NETIF_F_TSO BIT(4) #define NETIF_F_TSO6 BIT(5) #define NETIF_F_RXCSUM BIT(6) +#define NETIF_F_HW_CSUM BIT(7) #define NETIF_F_CSUM_MASK (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)