]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 15:24:51 +0000 (23:24 +0800)
commit5926146304fbe9ba0c979e1686b7775cd84f9d9c
tree5295b3407fbd6266ad685188267d3a52b3eb2b39
parent1fe98cd6e1b955688c045e2dc05330a425daefc1
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.

(cherry picked from commit 6ca435078822d9728318dee49ba4f2ff8a2ead24)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_main.c