You do understand that init needs to be run every time interface
settings are changed (TSO / PROMISC / CSUM/ etc)? Reallocating queues
and interrupts every time is fragile (long running systems can run low
on contiguous memory) and, in the common case that you're not actually
changing the number, gratuitous.

Cheers.
-M

On Fri, Apr 8, 2016 at 2:56 PM, Jack Vogel <jfvo...@gmail.com> wrote:
> LOL, why does it seem that as soon as I ask the answer hits me in the nose
> :)
>
> I found the sysctl_ctx_free call, sorry for the noise....
>
> Jack
>
>
> On Fri, Apr 8, 2016 at 2:51 PM, Jack Vogel <jfvo...@gmail.com> wrote:
>
>>
>> I have a driver design where the queue/ring/irq layout is done in init
>> rather
>> than in attach, allowing easy reconfiguration. What I'm not sure about is
>> how to handle the sysctl tree during a reinit, I don't see a procedure to
>> free up things so I can restructure :(
>>
>> Am I missing something, any pointers or suggestions appreciated.
>>
>> Thanks,
>>
>> Jack
>>
>>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to