Page MenuHomeFreeBSD

D12976.id.diff
No OneTemporary

D12976.id.diff

Index: head/sys/dev/bnxt/bnxt_txrx.c
===================================================================
--- head/sys/dev/bnxt/bnxt_txrx.c
+++ head/sys/dev/bnxt/bnxt_txrx.c
@@ -501,9 +501,11 @@
if (!(errors & RX_PKT_CMPL_ERRORS_IP_CS_ERROR))
ri->iri_csum_flags |= CSUM_IP_VALID;
}
- if (flags2 & RX_PKT_CMPL_FLAGS2_L4_CS_CALC) {
+ if (flags2 & (RX_PKT_CMPL_FLAGS2_L4_CS_CALC |
+ RX_PKT_CMPL_FLAGS2_T_L4_CS_CALC)) {
ri->iri_csum_flags |= CSUM_L4_CALC;
- if (!(errors & RX_PKT_CMPL_ERRORS_L4_CS_ERROR)) {
+ if (!(errors & (RX_PKT_CMPL_ERRORS_L4_CS_ERROR |
+ RX_PKT_CMPL_ERRORS_T_L4_CS_ERROR))) {
ri->iri_csum_flags |= CSUM_L4_VALID;
ri->iri_csum_data = 0xffff;
}

File Metadata

Mime Type
text/plain
Expires
Fri, Feb 27, 2:04 PM (1 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29032277
Default Alt Text
D12976.id.diff (696 B)

Event Timeline