Re: add support for multiple transmit queues on interfaces

2017-01-27 Thread Simon Mages
I did some tests. The performance did not change. I think this is the expected behaviour. BR Simon 2017-01-23 7:35 GMT+01:00, David Gwynne : > hrvoje popovski hit a problem where the kernel would panic under load. > > i mistakenly called an interfaces qstart routine directly from > if_enqueue ra

Re: add support for multiple transmit queues on interfaces

2017-01-22 Thread David Gwynne
hrvoje popovski hit a problem where the kernel would panic under load. i mistakenly called an interfaces qstart routine directly from if_enqueue rather than via the ifq serializer. this meant that txeof routines on network cards calling ifq_restart would cause the start routine to run concurrently

add support for multiple transmit queues on interfaces

2017-01-22 Thread David Gwynne
the short explanation is that this lets interfaces allocate multiple ifq structures that can be mapped to their transmit rings. the mechanism for this is a driver calling if_attach_queues() after theyve called if_attach(). the long version is that this has if_enqueue access an array of ifqueues on