Re: will 2 cpu simultaneously process packets which have same hash value on multiqueue nic?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Thursday, May 20, 2010 - 5:00 am

Le jeudi 20 mai 2010 à 14:46 +0300, Eilon Greenstein a écrit :

I am scratching my head to understand both the question and your
answer...

if cpu1 is handling an interrupt, cpu2 cannot handle an interrupt at the
same time for same queue. It must be for a different queue.

Therefore, packets will be handled in parallel.

Serialization might be done later, at socket layer to queue packets in a
receive queue for example, if both packets must be delivered on same
socket.



--
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:
Re: will 2 cpu simultaneously process packets which have s ..., Eric Dumazet, (Thu May 20, 5:00 am)