diff options
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | 2017-05-03 14:05:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-03 11:33:05 -0400 |
commit | 94ca305fd85cd052050b19b1762eb14eaa8cdd6a (patch) | |
tree | 50652d7e45253eb1b1908f78db79a270cd9b068f /drivers/net/ethernet | |
parent | ibmvnic: Continue skb processing after skb completion error (diff) | |
download | linux-dev-94ca305fd85cd052050b19b1762eb14eaa8cdd6a.tar.xz linux-dev-94ca305fd85cd052050b19b1762eb14eaa8cdd6a.zip |
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 <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |