From: Eric Dumazet Date: Fri, 31 May 2013 14:32:55 +0000 (+0000) Subject: bnx2x: use XPS if possible for bnx2x_select_queue instead of pure hash X-Git-Tag: v3.11-rc1~16^2~224 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ada7c19e6d27bf4bb6a242960ac6e76f9f21cdd7;p=pandora-kernel.git bnx2x: use XPS if possible for bnx2x_select_queue instead of pure hash The bnx2x_select_queue() was using __skb_tx_hash() to select the transmit queue, totally ignoring XPS settings, while XPS can help performance quite significantly, so change the bnx2x_select_queue() to use __dev_pick_tx() instead which will use XPS if configured. Based on patches from Ying Cai and Havard Skinnemoen Reported-by: govindarajulu.v Signed-off-by: Eric Dumazet Cc: Havard Skinnemoen Cc: Ying Cai Cc: Eilon Greenstein Acked-by: Dmitry Kravkov Signed-off-by: David S. Miller --- Reading git-diff-tree failed