[dpdk-dev] vlan intertion offload does not take effect in 17.08

2017-11-09 Thread Chillance Zen
hi,all I write this code when processing a packet try to utilize VLAN offload(the nic does support that offlaod because I verify it in its dev_info) m->vlan_tci=222; m->ol_flags=PKT_TX_VLAN_PKT; the packets out of that interface does not contain any vlan tag. does anybody know what's happening o

[dpdk-dev] something is wrong with device hotplug with DPDK 17.08

2017-07-26 Thread Chillance Zen
hi ,all when I pass parameters with the XL710 PCI address :":41:00.1" to rte_eth_dev_attach(),the PMD says something like the following and halts and fails EAL: Cannot find unplugged device (:41:00.1) EAL: Driver cannot attach the device (:41:00.1) does anybody know what happens ? than

[dpdk-dev] TAP PMD does not work in 17.05

2017-06-22 Thread Chillance Zen
it always says something like this: PMD: tap1234: ioctl(35092) failed with error: No such device PMD: Add queue to TAP tap1234 for qid 0 PMD: tap1234: ioctl(35108) failed with error: Cannot assign requested address PMD: tun_alloc(tap1234, 0) failed PMD: tap1234: ioctl(35092) failed with error: No

[dpdk-dev] how to poll a 40G/100G NIC with multiqueues without RSS

2017-06-08 Thread Chillance Zen
Hi, everyone, since I need to realize my own protocol with which RSS can not be configured. but we need massive packets to be processed with multiple cpus(even that one cpu is always polling is not enough) does anyone know how to distribute traffic to multiple queues thanksĀ®ards -- Linc @bjtu

[dpdk-dev] does XL710 only support limited packet types ?

2017-04-09 Thread Chillance Zen
Hi,all what I observe with my XL710 is it only recognize RTE_PTYPE_L3_IPV4(6)_EXT_UNKNOWN within L3 mask,it would never recognize it's still a vxlan packet as well ,and after I configured all RSS ,I can retrieve hash value from mbuf,if only ETH_RSS_IP is configured ,I can not get any hash at all.

[dpdk-dev] link speed is not available with Intel x520

2017-03-20 Thread Chillance Zen
Hi,all I can get link speed via rte_eth_link_get() with my nic x520,did anybody even meet this before? Thanks&Regards Linc

[dpdk-dev] DPDK17.02 flow classification can not take effect

2017-03-08 Thread Chillance Zen
previous 16.07 works well , when I examine the rte_mbuf->packet_type,I can get the well-corresponded packet type. after migrating code to 17.02 ,I will never get packet_type again, should I switch on something ,or did I miss any configuration ? btw,how could I judge whether the nic support packet

Re: [dpdk-dev] checksum and vlan insertion seem not working on X520

2017-03-08 Thread Chillance Zen
gt; > Konstantin > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Chillance Zen > > Sent: Wednesday, March 8, 2017 8:50 AM > > To: dev@dpdk.org > > Subject: [dpdk-dev] checksum and vlan insertion seem not working on X520 >

[dpdk-dev] checksum and vlan insertion seem not working on X520

2017-03-08 Thread Chillance Zen
Hi ,every one when I was conducting nic offloading exp,I can not make a x520 nic insert vlan ,nor checksum, here is my rx/tx capability: rx offload capability:9f tx offload capability:203f with code like this: while(1){ nr_mbufs=rte_eth_rx_burst(0,queue_id,mbufs,32); for(idx=0;idxhdr_checksum=0;