Preserve TSO checksum flags
r323941 incorrectly disabled TSO flags based on MTU. Reported by: Yuri Pankov <yuripv@gmx.com> Reviewed by: sbruno Approved by: sbruno (mentor) Sponsored by: Limelight Networks Differential Revision: https://reviews.freebsd.org/D12880
This commit is contained in:
parent
5a4121a800
commit
0b6c52b69f
@ -2718,10 +2718,6 @@ iflib_parse_header(iflib_txq_t txq, if_pkt_info_t pi, struct mbuf **mp)
|
||||
pi->ipi_ehdrlen = ETHER_HDR_LEN;
|
||||
}
|
||||
|
||||
if (if_getmtu(txq->ift_ctx->ifc_ifp) >= pi->ipi_len) {
|
||||
pi->ipi_csum_flags &= ~(CSUM_IP_TSO|CSUM_IP6_TSO);
|
||||
}
|
||||
|
||||
switch (pi->ipi_etype) {
|
||||
#ifdef INET
|
||||
case ETHERTYPE_IP:
|
||||
|
Loading…
x
Reference in New Issue
Block a user