Re: [dpdk-users] [dpdk-dev] Issue with DCB with X710 Quad 10Gb NIC

2019-09-18 Thread Zhang, Xiao
> -Original Message- > From: Mike DeVico [mailto:mdev...@xcom-labs.com] > Sent: Thursday, September 19, 2019 9:23 AM > To: Christensen, ChadX M ; Zhang, Xiao > ; Thomas Monjalon > Cc: users@dpdk.org; Xing, Beilei ; Zhang, Qi Z > ; Richardson, Bruce ; > Ananyev, Konstantin ; Yigit, Ferruh

Re: [dpdk-users] [dpdk-dev] Issue with DCB with X710 Quad 10Gb NIC

2019-09-18 Thread Mike DeVico
As suggested I tried the following: I have an Intel FlexRAN FerryBridge broadcasting a packet 1/s which looks like the following (sudo tcpdump -i p7p1 -xx): 0x: aeae 8100 4001 0x0010: 0800 0009 0001 8086 3600 010f 0x0020:

Re: [dpdk-users] [dpdk-dev] Issue with DCB with X710 Quad 10Gb NIC

2019-09-18 Thread Mike DeVico
I have not had a chance to try it yet, but it definitely looks like this is definitely the issue. On 9/18/19, 7:54 AM, "Christensen, ChadX M" wrote: [EXTERNAL SENDER] Hi Mike, Did that resolve it? Thanks, Chad Christensen | Ecosystem Enablement Manager

Re: [dpdk-users] Usage of example vhost (vhost-switch)

2019-09-18 Thread madhukar mythri
IP addresses are not required to set. Did you cross check the log-file of OVS, whether started successfully on the PF. On Wed, Sep 18, 2019, 7:25 PM Derek wrote: > Hi, Madhukar > > The io forwarding mode is set. > One question is > when using pktgen generates packets to the host, in addition

Re: [dpdk-users] Help with mbuf and mempool

2019-09-18 Thread Suraj R Gupta
Also char buf[PATH_MAX] is not initialised or assigned any value. Assign a name to it. The PATH_MAX need not be 4096, use a lesser value say 100. On Wed, Sep 18, 2019 at 8:07 PM Arvind Narayanan wrote: > Not sure, did you try to initialize the EAL first before creating mempool, > etc.? >

[dpdk-users] Mbuf and mempoll error -regarding

2019-09-18 Thread Perugu Hemasai Chandra Prasad
Please try doing rte_eal_init() before creating mempool

[dpdk-users] VMware i40en SR-IOV VLAN

2019-09-18 Thread Iain Barker
Does anyone use DPDK with VLAN on SR-IOV VF for i40en NIC driver under VMware ? It seems new 'security' in the Intel i40en driver broke the ability for DPDK to set VLAN filters for SR-IOV. Specifically, the VF has to be manually set as 'trusted mode' via a CLI command to allow more than 8 VLAN

Re: [dpdk-users] Help with mbuf and mempool

2019-09-18 Thread Arvind Narayanan
Not sure, did you try to initialize the EAL first before creating mempool, etc.? rte_eal_init() Arvind On Wed, Sep 18, 2019 at 9:31 AM Tran (US), Katherine K < katherine.k.t...@boeing.com> wrote: > Hi, > > I have

Re: [dpdk-users] Help with mbuf and mempool

2019-09-18 Thread Tran (US), Katherine K
Hi, I have allocated hugepages. I still get the same error. I changed the code to the following but I still get the same error: - Code --- struct rte_mempool *mempool = NULL; #define NB_MBUF 8192 #define PATH_MAX4096 int main(int argc, char **argv) {

Re: [dpdk-users] [dpdk-dev] Issue with DCB with X710 Quad 10Gb NIC

2019-09-18 Thread Mike DeVico
Sure enough, I see it now. I'll give it a try. Thanks!!! --Mike On 9/18/19, 12:11 AM, "Zhang, Xiao" wrote: [EXTERNAL SENDER] > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Wednesday, September 18, 2019 3:03 PM > To: Zhang,

Re: [dpdk-users] Usage of example vhost (vhost-switch)

2019-09-18 Thread Derek
Hi, Madhukar The io forwarding mode is set. One question is when using pktgen generates packets to the host, in addition to the vlan id and mac, does it need to set the IP of source NIC and dst NIC? Thanks, Derek madhukar mythri 於 2019年9月18日 週三 下午5:00寫道: > Did you configured the testpmd with

[dpdk-users] [DPDK v17.11 LTS] Crash (segmentation fault) in ACL table packet look up

2019-09-18 Thread Victor Huertas
Hi all, the DPDK lib always crashes when a packet enters an ACL table I created to check IPv6 fragmented packets. If the table is empty nothing happens as the missed packets go to the next table in the pipeline but as soon as I put some entries a crash happens when the first packet enters. It

Re: [dpdk-users] [dpdk-dev] Issue with DCB with X710 Quad 10Gb NIC

2019-09-18 Thread Zhang, Xiao
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Wednesday, September 18, 2019 3:03 PM > To: Zhang, Xiao > Cc: Mike DeVico ; users@dpdk.org; Xing, Beilei > ; Zhang, Qi Z ; Richardson, Bruce > ; Ananyev, Konstantin > ; Yigit, Ferruh ; > Christensen,

Re: [dpdk-users] [dpdk-dev] Issue with DCB with X710 Quad 10Gb NIC

2019-09-18 Thread Thomas Monjalon
18/09/2019 09:02, Zhang, Xiao: > > There is some hardware limitation and need to enable RSS to distribute > packets for X710. Is this limitation documented?

Re: [dpdk-users] [dpdk-dev] Issue with DCB with X710 Quad 10Gb NIC

2019-09-18 Thread Mike DeVico
I as understand it, RSS and DCB are two completely different things. DCB uses the PCP field to map the packet to a given queue, whereas RSS computes a key by hashing the IP address and port and then uses the key to map the packet to a given queue. --Mike On 9/17/19, 8:33 PM, "Zhang, Xiao"

Re: [dpdk-users] [dpdk-dev] Issue with DCB with X710 Quad 10Gb NIC

2019-09-18 Thread Zhang, Xiao
Hi Mike, You need add --enable-rss option when start up the process like: sudo ./vmdq_dcb_app -l 1 -- -p3 --nb-pools 16 --nb-tcs 8 -p 3 --enable-rss Thanks, Xiao > -Original Message- > From: Mike DeVico [mailto:mdev...@xcom-labs.com] > Sent: Wednesday, September 18, 2019 2:55 AM > To: