int thoff, iphlen, hoff, hlen;
uint16_t flags, mss;
-#if 0
- if (!ether_tso_pullup(mp, &hoff, &ip, &iphlen, &th, &thoff))
- return ENOBUFS;
- m = *mp;
-#else
m = *mp;
KASSERT(M_WRITABLE(m), ("TSO mbuf not writable"));
}
ip = mtodoff(m, struct ip *, hoff);
th = mtodoff(m, struct tcphdr *, hoff + iphlen);
-#endif
mss = m->m_pkthdr.tso_segsz;
flags = BGE_TXBDFLAG_CPU_PRE_DMA | BGE_TXBDFLAG_CPU_POST_DMA;
struct bnx_chain_data bnx_cdata; /* mbufs */
uint16_t bnx_tx_saved_considx;
uint16_t bnx_rx_saved_considx;
- uint16_t bnx_ev_saved_considx;
uint16_t bnx_return_ring_cnt;
uint16_t bnx_std; /* current std ring head */
uint16_t bnx_jumbo; /* current jumo ring head */