Will definitely do that, but still looking for any explanation from devs :).

-- 
Adonis

> On Jul 18, 2018, at 5:28 AM, LÉVAI Dániel <[email protected]> wrote:
> 
> Adonis Peralta @ 2018-07-18T10:49:57 +0200:
>>> Maybe this is the culprit?
>>> 
>>> /usr/src/sys/dev/pci/if_em.c:
>>> 1893         if (sc->hw.mac_type >= em_82543 && sc->hw.mac_type !=
>>> em_82575 &&
>>> 1894             sc->hw.mac_type != em_82580 && sc->hw.mac_type !=
>>> em_i210 &&
>>> 1895             sc->hw.mac_type != em_i350)
>>> 1896                 ifp->if_capabilities |= IFCAP_CSUM_TCPv4 |
>>> IFCAP_CSUM_UDPv4;
>>> 
>>> It seems as if I350 (among a few other) has an exception for these
>>> features. Maybe it was not tested well enough, or actually it was, and
>>> was failing in this department.
>>> Maybe a developer can add some insight, if this catches their eyes :)
>>> 
>> Exactly! This is a really really nice card and I don’t get why OpenBSD
>> doesn’t support the offloading features just as you’ve shown for bge and
>> re0. Definitely awaiting a response from the devs on this.
> 
> If I'm not mistaken this was introduced with this commit:
> http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_em.c.diff?r1=1.269&r2=1.270
> 
> Without trying to sound like the chicken [1], if you're adventurous enough,
> you can always enable it for I350 and
> 1) recompile
> 2) try
> 3) report back / send in diff :)
> 
> 
> Daniel
> 
> [1] https://en.wikipedia.org/wiki/The_Chicken_and_the_Pig
> 
> -- 
> LÉVAI Dániel
> PGP key ID = 0x83B63A8F
> Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F
> 

Reply via email to