Re: [PATCH] bond: Don't set skb->queue_mapping in netpoll.

2013-08-15 Thread Sergei Shtylyov
On 08/15/2013 12:36 PM, Tao Ma wrote: From: Tao Ma When we are using netpoll, we don't go through the normal transmit process. In this case, bond_select_queue is not called and qdisc_skb_cb(skb)->slave_dev_queue_mapping isn't set. So when netpoll_send_skb_on_dev calls ndo_start_xmit and

Re: [PATCH] bond: Don't set skb->queue_mapping in netpoll.

2013-08-15 Thread Cong Wang
On Thu, 2013-08-15 at 16:36 +0800, Tao Ma wrote: > From: Tao Ma > > When we are using netpoll, we don't go through the normal > transmit process. In this case, bond_select_queue is not called > and qdisc_skb_cb(skb)->slave_dev_queue_mapping isn't set. > Yes? In netpoll_send_skb_on_dev() we

[PATCH] bond: Don't set skb->queue_mapping in netpoll.

2013-08-15 Thread Tao Ma
From: Tao Ma When we are using netpoll, we don't go through the normal transmit process. In this case, bond_select_queue is not called and qdisc_skb_cb(skb)->slave_dev_queue_mapping isn't set. So when netpoll_send_skb_on_dev calls ndo_start_xmit and we enter bond_dev_queue_xmit, we will set

[PATCH] bond: Don't set skb-queue_mapping in netpoll.

2013-08-15 Thread Tao Ma
From: Tao Ma boyu...@taobao.com When we are using netpoll, we don't go through the normal transmit process. In this case, bond_select_queue is not called and qdisc_skb_cb(skb)-slave_dev_queue_mapping isn't set. So when netpoll_send_skb_on_dev calls ndo_start_xmit and we enter

Re: [PATCH] bond: Don't set skb-queue_mapping in netpoll.

2013-08-15 Thread Cong Wang
On Thu, 2013-08-15 at 16:36 +0800, Tao Ma wrote: From: Tao Ma boyu...@taobao.com When we are using netpoll, we don't go through the normal transmit process. In this case, bond_select_queue is not called and qdisc_skb_cb(skb)-slave_dev_queue_mapping isn't set. Yes? In

Re: [PATCH] bond: Don't set skb-queue_mapping in netpoll.

2013-08-15 Thread Sergei Shtylyov
On 08/15/2013 12:36 PM, Tao Ma wrote: From: Tao Ma boyu...@taobao.com When we are using netpoll, we don't go through the normal transmit process. In this case, bond_select_queue is not called and qdisc_skb_cb(skb)-slave_dev_queue_mapping isn't set. So when netpoll_send_skb_on_dev calls