Re: [dpdk-users] 回覆﹕ Packets drop while fetching with rte_eth_rx_burst

2018-03-25 Thread Filip Janiszewski
Thanks Marco, I'm running DPDK 18.02. I might understand that the counter is not implemented yet, but why rte_eth_rx_burst never returns nb_pkts? According to: http://dpdk.org/doc/api/rte__ethdev_8h.html#a3e7d76a451b46348686ea97d6367f102 "The rte_eth_rx_burst() function returns the number of

[dpdk-users] 回覆﹕ Packets drop while fetching with rte_eth_rx_burst

2018-03-25 Thread MAC Lee
Hi Filip, which dpdk version are you using? You can take a look to the source code of dpdk , the rxdrop counter may be not implemented in dpdk. So you always get 0 in rxdrop. Thanks, Marco 18/3/25 (週日),Filip Janiszewski

Re: [dpdk-users] Apply patches from the mailing list

2018-03-25 Thread Shreyansh Jain
> -Original Message- > From: users [mailto:users-boun...@dpdk.org] On Behalf Of > long...@viettel.com.vn > Sent: Sunday, March 25, 2018 11:59 AM > To: users@dpdk.org > Subject: [dpdk-users] Apply patches from the mailing list > > A very basic question, but how do I apply some of the

[dpdk-users] Packets drop while fetching with rte_eth_rx_burst

2018-03-25 Thread Filip Janiszewski
Hi Everybody, I have a weird drop problem, and to understand my question the best way is to have a look at this simple (and cleaned from all the not relevant stuff) snippet: while( 1 ) { if( config->running == false ) { break; } num_of_pkt = rte_eth_rx_burst( config->port_id,

[dpdk-users] How to get the timestamp of the packets

2018-03-25 Thread Sungho Hong
Hello DPDK users, in the dpdk document http://dpdk.readthedocs.io/en/v17.11/nics/features.html there is a mention about Macsec and Timestamp offload. but I have no clue of how to use these features. Would it be possible to know where I can find at least how these features are enabled? there is

[dpdk-users] Apply patches from the mailing list

2018-03-25 Thread longtb5
A very basic question, but how do I apply some of the patches that were put on the dev mailing list to try it out? I already looked at the next- subtrees but apparently even major patch set such as the new packet framework/ip_pipeline is not in there (yet). The contributor guideline only has