Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
HW acceleration settings are not applied to all nics
« previous
next »
Print
Pages: [
1
]
Author
Topic: HW acceleration settings are not applied to all nics (Read 5891 times)
mbosner
Newbie
Posts: 43
Karma: 1
HW acceleration settings are not applied to all nics
«
on:
December 09, 2016, 01:19:30 pm »
Hello,
i am pretty new to opnsense and i am using the zotac C323 with 16.7.10 as firewall.
Since we have wan/lan disconnects (ports are going wild - more in another thread) i tried to disable all hw acceleration features for the network cards and found that not all options are applied to all network cards. Maybe the features are only disabled if the feature (vlan) is used on that card but thats just guessing. re0 is lan and re1 is wan (without vlans). Wan is just a static ip configuration:
ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=82088<VLAN_MTU,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 00:01:2e:6e:19:72
inet6 fe80::201:2eff:fe6e:1972%re0 prefixlen 64 scopeid 0x1
inet 192.168.41.1 netmask 0xffffff00 broadcast 192.168.41.255
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=82098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 00:01:2e:6e:19:73
inet xx.xx.xx.x6 netmask 0xffffffc0 broadcast xx.xx.xx.xx
inet6 fe80::201:2eff:fe6e:1973%re1 prefixlen 64 scopeid 0x2
inet xx.xx.xx.x7 netmask 0xffffffff broadcast xx.xx.xx.xx
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
pflog0: flags=100<PROMISC> metric 0 mtu 33160
pfsync0: flags=0<> metric 0 mtu 1500
syncpeer: 0.0.0.0 maxupd: 128 defer: off
enc0: flags=0<> metric 0 mtu 1536
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
re0_vlan101: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:01:2e:6e:19:72
inet6 fe80::201:2eff:fe6e:1972%re0_vlan101 prefixlen 64 scopeid 0x7
inet 192.168.141.1 netmask 0xffffff00 broadcast 192.168.141.255
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 101 parent interface: re0
«
Last Edit: December 09, 2016, 01:47:24 pm by mbosner
»
Logged
Tikimotel
Newbie
Posts: 29
Karma: 6
Re: HW acceleration settings are not applied to all nics
«
Reply #1 on:
December 09, 2016, 04:36:59 pm »
Is the ifconfig listing performed after you applied the settings in the screenshot?
Did you restart the interfaces or did you reboot?
Logged
mbosner
Newbie
Posts: 43
Karma: 1
Re: HW acceleration settings are not applied to all nics
«
Reply #2 on:
December 09, 2016, 04:44:20 pm »
The screenshot and the ifconfig output were created after a restart without any further changes to the settings.
Logged
Tikimotel
Newbie
Posts: 29
Karma: 6
Re: HW acceleration settings are not applied to all nics
«
Reply #3 on:
December 11, 2016, 08:38:07 pm »
I can't seem to find any code that sets or disables the "VLAN_HWCSUM". (may not implemented yet...only in GUI)
The other hardware accelerated (TSO, TSO6, LRO, LRO6, RXCSUM TXCSUM, etc..) options are disabled on your RE0 and RE1 devices.
That realtek chip may not like the default driver very much.
There are some who have updated the RE driver with varied success (and failures), and that is on plain FreeBSD 11.0 or 10.3.
https://forums.freebsd.org/threads/55861/
Logged
mbosner
Newbie
Posts: 43
Karma: 1
Re: HW acceleration settings are not applied to all nics
«
Reply #4 on:
December 11, 2016, 09:39:13 pm »
Thank you. I will try the beta as soon as its available.
I am missing the VLAN_HWTAGGING option on re0. So it seems to be enabled on re1 and disabled on re0, isnt it?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
HW acceleration settings are not applied to all nics