CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2015/03/20 05:55:10
Modified files: sys/dev/ic : re.c Log message: some re(4) chips can do jumbos, but none of them can checksum jumbo packets. rather than disable cksum offload for all packets, this sets things up so we still advertise offload to the stack, but if the driver gets a large packet it does the checksum itself in software. small (normal sized) packets still get offloaded like now. if you're doing a jumbo you'll be doing the cksum in software, but will hopefully win overall cos you'll be doing a 6th of the work cos you're doing more data in every packet. diff from jim smith ok sthen@