Lines Matching refs:meta_len
741 void *data, void *pkt, unsigned int pkt_len, int meta_len) in nfp_nfd3_parse_meta() argument
922 unsigned int meta_len, data_len, meta_off, pkt_len, pkt_off; in nfp_nfd3_rx() local
961 meta_len = rxd->rxd.meta_len_dd & PCIE_DESC_RX_META_LEN_MASK; in nfp_nfd3_rx()
963 pkt_len = data_len - meta_len; in nfp_nfd3_rx()
967 pkt_off += meta_len; in nfp_nfd3_rx()
970 meta_off = pkt_off - meta_len; in nfp_nfd3_rx()
978 if (unlikely(meta_len > NFP_NET_MAX_PREPEND || in nfp_nfd3_rx()
979 (dp->rx_offset && meta_len > dp->rx_offset))) { in nfp_nfd3_rx()
981 meta_len); in nfp_nfd3_rx()
992 } else if (meta_len) { in nfp_nfd3_rx()
996 pkt_len, meta_len))) { in nfp_nfd3_rx()
1207 unsigned int real_len = skb->len, meta_len = 0; in nfp_nfd3_ctrl_tx_one() local
1239 meta_len = 8; in nfp_nfd3_ctrl_tx_one()
1262 txd->offset_eop = meta_len | NFD3_DESC_TX_EOP; in nfp_nfd3_ctrl_tx_one()
1297 nfp_ctrl_meta_ok(struct nfp_net *nn, void *data, unsigned int meta_len) in nfp_ctrl_meta_ok() argument
1302 return !meta_len; in nfp_ctrl_meta_ok()
1304 if (meta_len != 8) in nfp_ctrl_meta_ok()
1318 unsigned int meta_len, data_len, meta_off, pkt_len, pkt_off; in nfp_ctrl_rx_one() local
1340 meta_len = rxd->rxd.meta_len_dd & PCIE_DESC_RX_META_LEN_MASK; in nfp_ctrl_rx_one()
1342 pkt_len = data_len - meta_len; in nfp_ctrl_rx_one()
1346 pkt_off += meta_len; in nfp_ctrl_rx_one()
1349 meta_off = pkt_off - meta_len; in nfp_ctrl_rx_one()
1359 if (unlikely(!nfp_ctrl_meta_ok(nn, rxbuf->frag + meta_off, meta_len))) { in nfp_ctrl_rx_one()
1361 meta_len); in nfp_ctrl_rx_one()