From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2] net/octeontx: use the new offload APIs Date: Thu, 5 Apr 2018 14:13:43 +0100 Message-ID: <4651fa05-ae0a-c703-3a12-537da90f73c1@intel.com> References: <20180308190716.31061-1-pbhagavatula@caviumnetworks.com> <20180326110201.8445-1-pbhagavatula@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Pavan Nikhilesh , jerin.jacob@caviumnetworks.com, santosh.shukla@caviumnetworks.com, shahafs@mellanox.com Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id E24D61CBAA for ; Thu, 5 Apr 2018 15:13:48 +0200 (CEST) In-Reply-To: <20180326110201.8445-1-pbhagavatula@caviumnetworks.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 3/26/2018 12:02 PM, Pavan Nikhilesh wrote: > Use the new Rx/Tx offload APIs and remove the old style offloads. > > Signed-off-by: Pavan Nikhilesh > Acked-by: Santosh Shukla <...> > @@ -630,6 +636,7 @@ octeontx_dev_info(struct rte_eth_dev *dev, > dev_info->default_rxconf = (struct rte_eth_rxconf) { > .rx_free_thresh = 0, > .rx_drop_en = 0, > + .offloads = OCTEONTX_RX_OFFLOADS, > }; OCTEONTX_RX_OFFLOADS need to be reported in "rx_offload_capa", currently "rx_offload_capa" is zero, technically applications are not allowed to set any Rx offloads.