On 6.12.2021. 4:22, Yury Shefer wrote:
> Hi all,
> 
> I have quad-port Intel ET2 NIC based on 82576[1] controller. The manual
> says that hardware VLAN tagging should be supported but ifconfig output
> shows VLAN_MTU only in hwfeatures on OpenBSD 7.0. How do I check if 802.1Q
> tagging is offloaded or not? And if it's not - does it matter at 1Gbps
> speeds on 3 Ghz CPU?
> 
> $ dmesg | grep em0
> em0 at pci11 dev 0 function 0 "Intel 82576" rev 0x01: msi, address
> 90:e2:ba:84:64:14
> 
> $ ifconfig em0 hwfeatures
> em0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
>         hwfeatures=10<VLAN_MTU> hardmtu 9216
>         lladdr 90:e2:ba:84:64:14
>         index 1 priority 0 llprio 3
>         media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
>         status: active
>         inet 192.168.0.143 netmask 0xffffff00 broadcast 192.168.0.255
> 
> 
> 
> [1]
> https://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/gigabit-et-et2-ef-multi-port-server-adapters-brief.pdf
> 
> 
> Thanks,
> Yury.
> 

Hi,

man ifconfig and search for hwfeatures

hwfeatures      Display the interface hardware features:
CSUM_IPv4       The device supports IPv4 checksum offload.
CSUM_TCPv4      As above, for TCP in IPv4 datagrams.
CSUM_UDPv4      As above, for UDP.
VLAN_MTU        The device can handle full sized frames, plus the size
of the vlan(4) tag.
VLAN_HWTAGGING  On transmit, the device can add the vlan(4) tag.
CSUM_TCPv6      As CSUM_TCPv4, but supports IPv6 datagrams.
CSUM_UDPv6      As above, for UDP.
WOL             The device supports Wake on LAN (WoL).
hardmtu         The maximum MTU supported.

so i would say that your card can offload vlan header ..

Reply via email to