From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id C4F182BE5 for ; Wed, 28 Mar 2018 12:07:44 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2018 03:07:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,370,1517904000"; d="scan'208";a="45951655" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga002.jf.intel.com with ESMTP; 28 Mar 2018 03:07:43 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 28 Mar 2018 03:07:42 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 28 Mar 2018 03:07:42 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.235]) by shsmsx102.ccr.corp.intel.com ([169.254.2.80]) with mapi id 14.03.0319.002; Wed, 28 Mar 2018 18:07:40 +0800 From: "Zhang, Qi Z" To: "Dai, Wei" , "Wang, Xiao W" CC: "dev@dpdk.org" Thread-Topic: [PATCH v2 1/2] net/fm10k: convert to new Rx offloads API Thread-Index: AQHTxmsFdVov/alHW0S+SK3Uq+MqlaPlagfQ Date: Wed, 28 Mar 2018 10:07:39 +0000 Message-ID: <039ED4275CED7440929022BC67E706115317576C@SHSMSX103.ccr.corp.intel.com> References: <20180302141105.4954-1-wei.dai@intel.com> <20180328080037.16207-1-wei.dai@intel.com> <20180328080037.16207-2-wei.dai@intel.com> In-Reply-To: <20180328080037.16207-2-wei.dai@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 1/2] net/fm10k: convert to new Rx offloads 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, 28 Mar 2018 10:07:45 -0000 Hi Daiwei: > +static uint64_t fm10k_get_rx_queue_offloads_capa(struct rte_eth_dev > +*dev) { > + RTE_SET_USED(dev); > + > + return (uint64_t)(DEV_RX_OFFLOAD_SCATTER); > +} why per queue rx scattered feature here? My understanding is either we use scattered rx function that enable this fe= ature for all queues or=20 we use non-scattered rx function that disable this feature for all queues, = right? Regards Qi