Re: pf congestion handling

2015-02-10 Thread Henning Brauer
I already talked to dlg here, but that obviously cuts you out which isn't good :/ * Alexander Bluhm alexander.bl...@gmx.net [2015-02-10 23:12]: We do not use the pf congestion feature, we have disabled it with an #ifdef. Prefering states over rules means that you cannot login into a congested

Re: pf congestion handling

2015-02-10 Thread David Gwynne
On 11 Feb 2015, at 8:12 am, Alexander Bluhm alexander.bl...@gmx.net wrote: On Tue, Feb 10, 2015 at 04:01:19PM +1000, David Gwynne wrote: i want to remove the congestion stuff in ifqueue, but i dont want to remove the pf functionality. my attempt at this below. I like that you replaced

Re: pf congestion handling

2015-02-10 Thread Alexander Bluhm
On Tue, Feb 10, 2015 at 04:01:19PM +1000, David Gwynne wrote: i want to remove the congestion stuff in ifqueue, but i dont want to remove the pf functionality. my attempt at this below. I like that you replaced the malloc and timeout with a ticks comparison as it makes the code simpler. The

pf congestion handling

2015-02-09 Thread David Gwynne
i started looking at locking on interface send queues (which use struct ifqueue) and got distracted cos the same data structure is used for the stack input queues. the stack input queues dont need the pri or hfsc queing bits, theyre just used as a fifo, so they can largely get directly replaced