Searched refs:meta_len (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | dp.c | 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() [all …]
|
D | xsk.c | 129 unsigned int meta_len, data_len, pkt_len, pkt_off; in nfp_nfd3_xsk_rx() local 167 meta_len = rxd->rxd.meta_len_dd & PCIE_DESC_RX_META_LEN_MASK; in nfp_nfd3_xsk_rx() 169 pkt_len = data_len - meta_len; in nfp_nfd3_xsk_rx() 171 if (unlikely(meta_len > NFP_NET_MAX_PREPEND)) { in nfp_nfd3_xsk_rx() 173 meta_len); in nfp_nfd3_xsk_rx() 184 xrxbuf->xdp->data += meta_len; in nfp_nfd3_xsk_rx() 190 if (meta_len) { in nfp_nfd3_xsk_rx() 193 meta_len, in nfp_nfd3_xsk_rx() 195 pkt_len, meta_len))) { in nfp_nfd3_xsk_rx()
|
D | nfd3.h | 93 void *data, void *pkt, unsigned int pkt_len, int meta_len);
|
/drivers/nvme/host/ |
D | ioctl.c | 167 unsigned bufflen, void __user *meta_buffer, unsigned meta_len, in nvme_map_user_request() argument 201 if (bdev && meta_buffer && meta_len) { in nvme_map_user_request() 202 meta = nvme_add_user_metadata(req, meta_buffer, meta_len, in nvme_map_user_request() 223 void __user *meta_buffer, unsigned meta_len, u32 meta_seed, in nvme_submit_user_cmd() argument 241 meta_len, meta_seed, &meta, NULL, flags); in nvme_submit_user_cmd() 255 meta_len, ret); in nvme_submit_user_cmd() 270 unsigned length, meta_len; in nvme_submit_io() local 297 meta_len = 0; in nvme_submit_io() 300 meta_len = (io.nblocks + 1) * ns->ms; in nvme_submit_io() 305 length += meta_len; in nvme_submit_io() [all …]
|
/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | dp.c | 741 void *data, void *pkt, unsigned int pkt_len, int meta_len) in nfp_nfdk_parse_meta() argument 1044 unsigned int meta_len, data_len, meta_off, pkt_len, pkt_off; in nfp_nfdk_rx() local 1083 meta_len = rxd->rxd.meta_len_dd & PCIE_DESC_RX_META_LEN_MASK; in nfp_nfdk_rx() 1085 pkt_len = data_len - meta_len; in nfp_nfdk_rx() 1089 pkt_off += meta_len; in nfp_nfdk_rx() 1092 meta_off = pkt_off - meta_len; in nfp_nfdk_rx() 1100 if (unlikely(meta_len > NFP_NET_MAX_PREPEND || in nfp_nfdk_rx() 1101 (dp->rx_offset && meta_len > dp->rx_offset))) { in nfp_nfdk_rx() 1103 meta_len); in nfp_nfdk_rx() 1111 if (meta_len) { in nfp_nfdk_rx() [all …]
|
/drivers/net/ethernet/netronome/nfp/flower/ |
D | offload.c | 98 u32 meta_len, key_len, mask_len, act_len, tot_len; in nfp_flower_xmit_flow() local 102 meta_len = sizeof(struct nfp_fl_rule_metadata); in nfp_flower_xmit_flow() 107 tot_len = meta_len + key_len + mask_len + act_len; in nfp_flower_xmit_flow() 121 memcpy(msg, &nfp_flow->meta, meta_len); in nfp_flower_xmit_flow() 122 memcpy(&msg[meta_len], nfp_flow->unmasked_data, key_len); in nfp_flower_xmit_flow() 123 memcpy(&msg[meta_len + key_len], nfp_flow->mask_data, mask_len); in nfp_flower_xmit_flow() 124 memcpy(&msg[meta_len + key_len + mask_len], in nfp_flower_xmit_flow()
|