[dpdk-dev] dpdk 1.8.0 disable burst problem

Liu, Yong yong.liu at intel.com
Tue Sep 15 04:57:40 CEST 2015


Hi Wei,
We can't reproduce your issue in our environment. Below is our steps.

1. disable vector and change burst size
CONFIG_RTE_IXGBE_INC_VECTOR=n
Define PACKET_READ_SIZE to 1 in client_server_mp/mp_server/main.c.
Define PKT_READ_SIZE to 1 in client_server_mp/mp_client/client.c.

2. Run mp_server with one client.
mp_server -n 4 -c 0xf -- -p 0x3 -n 1
Rx function: Rx Burst Bulk Alloc Tx function: simple tx code path

mp_client -n 4  -c 0xf0 --proc-type=secondary -- -n 0

3. Send packets to port0 and port1. Packets normally forwarded by client.

    PORTS
    -----
    Port 0: '90:e2:ba:36:99:3c'     Port 1: '90:e2:ba:36:99:3d'

    Port 0 - rx:      5000  tx:      1000
    Port 1 - rx:      1000  tx:      5000

    CLIENTS
    -------
    Client  0 - rx:      6000, rx_drop:         0
                tx:      6000, tx_drop:         0

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of ??
> Sent: Thursday, September 10, 2015 9:54 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] dpdk 1.8.0 disable burst problem
> 
> 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