bce: Add TSO support
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 10 Aug 2012 08:22:44 +0000 (16:22 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 10 Aug 2012 08:47:42 +0000 (16:47 +0800)
commiteefd160d115faf0e7f93de4da6d8aefcd644b83a
tree872a1c50279062fbfb5081c184ee9299b1024027
parent89a782c30b9debca99ec3116d63d696ecc5fc0db
bce: Add TSO support

Obatined-from: FreeBSD

With following modification:
These chips can handle ip.ip_len and tcphdr.th_sum, if they are setup
according to Microsoft LSO specification, so ip.ip_len should not be
cleared and tcphdr.th_sum should be left as it is.

According-to: bnx2
sys/dev/netif/bce/if_bce.c
sys/dev/netif/bce/if_bcereg.h