Lines Matching refs:m
291 struct rte_mbuf *m; in dpdk_get_wptr() local
303 m = dpc->wmbufs[nif].m_table[len_of_mbuf]; in dpdk_get_wptr()
306 ptr = (void *)rte_pktmbuf_mtod(m, struct ether_hdr *); in dpdk_get_wptr()
307 m->pkt_len = m->data_len = pktsize; in dpdk_get_wptr()
308 m->nb_segs = 1; in dpdk_get_wptr()
309 m->next = NULL; in dpdk_get_wptr()
398 struct rte_mbuf *m; in dpdk_get_rptr() local
404 m = dpc->pkts_burst[index]; in dpdk_get_rptr()
406 m->udata64 = 1; in dpdk_get_rptr()
409 *len = m->pkt_len; in dpdk_get_rptr()
410 pktbuf = rte_pktmbuf_mtod(m, uint8_t *); in dpdk_get_rptr()
413 dpc->rmbufs[ifidx].m_table[index] = m; in dpdk_get_rptr()
538 struct rte_mbuf *m; in dpdk_dev_ioctl() local
557 m = dpc->wmbufs[nif].m_table[len_of_mbuf - 1]; in dpdk_dev_ioctl()
558 m->ol_flags = PKT_TX_IP_CKSUM | PKT_TX_IPV4; in dpdk_dev_ioctl()
559 m->l2_len = sizeof(struct ether_hdr); in dpdk_dev_ioctl()
560 m->l3_len = (iph->ihl<<2); in dpdk_dev_ioctl()
563 m = dpc->wmbufs[nif].m_table[len_of_mbuf - 1]; in dpdk_dev_ioctl()
565 m->ol_flags |= PKT_TX_TCP_CKSUM; in dpdk_dev_ioctl()
566 tcph->check = rte_ipv4_phdr_cksum((struct ipv4_hdr *)iph, m->ol_flags); in dpdk_dev_ioctl()
570 m = dpc->pkts_burst[rss_i->pktidx]; in dpdk_dev_ioctl()
571 rss_i->hash_value = m->hash.rss; in dpdk_dev_ioctl()