ibmvnic: Record SKB RX queue during poll
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Wed, 3 May 2017 18:05:20 +0000 (14:05 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 May 2017 15:33:05 +0000 (11:33 -0400)
Map each RX SKB to the RX queue associated with the driver's RX SCRQ.
This should improve the RX CPU load balancing issues seen by the
performance team.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c

index 00c9d5a305ebeecd0f991d203519b6120da7d8fe..1b6268ce7b0d5f89100c9e446096493ffacbb805 100644 (file)
@@ -1428,6 +1428,7 @@ restart_poll:
 
                skb_put(skb, length);
                skb->protocol = eth_type_trans(skb, netdev);
+               skb_record_rx_queue(skb, scrq_num);
 
                if (flags & IBMVNIC_IP_CHKSUM_GOOD &&
                    flags & IBMVNIC_TCP_UDP_CHKSUM_GOOD) {