From ee3f3f4b852b1c526f9625d690a02180c796de0b Mon Sep 17 00:00:00 2001 From: andre Date: Mon, 19 Aug 2013 10:20:20 +0000 Subject: Remove unused and incomplete support for delayed fragment checksums from bce(4), bxe(4), mge(4) and ti(4) drivers. --- sys/dev/ti/if_ti.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'sys/dev/ti') 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. -- cgit v1.1