Bug #9647
hn0: driver does not support altq
100%
Description
As subject says, hn0 on 2.5.0 does not support ALTQ.
You get error after traffic shaper wizard starts to reload rules.
Output of: sysctl -a | grep use_if_start
Is: hw.hn.use_if_start: 0
Associated revisions
Fix the repeated entries in loader.conf.
Ticket: #9647
Add a system option to handle the queue API usage in hn NICs.
A single queue is used in order to enable the ALTQ support, but some people may
prefer performance over the ALTQ features.
Ticket: #9647
History
#1
Updated by Jim Pingle over 1 year ago
- Category set to Traffic Shaper (ALTQ)
See previous issue #8954 where this was fixed for 2.4.4
#2
Updated by Greg M about 1 year ago
Hi,
are there any plans to correct this behaviour?
Is this possibly resolved in next freebsd release?
Thanks!
#3
Updated by Greg M about 1 year ago
https://github.com/pfsense/FreeBSD-src/blob/RELENG_2_5/sys/dev/hyperv/netvsc/if_hn.c#L587
Change needed from:
hn_xpnt_vf = 1;
to
hn_xpnt_vf = 0;
#4
Updated by Dee D about 1 year ago
still an issue on the latest builds...
#6
Updated by Viktor Gurov 10 months ago
#7
Updated by Jim Pingle 10 months ago
- Status changed from New to Pull Request Review
#8
Updated by Renato Botelho 10 months ago
- Assignee set to Luiz Souza
- Target version set to 2.5.0
Luiz, can you check this one please?
#9
Updated by Luiz Souza 10 months ago
- Status changed from Pull Request Review to Resolved
- % Done changed from 0 to 100
Committed.
#11
Updated by Jim Pingle 10 months ago
- Status changed from Resolved to New
It should be. I also tested the most recent snapshot from this morning and altq did not work there, either.
#15
Updated by Luiz Souza 9 months ago
- Status changed from New to Feedback
Applied in changeset 2360abcc392bcca1fb7c0a9126a37d77a0e8f03d.
#17
Updated by Greg M 9 months ago
And some more info...
This does NOT work:
kern.cam.boot_delay=10000
kern.ipc.nmbclusters="1000000"
kern.ipc.nmbjumbop="524288"
kern.ipc.nmbjumbo9="524288"
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
opensolaris_load="YES"
zfs_load="YES"
autoboot_delay="3"
hw.usb.no_pf="1"
vm.pmap.pti="0"
net.pf.request_maxcount="400000"
hw.hn.vf_transparent=0
hw.hn.use_if_start=1
But this DOES work:
kern.cam.boot_delay=10000
kern.ipc.nmbclusters="1000000"
kern.ipc.nmbjumbop="524288"
kern.ipc.nmbjumbo9="524288"
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
opensolaris_load="YES"
zfs_load="YES"
hw.hn.vf_transparent=0
hw.hn.use_if_start=1
autoboot_delay="3"
hw.usb.no_pf="1"
vm.pmap.pti="0"
net.pf.request_maxcount="400000"
So order matters I guess.
#18
Updated by Greg M 9 months ago
After 2 reboots file looks like this:
kern.cam.boot_delay=10000
kern.ipc.nmbclusters="1000000"
kern.ipc.nmbjumbop="524288"
kern.ipc.nmbjumbo9="524288"
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
opensolaris_load="YES"
zfs_load="YES"
hw.hn.vf_transparent=0
hw.hn.use_if_start=1
hw.hn.vf_transparent=0
hw.hn.use_if_start=1
hw.hn.vf_transparent=0
hw.hn.use_if_start=1
autoboot_delay="3"
hw.usb.no_pf="1"
vm.pmap.pti="0"
net.pf.request_maxcount="400000"
hw.hn.vf_transparent=0
hw.hn.use_if_start=1
I guess it keeps adding those 2 lines.
#19
Updated by Luiz Souza 9 months ago
Sorry for the breakage, should be fixed now.
I couldn't reproduce the order issue, please let me know if this is still an issue.
#21
Updated by Luiz Souza 9 months ago
- Status changed from Feedback to Resolved
Fix #9647.
Instead of forcing the defaults in the OS driver (introducing yet another
change), set the default to enable ALTQ support for hnX NICs in loader.conf.
Ticket: #9647