diff mbox

[v2,net-next,10/11] From: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>

Message ID 20170501215737.27224.47900.stgit@ltcalpine2-lp23.aus.stglabs.ibm.com
State Changes Requested, archived
Delegated to: David Miller
Headers show

Commit Message

Nathan Fontenot May 1, 2017, 9:57 p.m. UTC
From: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>

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>
---
 drivers/net/ethernet/ibm/ibmvnic.c |    1 +
 1 file changed, 1 insertion(+)

Comments

David Miller May 1, 2017, 6:27 p.m. UTC | #1
From: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Mon, 01 May 2017 17:57:37 -0400

> From: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
> 
> 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>

Please resend this series, this subject line is not correct.
diff mbox

Patch

diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c
index 4b2e128..4a2b99f 100644
--- a/drivers/net/ethernet/ibm/ibmvnic.c
+++ b/drivers/net/ethernet/ibm/ibmvnic.c
@@ -1428,6 +1428,7 @@  static int ibmvnic_poll(struct napi_struct *napi, int budget)
 
 		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) {