Re: mpsafe ifqueues

2015-11-15 Thread David Gwynne
e been replaced with mbuf_lists or mbuf_queues. > > the reason we want mpsafe ifqueues is so we can run the network > stack without the big lock, but still run drivers on another cpu > (which may or may not need the big lock). > > we do this by adding a mutex in struct ifqueue to pr

mpsafe ifqueues

2015-11-12 Thread David Gwynne
this introduces mpsafety to ifqueue operations. this follows on from some mopping up of (now) inappropriate use of ifqueues and the IF_ and IFQ_ operations on them. in most cases those ifqueues have been replaced with mbuf_lists or mbuf_queues. the reason we want mpsafe ifqueues is so we can run