DPDK patches and discussions
 help / color / mirror / Atom feed
From: 张伟 <zhangwqh@126.com>
To: dev@dpdk.org
Subject: [dpdk-dev] dpdk 1.8.0 disable burst problem
Date: Thu, 10 Sep 2015 21:54:26 +0800 (CST)	[thread overview]
Message-ID: <278d006e.109ef.14fb78933fa.Coremail.zhangwqh@126.com> (raw)

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? 

             reply	other threads:[~2015-09-10 13:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-10 13:54 张伟 [this message]
2015-09-15  2:57 ` Liu, Yong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=278d006e.109ef.14fb78933fa.Coremail.zhangwqh@126.com \
    --to=zhangwqh@126.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).