From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Horman Subject: Re: [net-next PATCH 1/2] ixgbe: fix build err, num_rx_queues is only available with CONFIG_RPS Date: Fri, 8 Nov 2013 07:29:59 -0500 Message-ID: <20131108122959.GB4819@hmsreliant.think-freely.org> References: <20131108084654.6935.36501.stgit@nitbit.x32> <20131108085031.6935.61765.stgit@nitbit.x32> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: jeffrey.t.kirsher@intel.com, netdev@vger.kernel.org, davem@davemloft.net To: John Fastabend Return-path: Received: from charlotte.tuxdriver.com ([70.61.120.58]:41875 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752683Ab3KHMaL (ORCPT ); Fri, 8 Nov 2013 07:30:11 -0500 Content-Disposition: inline In-Reply-To: <20131108085031.6935.61765.stgit@nitbit.x32> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Nov 08, 2013 at 12:50:32AM -0800, John Fastabend wrote: > In the recent support for layer 2 hardware acceleration, I added a > few references to real_num_rx_queues and num_rx_queues which are > only available with CONFIG_RPS. > > The fix is first to remove unnecessary references to num_rx_queues. > Because the hardware offload case is limited to cases where RX queues > and TX queues are equal we only need a single check. Then wrap the > single case in an ifdef. > > The patch that introduce this is here, > > commit a6cc0cfa72e0b6d9f2c8fd858aacc32313c4f272 > Author: John Fastabend > Date: Wed Nov 6 09:54:46 2013 -0800 > > net: Add layer 2 hardware acceleration operations for macvlan devices > > Reported-by: kbuild test robot > Signed-off-by: John Fastabend Acked-by: Neil Horman