* [dpdk-dev] dpdk 1.8.0 disable burst problem
@ 2015-09-10 13:54 张伟
2015-09-15 2:57 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: 张伟 @ 2015-09-10 13:54 UTC (permalink / raw)
To: dev
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] dpdk 1.8.0 disable burst problem
2015-09-10 13:54 [dpdk-dev] dpdk 1.8.0 disable burst problem 张伟
@ 2015-09-15 2:57 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2015-09-15 2:57 UTC (permalink / raw)
To: zhangwqh, dev
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@dpdk.org] On Behalf Of ??
> Sent: Thursday, September 10, 2015 9:54 PM
> To: dev@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?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-15 2:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-10 13:54 [dpdk-dev] dpdk 1.8.0 disable burst problem 张伟
2015-09-15 2:57 ` Liu, Yong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).