From: Thomas Falcon Date: Wed, 3 May 2017 18:05:20 +0000 (-0400) Subject: ibmvnic: Record SKB RX queue during poll X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=94ca305fd85cd052050b19b1762eb14eaa8cdd6a;p=openwrt%2Fstaging%2Fblogic.git ibmvnic: Record SKB RX queue during poll 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index 00c9d5a305eb..1b6268ce7b0d 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c @@ -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) {