mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Revert "axgbe: only set CSUM_DONE when IFCAP_RXCSUM enabled"
This reverts commit cfc9149a5a.
Wrong branch.
This commit is contained in:
parent
342860c3b2
commit
532fc018a9
1 changed files with 2 additions and 4 deletions
|
|
@ -1443,10 +1443,8 @@ xgbe_dev_read(struct xgbe_channel *channel)
|
|||
|
||||
/* Set checksum done indicator as appropriate */
|
||||
/* TODO - add tunneling support */
|
||||
if (if_getcapenable(pdata->netdev) & IFCAP_RXCSUM) {
|
||||
XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
|
||||
CSUM_DONE, 1);
|
||||
}
|
||||
XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
|
||||
CSUM_DONE, 1);
|
||||
|
||||
/* Check for errors (only valid in last descriptor) */
|
||||
err = XGMAC_GET_BITS_LE(rdesc->desc3, RX_NORMAL_DESC3, ES);
|
||||
|
|
|
|||
Loading…
Reference in a new issue