[dpdk-dev] [memnic PATCH 3/7] pmd: use helper macros

2014-09-25 Thread Hiroshi Shimamoto
> Subject: Re: [dpdk-dev] [memnic PATCH 3/7] pmd: use helper macros > > 2014-09-11 07:47, Hiroshi Shimamoto: > > Do not touch pktmbuf directly. > > > > Instead of direct access, use rte_pktmbuf_pkt_len() and > > rte_pktmbuf_data_len() > > to access

[dpdk-dev] [memnic PATCH 3/7] pmd: use helper macros

2014-09-24 Thread Thomas Monjalon
2014-09-11 07:47, Hiroshi Shimamoto: > Do not touch pktmbuf directly. > > Instead of direct access, use rte_pktmbuf_pkt_len() and rte_pktmbuf_data_len() > to access the property. I guess this change is for compatibility with DPDK 1.8. Does it have an impact on performance? -- Thomas

[dpdk-dev] [memnic PATCH 3/7] pmd: use helper macros

2014-09-11 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto Do not touch pktmbuf directly. Instead of direct access, use rte_pktmbuf_pkt_len() and rte_pktmbuf_data_len() to access the property. Signed-off-by: Hiroshi Shimamoto Reviewed-by: Hayato Momma --- pmd/pmd_memnic.c | 4 ++-- 1 file changed,