Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixgbe/ix_txrx.c
Show First 20 Lines • Show All 232 Lines • ▼ Show 20 Lines | ixgbe_isc_txd_encap(void *arg, if_pkt_info_t pi) | ||||
} | } | ||||
if (flags) { | if (flags) { | ||||
txr->tx_rsq[txr->tx_rs_pidx] = pidx_last; | txr->tx_rsq[txr->tx_rs_pidx] = pidx_last; | ||||
txr->tx_rs_pidx = (txr->tx_rs_pidx + 1) & (ntxd - 1); | txr->tx_rs_pidx = (txr->tx_rs_pidx + 1) & (ntxd - 1); | ||||
} | } | ||||
txd->read.cmd_type_len |= htole32(IXGBE_TXD_CMD_EOP | flags); | txd->read.cmd_type_len |= htole32(IXGBE_TXD_CMD_EOP | flags); | ||||
++txr->packets; | |||||
txr->bytes += pi->ipi_len; | txr->bytes += pi->ipi_len; | ||||
pi->ipi_new_pidx = i; | pi->ipi_new_pidx = i; | ||||
++txr->total_packets; | ++txr->total_packets; | ||||
return (0); | return (0); | ||||
} /* ixgbe_isc_txd_encap */ | } /* ixgbe_isc_txd_encap */ | ||||
▲ Show 20 Lines • Show All 301 Lines • Show Last 20 Lines |