From: Ferruh Yigit Subject: Re: [PATCH v2] net/bnxt: switch to the new offload API Date: Fri, 30 Mar 2018 11:38:41 +0100 Message-ID: References: <20180326224753.25304-1-ajit.khaparde@broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit To: Ajit Khaparde , dev@dpdk.org Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 13C0D7289 for ; Fri, 30 Mar 2018 12:38:44 +0200 (CEST) In-Reply-To: <20180326224753.25304-1-ajit.khaparde@broadcom.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 11:47 PM, Ajit Khaparde wrote: > Update bnxt PMD to new ethdev offloads API. > > Signed-off-by: Ajit Khaparde > --- > v1->v2: return an error if requested offload flags do not > match supported offload capabilities. <...> > + > + dev_info->rx_queue_offload_capa = BNXT_DEV_RX_OFFLOAD_SUPPORT; Hi Ajit, Is bnxt supports queue level offloads? If not PMD should return 0 as rx_queue_offload_capa and tx_queue_offload_capa. <...> > .rx_free_thresh = 32, > - .rx_drop_en = 0, > + /* If no descriptors available, pkts are dropped by default */ > + .rx_drop_en = 1, This is not related to the offload API but changing default config, does it make sense a separate patch for this?