[dpdk-dev] Is vhost vring_avail size tunable?

2015-06-08 Thread Tim Deng
Thank you Changchun! Tim ? 2015-06-08 09:56:43?"Ouyang, Changchun" ??? > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tim Deng >> Sent: Sunday, June 7, 2015 4:02 PM >> To: dev at dpdk.org >> Subject: [

[dpdk-dev] Is vhost vring_avail size tunable?

2015-06-07 Thread Tim Deng
Hi, Under heavy work load, I found there were some packet lost caused by "Failed?to get enough desc from vring...", is there any way to get the vring size larger? Thanks, Tim

[dpdk-dev] ixgbe tcp cksum offload

2015-05-25 Thread Tim Deng
Thanks Bruce so much! That perfectly solves my problem. Tim At 2015-05-25 18:28:48, "Bruce Richardson" wrote: >On Mon, May 25, 2015 at 06:15:23PM +0800, Tim Deng wrote: >> Hi, >> >> >> I am trying to use ixgbe tcp cksum h/w offload by following steps

[dpdk-dev] ixgbe tcp cksum offload

2015-05-25 Thread Tim Deng
Hi, I am trying to use ixgbe tcp cksum h/w offload by following steps: - populate pseudo cksum - set l2_len, l3_len, l4_len - set ol_flags But I found the pkt doesn't get right h/w checksum by sniffing on recv side, and TCP cksum still leave with the original pseudo cksum. And I verified thos

[dpdk-dev] how to dump rte_mbuf in gdb

2015-04-27 Thread Tim Deng
Hi, When I tried to dump a rte_mbuf, gdb complianed "Attempt to resolve a variably-sized type which appears in the interior of a structure type", and rte_mbuf indeed includes some variably-sized type like MARKER. Could anyone share a workaround? Thanks, Tim

[dpdk-dev] method to destroy a rte_mempool

2015-03-27 Thread Tim Deng
Hi, What's the right way to destroy a rte_mempool returned by rte_mempool_create()? I cannot find any such function, could anyone share some hints? Thanks, Tim

[dpdk-dev] Manage DPDK port capability via KNI

2015-02-25 Thread Tim Deng
ernel >codes with BSD license. > >> -Original Message----- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tim Deng >> Sent: Wednesday, February 25, 2015 9:57 AM >> To: dev at dpdk.org >> Subject: [dpdk-dev] Manage DPDK port capability via KNI >

[dpdk-dev] Manage DPDK port capability via KNI

2015-02-25 Thread Tim Deng
Hi, I am wondering how could we manage a DPDK port offload capabilities, e.g. if we want to disable TSO capability on a DPDK port, is it feasible that we use ethtool to configure a KNI then the config will be sync to a DPDK port? Thanks, Tim