Re: [PATCH 4/5] ifb: add multiqueue support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Monday, December 13, 2010 - 10:05 am

Le lundi 13 décembre 2010 à 22:43 +0800, Changli Gao a écrit :


Hmm, this wont work with CPU HOTPLUG.

When we put a cpu offline, we can transfert tasklets from this cpu to
another 'online cpu' 

To solve this, you need that ri_tasklet() not use a "device pointer"
parameter but a pointer to 'cpu' private data, since it can be different
than the data of the current cpu.

static void ri_tasklet(unsigned long arg)
{
struct ifb_q_private *qp = (struct ifb_q_private *)arg;

	...
}



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/5] ifb: remove function declarations, Changli Gao, (Mon Dec 13, 7:43 am)
[PATCH 2/5] ifb: code cleanup, Changli Gao, (Mon Dec 13, 7:43 am)
[PATCH 3/5] ifb: fix tx_queue_len overlimit, Changli Gao, (Mon Dec 13, 7:43 am)
[PATCH 4/5] ifb: add multiqueue support, Changli Gao, (Mon Dec 13, 7:43 am)
[PATCH 5/5] net: add skb.old_queue_mapping, Changli Gao, (Mon Dec 13, 7:43 am)
Re: [PATCH 4/5] ifb: add multiqueue support, Eric Dumazet, (Mon Dec 13, 9:26 am)
Re: [PATCH 5/5] net: add skb.old_queue_mapping, Eric Dumazet, (Mon Dec 13, 9:56 am)
Re: [PATCH 4/5] ifb: add multiqueue support, Eric Dumazet, (Mon Dec 13, 10:05 am)
Re: [PATCH 5/5] net: add skb.old_queue_mapping, David Miller, (Mon Dec 13, 10:58 am)
Re: [PATCH 4/5] ifb: add multiqueue support, Changli Gao, (Mon Dec 13, 4:42 pm)
Re: [PATCH 4/5] ifb: add multiqueue support, Changli Gao, (Mon Dec 13, 4:46 pm)
Re: [PATCH 5/5] net: add skb.old_queue_mapping, Changli Gao, (Mon Dec 13, 4:58 pm)
Re: [PATCH 5/5] net: add skb.old_queue_mapping, Changli Gao, (Tue Dec 14, 7:59 pm)
Re: [PATCH 2/5] ifb: code cleanup, jamal, (Wed Dec 15, 5:32 am)
Re: [PATCH 4/5] ifb: add multiqueue support, jamal, (Wed Dec 15, 5:34 am)
Re: [PATCH 3/5] ifb: fix tx_queue_len overlimit, Changli Gao, (Wed Dec 15, 5:36 am)
Re: [PATCH 5/5] net: add skb.old_queue_mapping, Changli Gao, (Wed Dec 15, 5:52 am)