From: John Fastabend Date: Fri, 8 Nov 2013 08:50:32 +0000 (-0800) Subject: ixgbe: fix build err, num_rx_queues is only available with CONFIG_RPS X-Git-Tag: v3.13-rc1~105^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=219354d4897fe06cb10d68308c14128a1e3fc074;p=pandora-kernel.git ixgbe: fix build err, num_rx_queues is only available with CONFIG_RPS 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 Acked-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed