Lines Matching refs:meo
1670 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()
1736 } else if (meo->meoi_l3proto == ETHERTYPE_IPV6) { in i40e_tx_context()
1743 tctx->itc_data_offsets |= (meo->meoi_l2hlen >> 1) << in i40e_tx_context()
1745 tctx->itc_data_offsets |= (meo->meoi_l3hlen >> 2) << in i40e_tx_context()
1749 switch (meo->meoi_l4proto) { in i40e_tx_context()
1767 tctx->itc_data_offsets |= (meo->meoi_l4hlen >> 2) << in i40e_tx_context()
1779 if ((meo->meoi_l3proto == ETHERTYPE_IP && in i40e_tx_context()
1789 (meo->meoi_l2hlen + meo->meoi_l3hlen + meo->meoi_l4hlen); in i40e_tx_context()
2363 const mac_ether_offload_info_t *meo, const i40e_tx_context_t *tctx, in i40e_lso_chain() argument
2385 meo->meoi_l2hlen + meo->meoi_l3hlen + meo->meoi_l4hlen; in i40e_lso_chain()
2718 mac_ether_offload_info_t meo; in i40e_ring_tx() local
2745 mac_ether_offload_info(mp, &meo); in i40e_ring_tx()
2752 if (i40e_tx_context(i40e, itrq, mp, &meo, &tctx) < 0) { in i40e_ring_tx()
2790 tcbhead = i40e_lso_chain(itrq, mp, &meo, &tctx, &needed_desc); in i40e_ring_tx()