diff options
author | andre <andre@FreeBSD.org> | 2013-08-19 10:20:20 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2013-08-19 10:20:20 +0000 |
commit | ee3f3f4b852b1c526f9625d690a02180c796de0b (patch) | |
tree | ccd4255a72587d6cd9a6c15ea12921b154a0473b /sys/dev/ti | |
parent | c36cd113d1daeb4be9deb5913d1e0044b01e4770 (diff) | |
download | FreeBSD-src-ee3f3f4b852b1c526f9625d690a02180c796de0b.zip FreeBSD-src-ee3f3f4b852b1c526f9625d690a02180c796de0b.tar.gz |
Remove unused and incomplete support for delayed fragment checksums
from bce(4), bxe(4), mge(4) and ti(4) drivers.
Diffstat (limited to 'sys/dev/ti')
-rw-r--r-- | sys/dev/ti/if_ti.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index f8142b4..36cf047 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -3159,24 +3159,6 @@ ti_start_locked(struct ifnet *ifp) break; /* - * XXX - * safety overkill. If this is a fragmented packet chain - * with delayed TCP/UDP checksums, then only encapsulate - * it if we have enough descriptors to handle the entire - * chain at once. - * (paranoia -- may not actually be needed) - */ - if (m_head->m_flags & M_FIRSTFRAG && - m_head->m_pkthdr.csum_flags & (CSUM_DELAY_DATA)) { - if ((TI_TX_RING_CNT - sc->ti_txcnt) < - m_head->m_pkthdr.csum_data + 16) { - IFQ_DRV_PREPEND(&ifp->if_snd, m_head); - ifp->if_drv_flags |= IFF_DRV_OACTIVE; - break; - } - } - - /* * Pack the data into the transmit ring. If we * don't have room, set the OACTIVE flag and wait * for the NIC to drain the ring. |