From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 7405D1BDFB for ; Wed, 4 Jul 2018 13:31:38 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1-us4.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id F1FEB280053; Wed, 4 Jul 2018 11:31:36 +0000 (UTC) Received: from [192.168.38.17] (91.220.146.112) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Wed, 4 Jul 2018 12:31:30 +0100 To: Thomas Monjalon , , CC: , , , References: <1571938.317irMz1sZ@xps> <20180702212750.16758-1-thomas@monjalon.net> <20180702212750.16758-6-thomas@monjalon.net> From: Andrew Rybchenko Message-ID: <9a853bb4-b20a-0690-5ecf-da8c5fd24560@solarflare.com> Date: Wed, 4 Jul 2018 14:31:24 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180702212750.16758-6-thomas@monjalon.net> Content-Language: en-US X-Originating-IP: [91.220.146.112] X-ClientProxiedBy: ocex03.SolarFlarecom.com (10.20.40.36) To ukex01.SolarFlarecom.com (10.17.10.4) X-TM-AS-Product-Ver: SMEX-11.0.0.1191-8.100.1062-23946.003 X-TM-AS-Result: No--9.189600-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-MDID: 1530703897-m6BKMx3VLYxG Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v2 5/5] ethdev: remove old offload API 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: Wed, 04 Jul 2018 11:31:38 -0000 On 07/03/2018 12:27 AM, Thomas Monjalon wrote: > From: Ferruh Yigit > > In DPDK 17.11, the ethdev offloads API has changed: > commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") > commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") > The new API is documented in the programmer's guide: > http://doc.dpdk.org/guides/prog_guide/poll_mode_drv.html#hardware-offload > > For reminder, the main concepts in the new API were: > - All offloads are disabled by default > - Distinction between per port and per queue offloads. > > The transition bits are now removed: > - Translation of the old API in ethdev > - rte_eth_conf.rxmode.ignore_offload_bitfield > - ETH_TXQ_FLAGS_IGNORE > > The old API bits are now removed: > - Rx per-port rte_eth_conf.rxmode.[bit-fields] > - Tx per-queue rte_eth_txconf.txq_flags > - ETH_TXQ_FLAGS_NO* > > Signed-off-by: Ferruh Yigit > Signed-off-by: Thomas Monjalon > --- Reviewed-by: Andrew Rybchenko