[dpdk-dev] dpdk 1.8.0 disable burst problem

张伟 zhangwqh at 126.com
Thu Sep 10 15:54:26 CEST 2015


Hi all, 


I am using the dpdk example dpdk-1.8.0/examples/multi_process/client_server_mp on ubuntu 14.04.  I need to disable the batch. At first, I just change the macro  in mp_server/main.c and mp_client/client.c
#define PACKET_READ_SIZE 32 to 1 
The server and the client can not receive any packets.  Almost of the packets are counted to err from the port stat.

Port:0, rx:511, rx_err:33011882, rx_nombuf:0, tx:0, tx_err:0

Port:0, rx_rate:0, rx_err_rate:782253,rx_nombuf_rate:0, tx_rate:0, tx_err_rate:0

However, DPDK 1.4.1 works only changing the batch size from 32 to 1 in server and client. 

What I did in the next step is 

disable the vector PMD burst on DPDK 1.8.0 version. 

disable the macro from config file 

CONFIG_RTE_IXGBE_INC_VECTOR=n

However, nothing is changed. Port still reports packets errs. 

Can anyone help to look at this problem? I will be very appreciated. 

BTW, why DPDK 1.4.1 can not be compiled on ubuntu 14.04? 


More information about the dev mailing list