From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0043.outbound.protection.outlook.com [104.47.2.43]) by dpdk.org (Postfix) with ESMTP id F2DFFAABC for ; Tue, 17 Apr 2018 15:47:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=hqBp6ToRS62IlTsMMjbG03i6eTfK6jQxrSqKjrS+FHY=; b=yL0FNXaiFzpvhxuAr/kuLhymKnIBB5Beyrd2zv1cw8lYdLVku8aj8jFsUw/FadWFjK9QwiqqXMqFo59DiGmwJ1Y2HtDtwiUkN17ZmxsabwTa2iF2C4t+LyieDVKCHl0wXA/kCOEJ8dCldUUEvewS0ASXR5s6GT1dR9xmRLn3AjM= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4395.eurprd05.prod.outlook.com (52.134.108.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.12; Tue, 17 Apr 2018 13:47:26 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::808d:386e:26f3:859f]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::808d:386e:26f3:859f%13]) with mapi id 15.20.0675.015; Tue, 17 Apr 2018 13:47:26 +0000 From: Shahaf Shuler To: Ferruh Yigit , Neil Horman , John McNamara , "Marko Kovacevic" CC: "dev@dpdk.org" , Thomas Monjalon Thread-Topic: [PATCH v4] doc: announce ethdev CRC strip flag deprecation Thread-Index: AQHT1lGUWJvT2Lk9t0+Vc6Fc6Uv4daQE+HTQ Date: Tue, 17 Apr 2018 13:47:26 +0000 Message-ID: References: <20180417131221.181117-1-ferruh.yigit@intel.com> <20180417133949.32883-1-ferruh.yigit@intel.com> In-Reply-To: <20180417133949.32883-1-ferruh.yigit@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4395; 7:ZnucGtTrZqXAvihLXa3lDzfZP4wJxQeug5GPO+5Se8/XVpyH8qD6QOiZUYoDsuWQbS1oEUEUvGiBaVHbweXVuq9B27V5zpLa1dCUNZEQyHIy84jN8iX7j3JNsLMmRe+twteaBk50ObtAY5axPd5+BB/BO1DXiFIo2xEh4RrzMEyI1KNWqP8H4Hzg3jCDCcRCZY/DfF8jJcvM0my3hSLiZ3HhdL4FOQQyehciT7kyw9/agsRW/mo3PsQdg24ddTgD x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4395; x-ms-traffictypediagnostic: DB7PR05MB4395: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(788757137089)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231232)(944501327)(52105095)(93006095)(93001095)(6055026)(6041310)(20161123562045)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DB7PR05MB4395; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4395; x-forefront-prvs: 0645BEB7AA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(366004)(396003)(376002)(39380400002)(199004)(189003)(446003)(6116002)(110136005)(476003)(486006)(3846002)(11346002)(97736004)(99286004)(7736002)(74316002)(305945005)(102836004)(6506007)(66066001)(5660300001)(76176011)(2900100001)(6436002)(7696005)(68736007)(186003)(54906003)(86362001)(478600001)(8936002)(25786009)(81156014)(8676002)(14454004)(81166006)(33656002)(3660700001)(2906002)(4326008)(5250100002)(229853002)(106356001)(26005)(55016002)(53936002)(6246003)(105586002)(3280700002)(9686003)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4395; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: xi8HhOHOFsKXpCRNvReQIoTnJaIaynGkfN99nkHm2iKA0pOgg96A2NtLuJIAwM+ab/m3tqxvaBa1erdUxT0x+gXhmz4SZLlMi5/GOZnyCoIa7mIhRSYZRAUK0Mo7HGbxhX+Tw6g2321SxgUyKLjRqTZKm0ixDEFAMoxi3txdAIMNPciaI9Vhm99FXkQYmvr9 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: e4e7ef61-6e3f-4fa4-9324-08d5a469c138 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: e4e7ef61-6e3f-4fa4-9324-08d5a469c138 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2018 13:47:26.1774 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4395 Subject: Re: [dpdk-dev] [PATCH v4] doc: announce ethdev CRC strip flag deprecation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 13:47:28 -0000 Tuesday, April 17, 2018 4:40 PM, Ferruh Yigit: > Subject: [PATCH v4] doc: announce ethdev CRC strip flag deprecation >=20 > Make CRC stripping default behavior, deprecate flag > DEV_RX_OFFLOAD_CRC_STRIP. >=20 > Signed-off-by: Ferruh Yigit > Acked-by: Andrew Rybchenko > --- > v2: > * Make CRC behavior active in this release >=20 > v3: > * Distribute switch into next two releases for more smooth transition > v18.08: add new flag to keep crc, and implement this in PMDs > v18.11: remove crc strip flag and make default behavior to strip crc >=20 > v4: > * Remove git artifact > --- > doc/guides/rel_notes/deprecation.rst | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) >=20 > diff --git a/doc/guides/rel_notes/deprecation.rst > b/doc/guides/rel_notes/deprecation.rst > index fd9def20c..dbc405450 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -100,6 +100,22 @@ Deprecation Notices > between the VF representor and the VF or the parent PF. Those new fiel= ds > are to be included in ``rte_eth_dev_info`` struct. >=20 > +* ethdev: A new offloading flag ``DEV_RX_OFFLOAD_KEEP_CRC`` will be > +added in v18.08, > + This will replace the usage of not setting > +``DEV_RX_OFFLOAD_CRC_STRIP`` flag > + and will be implemented in PMDs accordingly. > + In v18.08 both ``DEV_RX_OFFLOAD_KEEP_CRC`` and > +``DEV_RX_OFFLOAD_CRC_STRIP`` flags > + will be available, usage will be: > + ``CRC_STRIP``: Strip CRC from packet > + ``KEEP_CRC``: Keep CRC in packet > + Both ``CRC_STRIP`` & ``KEEP_CRC``: Invalid > + No flag: Keep CRC in packet > + > +* ethdev: In v18.11 ``DEV_RX_OFFLOAD_CRC_STRIP`` offload flag will be > +removed, default > + behavior without any flag will be changed to CRC strip. > + To keep CRC ``DEV_RX_OFFLOAD_KEEP_CRC`` flag is required. > + ``KEEP_CRC``: Keep CRC in packet > + No flag: Strip CRC from packet > + > * i40e: The default flexible payload configuration which extracts the fi= rst 16 > bytes of the payload for RSS will be deprecated starting from 18.02. I= f > required the previous behavior can be configured using existing flow > -- > 2.14.3 Acked-by: Shahaf Shuler