Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: hme(4) hardware RX checksum



christos%zoulas.com@localhost wrote:

> | BTW, does hardware checksum work even for VLAN packets?
> 
> It must, because there is vlan stuff inside a hw capabilities if statement
> (I am just guessing).

With some quick tests, m_pkthdr.csum_data and m_pkthdr.csum_flags
in RX vlan packet mbufs seem ignored and swcsum is always used for them.

Are these csum values in mbufs preserved in vlan_input() etc?
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index