if_igb(4) VLAN(4) and [RT]XCSUM_IPV6, TSO6

Harry Schmalzbauer freebsd at omnilan.de
Thu Mar 16 18:26:31 UTC 2017


 Hello,

I'm wondering if I really loose [RT]XCSUM_IPV6 on if_igb(4) vlan(4)
children.
My igb0 (Kawela, aka 82576) options end with
  "TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6"

The vlan(4) filtered interfaces show these:
  options=303<RXCSUM,TXCSUM,TSO4,TSO6>

So TSO6 is inherited, but RC/TXCSUM_IPV6 dropped?

In general, how is offloading implemented? If enabled, does the API
simply generate packets lacking the checksum header and NIC (silicon)
fills in the checksum if not adviesd not to do so (by the driver)?
Or is the driver utilizing NIC registers for calculation, but ensures
every packet will have a checksum?

Thanks,

-harry




More information about the freebsd-net mailing list