From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id B04662BEF for ; Thu, 10 Mar 2016 16:20:09 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 10 Mar 2016 07:20:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,316,1455004800"; d="scan'208";a="63595233" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.220.166]) by fmsmga004.fm.intel.com with SMTP; 10 Mar 2016 07:20:06 -0800 Received: by (sSMTP sendmail emulation); Thu, 10 Mar 2016 15:20:06 +0025 Date: Thu, 10 Mar 2016 15:20:06 +0000 From: Bruce Richardson To: Zhe Tao Message-ID: <20160310152005.GG18264@bricha3-MOBL3> References: <1456672050-21115-1-git-send-email-zhe.tao@intel.com> <1457426981-22571-1-git-send-email-zhe.tao@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1457426981-22571-1-git-send-email-zhe.tao@intel.com> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] ixgbe: fix ixgbevf RX/TX function assignment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2016 15:20:10 -0000 On Tue, Mar 08, 2016 at 04:49:41PM +0800, Zhe Tao wrote: > For the secondary process of DPDK to initialize ixgbevf, it will always > use the simple RX function or LRO RX function, and this behavior is not > the same RX/TX function selection logic as it is for the primary process, > so use the ixgbe_set_tx_function and ixgbe_set_rx_function to select the > RX/TX function when secondary process call the init function for eth dev. > > Fixes: abf7275bbaa2918 (ixgbe: move to drivers/net/) That doesn't look to be the commit that actually introduced the bug. > > V2:add fixes line > > Signed-off-by: Zhe Tao > Checkpatch flags two minor issues with this: CHECK:SPACING: spaces preferred around that '-' (ctx:VxV) #33: FILE: drivers/net/ixgbe/ixgbe_ethdev.c:1299: + txq = eth_dev->data->tx_queues[eth_dev->data->nb_tx_queues-1]; ^ WARNING:SPLIT_STRING: quoted string split across lines #38: FILE: drivers/net/ixgbe/ixgbe_ethdev.c:1304: + PMD_INIT_LOG(NOTICE, "No TX queues configured yet. " + "Using default TX function."); total: 0 errors, 1 warnings, 1 checks, 23 lines checked /Bruce