]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Two minor fixes for RSS and FDIR set queues functions
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 8 Feb 2012 07:51:42 +0000 (07:51 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 19 Mar 2012 09:01:28 +0000 (02:01 -0700)
commit9c65f7f56d4921100fc5c933da85a09e2e5042b8
treee4ebabd2d72aa67f49546fac32c025b1654739db
parent83323514726fbc1fd678493cf98a453b76c79570
ixgbe: Two minor fixes for RSS and FDIR set queues functions

This change fixes two minor issues. The first was the fact that we were
setting the return value to false twice in the set_rss_queues function.
The second is the fact that we should have been using "min_t(int," instead
of "min((int)" in set_fdir_queues.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c