mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
RX checksum offloading on old Yukon controllers seem to cause more
problems. Disable RX checksum offloading on controllers that don't use new descriptor format but give chance to enable it with ifconfig(8).
This commit is contained in:
parent
ee563d630b
commit
1c3515d2d5
1 changed files with 6 additions and 0 deletions
|
|
@ -1695,6 +1695,12 @@ msk_attach(device_t dev)
|
|||
ifp->if_capabilities |= IFCAP_VLAN_HWCSUM;
|
||||
}
|
||||
ifp->if_capenable = ifp->if_capabilities;
|
||||
/*
|
||||
* Disable RX checksum offloading on controllers that don't use
|
||||
* new descriptor format but give chance to enable it.
|
||||
*/
|
||||
if ((sc_if->msk_flags & MSK_FLAG_DESCV2) == 0)
|
||||
ifp->if_capenable &= ~IFCAP_RXCSUM;
|
||||
|
||||
/*
|
||||
* Tell the upper layer(s) we support long frames.
|
||||
|
|
|
|||
Loading…
Reference in a new issue