Home
last modified time | relevance | path

Searched refs:meo (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ena/
H A Dena_tx.c356 mac_ether_offload_info_t *meo, size_t mlen) in ena_fill_tx_data_desc() argument
365 size_t hdr_len = meo->meoi_l2hlen + meo->meoi_l3hlen + meo->meoi_l4hlen; in ena_fill_tx_data_desc()
411 mac_ether_offload_info_t meo; in ena_ring_tx() local
434 mac_ether_offload_info(mp, &meo); in ena_ring_tx()
435 if ((meo.meoi_flags & MEOI_L2INFO_SET) == 0) { in ena_ring_tx()
460 ASSERT3U(meo.meoi_len, <=, ena->ena_max_frame_total); in ena_ring_tx()
474 &meo, meo.meoi_len); in ena_ring_tx()
490 txq->et_stat.ets_bytes.value.ui64 += meo.meoi_len; in ena_ring_tx()
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_transceiver.c1670 mac_ether_offload_info_t *meo, i40e_tx_context_t *tctx) in i40e_tx_context() argument
1692 if ((meo->meoi_flags & MEOI_L2INFO_SET) == 0) { in i40e_tx_context()
1696 if ((meo->meoi_flags & MEOI_L3INFO_SET) == 0) { in i40e_tx_context()
1700 if (meo->meoi_l3proto != ETHERTYPE_IP) { in i40e_tx_context()
1705 tctx->itc_data_offsets |= (meo->meoi_l2hlen >> 1) << in i40e_tx_context()
1707 tctx->itc_data_offsets |= (meo->meoi_l3hlen >> 2) << in i40e_tx_context()
1718 if ((meo->meoi_flags & MEOI_L4INFO_SET) == 0) { in i40e_tx_context()
1724 if ((meo->meoi_flags & MEOI_L2INFO_SET) == 0) { in i40e_tx_context()
1728 if ((meo->meoi_flags & MEOI_L3INFO_SET) == 0) { in i40e_tx_context()
1733 if (meo->meoi_l3proto == ETHERTYPE_IP) { in i40e_tx_context()
[all …]
/illumos-gate/usr/src/uts/common/io/vioif/
H A Dvioif.c1315 mac_ether_offload_info_t meo; in vioif_send() local
1321 mac_ether_offload_info(mp, &meo); in vioif_send()
1323 if ((meo.meoi_flags & needed) != needed) { in vioif_send()
1327 if (meo.meoi_l4proto != IPPROTO_TCP) { in vioif_send()
1331 if (meo.meoi_l3proto == ETHERTYPE_IP && vif->vif_tx_tso4) { in vioif_send()
1333 } else if (meo.meoi_l3proto == ETHERTYPE_IPV6 && in vioif_send()
1354 tcpha = (tcpha_t *)(pullmp->b_rptr + meo.meoi_l2hlen + in vioif_send()
1355 meo.meoi_l3hlen); in vioif_send()
1357 tcpha = (tcpha_t *)(mp->b_rptr + meo.meoi_l2hlen + in vioif_send()
1358 meo.meoi_l3hlen); in vioif_send()
[all …]