bnx2x: use XPS if possible for bnx2x_select_queue instead of pure hash
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 <a85c9641b95b6cf15f63c08082aa11983c104f49@gmail.com>
Signed-off-by: Eric Dumazet <312c7d941f03386814be517ffdb3e0eb6624e275@google.com>
Cc: Havard Skinnemoen <de7418319212d7eab32260a76732c1f83e514852@google.com>
Cc: Ying Cai <9d1a0f9376704cc1a3f7c446cba21d2636e33398@google.com>
Cc: Eilon Greenstein <5ba67022bcc5f9ee9b9819ddc35fa83823aa47ee@broadcom.com>
Acked-by: Dmitry Kravkov <a8cf97adadec4e1b734a39bc5aea71b5741cfca1@broadcom.com>
Signed-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs