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: Fri, 30 Mar 2018 17:46:48 +0200 Message-ID: <1644846.U24NRPAHE1@xps> References: <2759953.P7QpFFSjiU@xps> <93ee347b-3474-30c5-d35e-cd2766dcb34a@solarflare.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Ajit Khaparde , Jerin Jacob , Shijith Thotton , Santosh Shukla , 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 , Harish Patil Return-path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 0C5FD728B for ; Fri, 30 Mar 2018 17:47:06 +0200 (CEST) In-Reply-To: <93ee347b-3474-30c5-d35e-cd2766dcb34a@solarflare.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 30/03/2018 17:13, Andrew Rybchenko: > On 03/30/2018 04:47 PM, Thomas Monjalon wrote: > > There is the same kind of confusion in the offload capabilities: > > rte_eth_dev_info.[rt]x_offload_capa > > rte_eth_dev_info.[rt]x_queue_offload_capa > > The queue capabilities must be a subset of port capabilities, > > i.e. every queue capabilities must be reported as port capabilities. > > But the port capabilities should be reported at queue level > > only if it can be applied to a specific queue. > > > > 4/ Do you agree with above statement (to be added in the doc)? > > Yes, may be it would be good to be more precise what "can be applied" mean. > As I understand it is "can be enabled on queue when it is disabled on > port level". Yes, "can be applied to a specific queue" means "can be enabled on queue when it is disabled on port level". Thanks for answering the survey.