GRETH: remove TCP/UDP HW checksum generation

The GRETH doesn't support IP fragments.
This commit is contained in:
Daniel Hellstrom
2014-05-27 11:42:44 +02:00
parent bb581906a6
commit a20c114f4a

View File

@@ -814,9 +814,9 @@ sendpacket_gbit (struct ifnet *ifp, struct mbuf *m)
/* Wrap around? */ /* Wrap around? */
if (dp->tx_ptr < dp->txbufs-1) { if (dp->tx_ptr < dp->txbufs-1) {
ctrl = GRETH_TXD_ENABLE | GRETH_TXD_CS; ctrl = GRETH_TXD_ENABLE;
}else{ }else{
ctrl = GRETH_TXD_ENABLE | GRETH_TXD_CS | GRETH_TXD_WRAP; ctrl = GRETH_TXD_ENABLE | GRETH_TXD_WRAP;
} }
/* Enable Descriptor */ /* Enable Descriptor */