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 44F53A0C47; Wed, 13 Oct 2021 19:14:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 72DF541104; Wed, 13 Oct 2021 19:14:18 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2061.outbound.protection.outlook.com [40.107.237.61]) by mails.dpdk.org (Postfix) with ESMTP id B3DE4410F0 for ; Wed, 13 Oct 2021 19:14:16 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=auTIKlG8wWvFIrOYCOW45f19KFQWqZTpYlY2cGBZfvq8aSr5GWqsqRiqvm0YRQshj7cLyj48fowWzDDIyymgKBIi5T+MF5ebxvTuRJ3nSR6qKvBMXDa2NOubegORXLagX8I6wn6kOLLqClu537AZ8s1EYB38433OU4SLJ1sCgp4z3tcOw6tIHPaLstd4Kpd9L9xO9YaLQnKrNV2AahB21wI5DkC/4J2bv3Lj/V4/uCoI7TQFSNB6iM0dxoZRo+E0uBSh8raF6fjKAQaQl0iaKopM7lnHwS5r/Tow31do8+qqIOIRCKl49Wwl2BuEkwPCxQ6y3dvmrO6RIDdc+inWIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HdzdE+FGbMPhSgfy+/2L6jKjBBV83utJZTkYNXStvrM=; b=RCqpjujv4LH1Ohe1WhlnGswfKroxDj1SR5BtmJNcH4I3ZKWTxwG2UbC5RhrJQot/ZutSXf53NyVEhDhN/np4pa182PJI6UetWEYBlWFyl+lR+uE5nt2kSo2KcZh4/Y7DxIpTHXbWAy4qa5vj4z9j6amNZYOX2DsiV+RF2CvJ8enSCmrX67g68JK/0ALP66rNxOSaV1OZsc1QRJ0KOyEcy2YKmoQZ5fRP2ukg82zOQr3pJ35BAUjLmhepe2yaxqg464wWhrW8hqhKvbhiQwQu+b4JY5YodOMsuJITFwjKP55C8il2Rmdda4rnLbc2WTd/65YalFnodmcI+g6a83Vv1g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=broadcom.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HdzdE+FGbMPhSgfy+/2L6jKjBBV83utJZTkYNXStvrM=; b=a3b/x6JeWPQ5nNEkNZYydHjsk7k2paM/swTAiWt4OcJv5totANQLQrwMh97yEc8MKSoJQHFlvuJFRQJh4ot38xcu5KlCpe0Vt4PqJ89H2Y9FwUv7iagzEE6i/n6Cjit1jIXV7BeYWSBht3VWNQxef5S5zrHhWNh316uBC06FCaabEo23g67xX/6JN7nRlHHt1zaEH3yO4/vV7nhCO2HFNEuSKI/HfA4n2iB/fljVoXyqJOcFJ7x05R8wlZJKI4qfxvGrq6+HgKdvdtDe5gvqULDNSMFnqZzaFKva0nUhHIl/Cu4m2Jimn/+BywnYjrkRYqWlo3X7g3HSQqxZ/ulHkQ== Received: from MW4PR04CA0229.namprd04.prod.outlook.com (2603:10b6:303:87::24) by DM4PR12MB5279.namprd12.prod.outlook.com (2603:10b6:5:39f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.20; Wed, 13 Oct 2021 17:14:15 +0000 Received: from CO1NAM11FT068.eop-nam11.prod.protection.outlook.com (2603:10b6:303:87:cafe::b6) by MW4PR04CA0229.outlook.office365.com (2603:10b6:303:87::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.26 via Frontend Transport; Wed, 13 Oct 2021 17:14:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; broadcom.com; dkim=none (message not signed) header.d=none;broadcom.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by CO1NAM11FT068.mail.protection.outlook.com (10.13.175.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4608.15 via Frontend Transport; Wed, 13 Oct 2021 17:14:14 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 13 Oct 2021 17:14:11 +0000 From: Gregory Etelson To: , CC: , , , , , Ray Kinsella , Viacheslav Ovsiienko , Ajit Khaparde , Andrew Rybchenko , Akhil Goyal Date: Wed, 13 Oct 2021 20:13:53 +0300 Message-ID: <20211013171354.27817-2-getelson@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211013171354.27817-1-getelson@nvidia.com> References: <20210527152858.13312-1-getelson@nvidia.com> <20211013171354.27817-1-getelson@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 01cd8ff4-656b-441f-c672-08d98e6ce1fc X-MS-TrafficTypeDiagnostic: DM4PR12MB5279: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1728; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vs3cpQZIlz2G8wlc2l0X4ehYDj/BXr2YvHjtNI4xW5P7do6e++u1zjX1NLljrwicjrOsdqjaXCXaniMD0D48HQzAIXYwM9C8a79NX3EsdUFEFg11EcA/O9czHd6lB899+wZ/axY0zzulEYwh4cW2mCO1R9AaZrXZ2hTA4Fll+LXjcChGL0wiR5bNF7IGcd7fqZNs3rABqKmYJ4cHVPpJPk2x5kwmUzok7wQVzPHa4GMvskLqzMsWzjqLQNb1Q64TyeK5zQl/BvMS/qHXjaK7AHy5h4WWEj5AR88iHtYUL5qOW+p43mShlOUwSXQeg6Hw7mjAKklrxasqV9mUqAKoDqqAbWnBJHPAs007dQN6yZMBKzf2KM/4qw2K/YxIJIeSQmSSag52Ny7q4N9Olfz8vBZaFoUXHJCxkYYTCg3dwYXC9n8ANXpE206Zq2yBG4rjxNKUrXYPKIL1E6x3m9Dhi2yQ425CQqoI/au7F1GW/9clPi5r4O5o5UK7ut2VbHxXOigMw+oen8GiZBXkWIbwDBrN/XG3XOqpdQC0hMW+rp0CWjY5sqNzX9i7xGyPClJyEfTF7etphWT8sm7bnEBrTbr081zQBxrIyYasMTDESicie2gNCDoQbfrRuwKqI+FrdWCzUyyzUSlCIZQ0N1wtELp3r3IzG3v84OrlTEuPKjAD1oHvFnXZs6AbWTOO8ZwR6NMJs3SHptgxJriHeD/K4A== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(110136005)(70206006)(508600001)(70586007)(7049001)(6286002)(7636003)(316002)(55016002)(356005)(4326008)(54906003)(5660300002)(336012)(2616005)(2906002)(83380400001)(36860700001)(7696005)(47076005)(16526019)(1076003)(82310400003)(86362001)(36756003)(8936002)(26005)(186003)(426003)(6666004)(8676002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2021 17:14:14.7678 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 01cd8ff4-656b-441f-c672-08d98e6ce1fc X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT068.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5279 Subject: [dpdk-dev] [PATCH v6 1/2] net: fix IPv4 change announce 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 Sender: "dev" IPv4 header encodes fragment information into 16 bits field. 3 bits hold flags and remaining 13 bits are for fragment offset. 13 bits bit-field cannot be defined both for big and little endian systems. The patch removes IPv4 fragments union announce. Fixes: f7383e7c7ec1 ("net: announce changes in IPv4 header access") Signed-off-by: Gregory Etelson --- doc/guides/rel_notes/deprecation.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 309f1056cf..841653fe30 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -158,11 +158,8 @@ Deprecation Notices consistent with existing outer header checksum status flag naming, which should help in reducing confusion about its usage. -* net: The structure ``rte_ipv4_hdr`` will have two unions. - The first union is for existing ``version_ihl`` byte - and new bitfield for version and IHL. - The second union is for existing ``fragment_offset`` - and new bitfield for fragment flags and offset. +* net: The structure ``rte_ipv4_hdr`` will have a union for + existing ``version_ihl`` byte and new bitfield for ``version`` and ``ihl``. * vhost: ``rte_vdpa_register_device``, ``rte_vdpa_unregister_device``, ``rte_vhost_host_notifier_ctrl`` and ``rte_vdpa_relay_vring_used`` vDPA -- 2.33.0