From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: Survey for final decision about per-port offload API Date: Mon, 02 Apr 2018 22:10:14 +0200 Message-ID: <3635124.eX5m4pFW80@xps> References: <2759953.P7QpFFSjiU@xps> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , Ajit Khaparde , "Jacob, Jerin" , "Thotton, Shijith" , "Shukla, Santosh" , Rahul Lakkireddy , John Daley , Wenzhuo Lu , Konstantin Ananyev , Beilei Xing , Qi Zhang , Jingjing Wu , Adrien Mazarguil , Nelio Laranjeiro , Yongseok Koh , Shahaf Shuler , Tomasz Duszynski , Jianbo Liu , Alejandro Lucero , Hemant Agrawal , Shreyansh Jain , "Mody, Ra To: "Patil, Harish" Return-path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 449821B3C6 for ; Mon, 2 Apr 2018 22:10:34 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 02/04/2018 19:39, Patil, Harish: > >It was also proposed to relax the API and allow "forgetting" port > >offloads in queue offloads: > > http://dpdk.org/ml/archives/dev/2018-March/092978.html > > > >It would mean the offloads applied to a queue result of OR operation: > > rte_eth_conf.[rt]xmode.offloads | rte_eth_[rt]xconf.offloads > > > >1/ Do you agree with above API change? >=20 > Yes. But pls confirm that this would still work properly if RX supports > port-only based offloads and doesn=E2=80=99t support queue based offloads= at all, > as advertised in dev_infos_get(). >=20 > dev_info->rx_queue_offload_capa =3D 0 and > dev_info->rx_offload_capa =3D (DEV_RX_OFFLOAD_IPV4_CKSUM | ...); Yes, of course, no queue offload at all is possible.