diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2021-12-02 21:35:14 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2021-12-02 21:35:14 +0000 |
| commit | 266f97b5e9a7958e365e78288616a459b40d924a (patch) | |
| tree | 47846fb735b2e0becce397e048f4a1d63f996a64 /sys/dev/e1000 | |
| parent | a10253cffea84c0c980a36ba6776b00ed96c3e3b (diff) | |
| parent | 56f32b0e4cc24d58cae7613188c0b2dcf5ca4a94 (diff) | |
Diffstat (limited to 'sys/dev/e1000')
| -rw-r--r-- | sys/dev/e1000/em_txrx.c | 3 | ||||
| -rw-r--r-- | sys/dev/e1000/if_em.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/e1000/em_txrx.c b/sys/dev/e1000/em_txrx.c index 1f1c13c9a099..6ac66a9011f4 100644 --- a/sys/dev/e1000/em_txrx.c +++ b/sys/dev/e1000/em_txrx.c @@ -706,8 +706,7 @@ em_isc_rxd_pkt_get(void *arg, if_rxd_info_t ri) i++; } while (!eop); - if (if_getcapenable(ri->iri_ifp) & IFCAP_RXCSUM) - em_receive_checksum(staterr, staterr >> 24, ri); + em_receive_checksum(staterr, staterr >> 24, ri); if (staterr & E1000_RXD_STAT_VP) { vtag = le16toh(rxd->wb.upper.vlan); diff --git a/sys/dev/e1000/if_em.h b/sys/dev/e1000/if_em.h index ed5a88013f5b..33ba22a88552 100644 --- a/sys/dev/e1000/if_em.h +++ b/sys/dev/e1000/if_em.h @@ -439,6 +439,7 @@ struct em_rx_queue { /* Our softc structure */ struct e1000_softc { + struct ifnet *ifp; struct e1000_hw hw; if_softc_ctx_t shared; |
