Searched hist:204373 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11-stable/sys/dev/bce/ | ||
H A D | if_bce.c | diff 204373 Fri Feb 26 19:27:33 MST 2010 yongari Move TSO setup to new function bce_tso_setup(). Also remove VLAN parsing code in TSO path as the controller requires VLAN hardware tagging to make TSO work over VLANs. While parsing the mbuf in TSO patch, always perform check for writable mbuf as bce(4) have to reset IP length and IP checksum field of IP header and make sure to ensure contiguous buffer before accessing IP/TCP headers. While I'm here replace magic number 40 to more readable sizeof(struct ip) + sizeof(struct tcphdr). Reviewed by: davidch |
Completed in 115 milliseconds