Lines Matching refs:md_bytes
74 struct nfp_nfd3_tx_desc *txd, struct sk_buff *skb, u32 md_bytes) in nfp_nfd3_tx_tso() argument
96 txd->l3_offset = l3_offset - md_bytes; in nfp_nfd3_tx_tso()
97 txd->l4_offset = l4_offset - md_bytes; in nfp_nfd3_tx_tso()
98 txd->lso_hdrlen = hdrlen - md_bytes; in nfp_nfd3_tx_tso()
176 int md_bytes; in nfp_nfd3_prep_tx_meta() local
188 md_bytes = sizeof(meta_id) + in nfp_nfd3_prep_tx_meta()
193 if (unlikely(skb_cow_head(skb, md_bytes))) in nfp_nfd3_prep_tx_meta()
196 data = skb_push(skb, md_bytes) + md_bytes; in nfp_nfd3_prep_tx_meta()
225 return md_bytes; in nfp_nfd3_prep_tx_meta()
238 int f, nr_frags, wr_idx, md_bytes; in nfp_nfd3_tx() local
276 md_bytes = nfp_nfd3_prep_tx_meta(dp, skb, tls_handle); in nfp_nfd3_tx()
277 if (unlikely(md_bytes < 0)) in nfp_nfd3_tx()
298 txd->offset_eop = (nr_frags ? 0 : NFD3_DESC_TX_EOP) | md_bytes; in nfp_nfd3_tx()
308 nfp_nfd3_tx_tso(r_vec, txbuf, txd, skb, md_bytes); in nfp_nfd3_tx()
339 txd->offset_eop = md_bytes | in nfp_nfd3_tx()