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 C9DFCA0C4B; Thu, 14 Oct 2021 19:41:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C924410EB; Thu, 14 Oct 2021 19:41:54 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2059.outbound.protection.outlook.com [40.107.244.59]) by mails.dpdk.org (Postfix) with ESMTP id AD7D6410E0 for ; Thu, 14 Oct 2021 19:41:52 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JkFJpInhNNAKUnXfvV+SU44dBv9a3/uWrjI1F0c5nX0GWI3bF8e7ChiB/uLwp8BsbVkyAT6I3bm3U++DcKnJtVgsoEBs+DDrVWnZG5QyLK3qFCPK9ttQOP8N/pkKLZchiYhrCZ4FFIoNxIT2MOOs38xFp8RO06r+DgaVzDcPEz/XN+fnj5VxCTzXN6k53WshpvrubDM1owl0mo70nd3LiyyqVvC8O/f7LbMhUYYbat9CO5hsCbfJpGhYoJTB09nj0LUVK0Nd3zrxIqYQ0WMwmOnGdqcSDJkGRuKWUD9W6Yyb8B/NWPU3tOXFzprFzkLaEXMdzNEhOzrWLzzAd2Ej4Q== 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=MCBOBAOLws2MsFYDlxCI6RlTFK4ye5eCwilf66E8rWA=; b=IM1S5bepUXTQ3kRHT6JyoHt83l19jpT7cgMFDfYkFyI1wqwX8ijCAJcel5q5zlDqWFixjKhwuWol8NaF4qBMzcT6sJiAvcLepJvq4BalnVsFufYNLYPe2DQKrNFUbhg+g3WsoOjyO1SyGH2l2PVAb5bjSTBCmA+c/VJphORfW2Xoo3ZKiRsMaK9/vn56y1foQG1sMfzhCbTOxbgzCGa/XNbZWY0Aw7niG3oj5KLnOO2ztUeK3afOvuVpipPKsnCDgiY5X8V9oHOV7jHQK4OAMHRFaXRAbg6T0m/VaYvBT04jSU1BsdDUQt9XtdjmEv/11Jk5HwH1VKS0Edc8KJbvNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=ashroe.eu 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=MCBOBAOLws2MsFYDlxCI6RlTFK4ye5eCwilf66E8rWA=; b=eOJiqX0v/LkC29Nwk/XvKrKgCBWPBcPWyFKWsy46MEiL281r9b1s8OEV3sE8G4POmzRDALvW1NpOUc5rGdJnFivfWmlaUvjOhm4JLQ+YRx+WjTnj+1V4bj1JxE1tezDo/sgWPAitNFXYMssm70Mzt7BBCxRjUCJPNwt0dF5/Pfunhfu6OppWDibs8hEUoAmuAZvF4A8WW1bvC47QmnSqFCoQIU8krM+Mhf/WhyJrysrh1/8nTKMeeIkwjsB43HNPKrUlKD7MPcv+xJ/I7AP8QuDaYx0ABRODbgQYpKvV2cL/Zmv7MUkSIammp3S88UCFcRFMe+tp1reIWSUhUghlQA== Received: from MWHPR21CA0050.namprd21.prod.outlook.com (2603:10b6:300:db::12) by MN2PR12MB3694.namprd12.prod.outlook.com (2603:10b6:208:165::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.25; Thu, 14 Oct 2021 17:41:50 +0000 Received: from CO1NAM11FT017.eop-nam11.prod.protection.outlook.com (2603:10b6:300:db:cafe::f4) by MWHPR21CA0050.outlook.office365.com (2603:10b6:300:db::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.3 via Frontend Transport; Thu, 14 Oct 2021 17:41:50 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; ashroe.eu; dkim=none (message not signed) header.d=none;ashroe.eu; 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 CO1NAM11FT017.mail.protection.outlook.com (10.13.175.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4608.15 via Frontend Transport; Thu, 14 Oct 2021 17:41:49 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 14 Oct 2021 17:41:45 +0000 From: Gregory Etelson To: , CC: , , , , , Akhil Goyal , Ori Kam , Ray Kinsella , Viacheslav Ovsiienko , "Andrew Rybchenko" , Ajit Khaparde Date: Thu, 14 Oct 2021 20:41:12 +0300 Message-ID: <20211014174113.10237-2-getelson@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211014174113.10237-1-getelson@nvidia.com> References: <20210527152858.13312-1-getelson@nvidia.com> <20211014174113.10237-1-getelson@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f5bc5b6d-503e-442d-e6ad-08d98f39e68c X-MS-TrafficTypeDiagnostic: MN2PR12MB3694: 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: Z1Jtv1RxruUEhAbKZc5MvvxSNY2CybAGSl9tNX8YKjBChO1ZZT+CGX5KtS5mzDg4LvAwhKHqDW4gQBG9rHDZJaZh1TvJ+FwxhjebHQ4tGwYQvVHa70CjeZllWallMWUgyvRc3dbSQ+chRFF0oajXR3C/iRAGYDk0BFP+Z568Z+ygrNpbCa3ZjcLOpoKOCQVGFzR2PhXRhM7/1cduofJtPPYr611RO4zP4gics0jhgyp3ADrATJqFZwbP3dOIYfaIji3r8W+BKgbMIPoxiIRS9a0BrI7su8gHA2+Sjge1PdsjnXo9rLw3XFqpygypU6xA8BYPn+ONOqtY1Wy9NpuFxdMJy/Q6Kx73tpbtF4UDEQDj2Y44UzPppldyDALwnIUwLigRzLLoZyaVCkRAfCVgiEL+TIMduSKXZl6MhIMOuvz/hMv2TQ2k0cTVWr97hWyHI7DH5ZU3sn5Phl/T3NSMF3HUhmQJOh8lYEfYso/+A0dR1odMgUYnCmHKP+64hM8ovr+k0+ydf46W+VY5umJYCAo+xeWQ69wkkPTF/saqzTrfo/Pb3e29cz0rjesOOaodDna413ncPU1HLq5ebCqUULcu32uBlGUXDsRCo1Mj6vhQdgDpiIXsgWysKZByw0OiR0vR56k4Hqk+iFOcSuRzpuTZ9v0WUtW9hzs7U9vjzS833Vh2SJqExYBPUG5YoQ0dzWOP37fUKW/1ImCQ8c7z0Q== 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)(46966006)(36840700001)(82310400003)(336012)(86362001)(426003)(1076003)(6286002)(26005)(2906002)(6666004)(7696005)(4326008)(36860700001)(16526019)(186003)(110136005)(316002)(5660300002)(70586007)(83380400001)(7636003)(70206006)(2616005)(7049001)(508600001)(54906003)(356005)(36756003)(47076005)(8676002)(55016002)(8936002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2021 17:41:49.2528 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f5bc5b6d-503e-442d-e6ad-08d98f39e68c 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: CO1NAM11FT017.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3694 Subject: [dpdk-dev] [PATCH v7 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 Acked-by: Thomas Monjalon Acked-by: Akhil Goyal Acked-by: Ori Kam --- 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