[dpdk-dev] Free up completed TX buffers

2015-06-01 Thread Zoltan Kiss
On 01/06/15 09:50, Andriy Berestovskyy wrote: > Hi Zoltan, > > On Fri, May 29, 2015 at 7:00 PM, Zoltan Kiss > wrote: >> The easy way is just to increase your buffer pool's size to make >> sure that doesn't happen. > > Go for it! I went for it, my question is whether is it a good and

[dpdk-dev] [PATCH] ixgbe: fix checking for tx_free_thresh

2015-06-01 Thread Zoltan Kiss
Hi, Anyone would like to review this patch? Venky sent a NAK, but I've explained to him why it is a bug. Regards, Zoltan On 27/05/15 21:12, Zoltan Kiss wrote: > This check doesn't do what's required by rte_eth_tx_burst: > "When the number of previously sent packets reached the "minimum

[dpdk-dev] [PATCH v9 12/12] abi: fix v2.1 abi broken issue

2015-06-01 Thread Liang, Cunming
Hi Stephen, On 5/29/2015 11:27 PM, Stephen Hemminger wrote: > On Fri, 29 May 2015 16:45:25 +0800 > Cunming Liang wrote: > >> +#ifdef RTE_EAL_RX_INTR >> +extern int >> rte_eth_dev_rx_intr_ctl(uint8_t port_id, int epfd, int op, void *data); >> +#else >> +static inline int >>

[dpdk-dev] [PATCH v3 4/4] lib_vhost: Remove unnecessary vring descriptor length updating

2015-06-01 Thread Ouyang Changchun
Remove these unnecessary vring descriptor length updating, vhost should not change them. virtio in front end should assign value to desc.len for both rx and tx. Signed-off-by: Changchun Ouyang --- lib/librte_vhost/vhost_rxtx.c | 18 +- 1 file changed, 1 insertion(+), 17

[dpdk-dev] [PATCH v3 3/4] lib_vhost: Extract function

2015-06-01 Thread Ouyang Changchun
Extract codes into 2 common functions: update_secure_len which is used to accumulate the buffer len in the vring descriptors. and fill_buf_vec which is used to fill struct buf_vec. Signed-off-by: Changchun Ouyang --- lib/librte_vhost/vhost_rxtx.c | 79

[dpdk-dev] [PATCH v3 2/4] lib_vhost: Refine code style

2015-06-01 Thread Ouyang Changchun
Remove unnecessary new line. Signed-off-by: Changchun Ouyang --- lib/librte_vhost/vhost_rxtx.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c index 5fe1b6c..de60e9b 100644 ---

[dpdk-dev] [PATCH v3 1/4] lib_vhost: Fix enqueue/dequeue can't handle chained vring descriptors

2015-06-01 Thread Ouyang Changchun
Vring enqueue need consider the 2 cases: 1. use separate descriptors to contain virtio header and actual data, e.g. the first descriptor is for virtio header, and then followed by descriptors for actual data. 2. virtio header and some data are put together in one descriptor, e.g. the first

[dpdk-dev] [PATCH v3 0/4] Fix vhost enqueue/dequeue issue

2015-06-01 Thread Ouyang Changchun
Fix enqueue/dequeue can't handle chained vring descriptors; Remove unnecessary vring descriptor length updating; Add support copying scattered mbuf to vring; Changchun Ouyang (4): lib_vhost: Fix enqueue/dequeue can't handle chained vring descriptors lib_vhost: Refine code style lib_vhost:

[dpdk-dev] [PATCH] librte_pmd_fm10k: Fix max_vfs issue in fm10k PMD

2015-06-01 Thread Thomas Monjalon
2015-05-12 05:30, Qiu, Michael: > Hi, thomas > > What about this patch? It seems this patch was not *really* sent to dev at dpdk.org. Please re-send, keeping the Acked-by line. > On 4/16/2015 4:09 PM, Chen, Jing D wrote: > > From: Michael Qiu [mailto:qiudayu at cn.ibm.com] > >> From: Michael

[dpdk-dev] [PATCH v6 18/18] mbuf: remove old packet type bit masks

2015-06-01 Thread Helin Zhang
As unified packet types are used instead, those old bit masks and the relevant macros for packet type indication need to be removed. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang ---

[dpdk-dev] [PATCH v6 17/18] examples/l3fwd: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- examples/l3fwd/main.c |

[dpdk-dev] [PATCH v6 16/18] examples/l3fwd-power: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang ---

[dpdk-dev] [PATCH v6 15/18] examples/l3fwd-acl: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang ---

[dpdk-dev] [PATCH v6 14/18] examples/ip_reassembly: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang ---

[dpdk-dev] [PATCH v6 13/18] examples/ip_fragmentation: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang ---

[dpdk-dev] [PATCH v6 12/18] app/test: Remove useless code

2015-06-01 Thread Helin Zhang
Severl useless code lines are added accidently, which blocks packet type unification. They should be deleted at all. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang ---

[dpdk-dev] [PATCH v6 11/18] app/testpmd: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang Signed-off-by: Jijiang Liu

[dpdk-dev] [PATCH v6 10/18] app/test-pipeline: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang ---

[dpdk-dev] [PATCH v6 09/18] fm10k: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang ---

[dpdk-dev] [PATCH v6 08/18] vmxnet3: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang ---

[dpdk-dev] [PATCH v6 07/18] enic: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang ---

[dpdk-dev] [PATCH v6 06/18] i40e: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang ---

[dpdk-dev] [PATCH v6 05/18] ixgbe: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet type among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Note that around 2.5% performance drop (64B) was observed

[dpdk-dev] [PATCH v6 04/18] e1000: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang ---

[dpdk-dev] [PATCH v6 03/18] mbuf: add definitions of unified packet types

2015-06-01 Thread Helin Zhang
As there are only 6 bit flags in ol_flags for indicating packet types, which is not enough to describe all the possible packet types hardware can recognize. For example, i40e hardware can recognize more than 150 packet types. Unified packet type is composed of L2 type, L3 type, L4 type, tunnel

[dpdk-dev] [PATCH v6 02/18] ixgbe: support unified packet type in vectorized PMD

2015-06-01 Thread Helin Zhang
To unify the packet type, bit masks of packet type for ol_flags are replaced. In addition, more packet types (UDP, TCP and SCTP) are supported in vectorized ixgbe PMD. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Note

[dpdk-dev] [PATCH v6 01/18] mbuf: redefine packet_type in rte_mbuf

2015-06-01 Thread Helin Zhang
In order to unify the packet type, the field of 'packet_type' in 'struct rte_mbuf' needs to be extended from 16 to 32 bits. Accordingly, some fields in 'struct rte_mbuf' are re-organized to support this change for Vector PMD. As 'struct rte_kni_mbuf' for KNI should be right mapped to 'struct

[dpdk-dev] 答复: How to set timestamp in 82599 NICs in DPDK?

2015-06-01 Thread 科来 谭春海
Hi Keunhong, Thanks for your response. Seems ixgbe only supports hw timestamping for PTP packets. But I still don?t understand why igb and e1000 support hw timestamping all packets while ixgbe does not. ???: Keunhong Lee [mailto:dlrmsghd at gmail.com] : 2015?6?1? 11:51 ???: ?? ??? ??:

[dpdk-dev] [PATCH v2] lib_vhost:reset secure_len when rte_atomic16_cmpset failed

2015-06-01 Thread Wei li
when rte_atomic16_cmpset return 0 in first loop, secure_len should be reset to 0 in second loop, otherwise (pkt_len > secure_len) always be false, the num of desc maybe not enough Signed-off-by: Wei li --- lib/librte_vhost/vhost_rxtx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[dpdk-dev] [PATCH] app/testpmd: fix default RX/TX flow control values

2015-06-01 Thread David Marchand
From: Ding Zhi This variable has undefined values in some cases. Fixes: 422a20a4e62d ("app/testpmd: fix uninitialized flow control variables") Signed-off-by: Ding Zhi Signed-off-by: David Marchand --- app/test-pmd/cmdline.c |2 +- 1 file changed, 1 insertion(+), 1

[dpdk-dev] [PATCH] app/test: fix default memory assignment

2015-06-01 Thread David Marchand
From: Gaetan Rivet Each test requires a certain minimal amount of memory. Spreading memory on all sockets means that the test will get less memory than what it wanted on multi sockets system. So replace all_sockets() with per_sockets(). Also doubled memory on group_5 as

[dpdk-dev] How to set timestamp in 82599 NICs in DPDK?

2015-06-01 Thread Keunhong Lee
http://dpdk.org/browse/dpdk/tree/app/test-pmd/ieee1588fwd.c This code example contains enabling PTP with intel NICs. Keunhong. 2015-06-01 12:48 GMT+09:00 Keunhong Lee : > 82599 supports hw timestamping for PTP packets. > I don't know whether it supports timestamping for general packets. > >

[dpdk-dev] How to set timestamp in 82599 NICs in DPDK?

2015-06-01 Thread Keunhong Lee
82599 supports hw timestamping for PTP packets. I don't know whether it supports timestamping for general packets. http://lxr.free-electrons.com/source/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c#L640 says that 640

[dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs

2015-06-01 Thread David Harton (dharton)
Acked-by: David Harton (dharton) > -Original Message- > From: Liang-Min Larry Wang [mailto:liang-min.wang at intel.com] > Sent: Friday, May 29, 2015 8:38 PM > To: dev at dpdk.org > Cc: bruce.richardson at intel.com; konstantin.ananyev at intel.com; David > Harton > (dharton); Andrew

[dpdk-dev] [PATCH v2] log: Properly reset log_history_size in rte_log_dump_history()

2015-06-01 Thread Olivier MATZ
On 06/01/2015 11:30 AM, Jan Blunck wrote: > In rte_log_dump_history() the log_history list is reinitialized without > resetting the log_history_size. In the next call to rte_log_add_in_history() > the log_history_size > RTE_LOG_HISTORY and the code unconditionally tries > to remove the first

[dpdk-dev] [PATCH] log: Properly reset log_history_size in rte_log_dump_history()

2015-06-01 Thread Jan Blunck
On Mon, Jun 1, 2015 at 10:31 AM, Olivier MATZ wrote: > Hi Jan, > > On 05/29/2015 12:34 PM, Jan Blunck wrote: > > In rte_log_dump_history() the log_history list is reinitialized without > > resetting the log_history_size. In the next call to > rte_log_add_in_history() > > the log_history_size >

[dpdk-dev] [PATCH] mbuf: optimize first reference increment in rte_pktmbuf_attach

2015-06-01 Thread Olivier Matz
As it's done in __rte_pktmbuf_prefree_seg(), we can avoid using an atomic increment in rte_pktmbuf_attach() by checking if we are the only owner of the mbuf first. Signed-off-by: Olivier Matz --- lib/librte_mbuf/rte_mbuf.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH v2] log: Properly reset log_history_size in rte_log_dump_history()

2015-06-01 Thread Jan Blunck
In rte_log_dump_history() the log_history list is reinitialized without resetting the log_history_size. In the next call to rte_log_add_in_history() the log_history_size > RTE_LOG_HISTORY and the code unconditionally tries to remove the first entry: Program received signal SIGSEGV, Segmentation

[dpdk-dev] [PATCH 3/3] mempool: fix typos, indentation, and doxygen style

2015-06-01 Thread Olivier Matz
Do some cosmetic clean-up. Signed-off-by: Olivier Matz --- lib/librte_mempool/rte_dom0_mempool.c | 36 lib/librte_mempool/rte_mempool.c | 10 ++--- lib/librte_mempool/rte_mempool.h | 80 ++- 3 files changed, 73 insertions(+), 53

[dpdk-dev] [PATCH 2/3] mempool: introduce objtlr structure for object trailers

2015-06-01 Thread Olivier Matz
Each object stored in mempools are suffixed by a trailer, storing a cookie in debug mode which help to detect memory corruptions. Like for headers, introduce a structure that materializes the content of this trailer. Signed-off-by: Olivier Matz --- lib/librte_mempool/rte_mempool.c | 4 +++-

[dpdk-dev] [PATCH 1/3] mempool: introduce objhdr structure for object headers

2015-06-01 Thread Olivier Matz
Each object stored in mempools are prefixed by a header, allowing for instance to retrieve the mempool pointer from the object. When debug is enabled, a cookie is also added in this header that helps to detect corruptions and double-frees. Introduce a structure that materializes the content of

[dpdk-dev] [PATCH 0/3] mempool: clean-up

2015-06-01 Thread Olivier Matz
These 3 patches try to make mempool code easier to read, they have no functional impact. Olivier Matz (3): mempool: introduce objhdr structure for object headers mempool: introduce objtlr structure for object trailers mempool: fix typos, indentation, and doxygen style

[dpdk-dev] [PATCH] lib_vhost:reset secure_len when rte_atomic16_cmpset failed

2015-06-01 Thread Wei li
--- lib/librte_vhost/vhost_rxtx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c index 4809d32..fb3e72a 100644 --- a/lib/librte_vhost/vhost_rxtx.c +++ b/lib/librte_vhost/vhost_rxtx.c @@ -431,6 +431,7 @@ virtio_dev_merge_rx(struct

[dpdk-dev] [PATCH 2/5] mbuf: use the reserved 16 bits for double vlan

2015-06-01 Thread Olivier MATZ
Hi Helin, On 05/26/2015 10:36 AM, Helin Zhang wrote: > Use the reserved 16 bits in rte_mbuf structure for the outer vlan, > also add QinQ offloading flags for both RX and TX sides. > > Signed-off-by: Helin Zhang > --- > lib/librte_mbuf/rte_mbuf.h | 10 +- > 1 file changed, 9

[dpdk-dev] [PATCH 1/5] ixgbe: remove a discarded source line

2015-06-01 Thread Olivier MATZ
Hi Helin, On 05/26/2015 10:36 AM, Helin Zhang wrote: > Little endian to CPU order conversion had been added for reading > vlan tag from RX descriptor, while its original source line was > forgotten to delete. That's a discarded source line and should be > deleted. > > Signed-off-by: Helin Zhang

[dpdk-dev] Free up completed TX buffers

2015-06-01 Thread Andriy Berestovskyy
Hi Zoltan, On Fri, May 29, 2015 at 7:00 PM, Zoltan Kiss wrote: > The easy way is just to increase your buffer pool's size to make > sure that doesn't happen. Go for it! > But there is no bulletproof way to calculate such > a number Yeah, there are many places for mbufs to stay :( I would

[dpdk-dev] How to set timestamp in 82599 NICs in DPDK?

2015-06-01 Thread 科来 谭春海
Hi I noticed that there is a patch which can set hardware timestamp for the received packets(http://www.wand.net.nz/trac/libtrace/browser/Intel%20DPDK%20Patches/ hardware_timestamp.patch?rev=ce7153dbc6a13c18bf8033af08c1249527754168), but it only works in e1000 and igb NICs. I want to capture

[dpdk-dev] [PATCH] log: Properly reset log_history_size in rte_log_dump_history()

2015-06-01 Thread Olivier MATZ
Hi Jan, On 05/29/2015 12:34 PM, Jan Blunck wrote: > In rte_log_dump_history() the log_history list is reinitialized without > resetting the log_history_size. In the next call to rte_log_add_in_history() > the log_history_size > RTE_LOG_HISTORY and the code unconditionally tries > to remove the

[dpdk-dev] [PATCH v6 01/18] mbuf: redefine packet_type in rte_mbuf

2015-06-01 Thread Olivier MATZ
Hi Helin, +CC Neil On 06/01/2015 09:33 AM, Helin Zhang wrote: > In order to unify the packet type, the field of 'packet_type' in > 'struct rte_mbuf' needs to be extended from 16 to 32 bits. > Accordingly, some fields in 'struct rte_mbuf' are re-organized to > support this change for Vector PMD.

[dpdk-dev] mempool destroy

2015-06-01 Thread Olivier MATZ
Hi, On 05/29/2015 11:04 PM, Dax Rawal wrote: > Hi, > How does one return (or destroy) ret_mempool that was created by > rte_mempool_create() ? Currently it's not possible but it seems it would be a nice improvement to mempool library. Sergio recently submitted a patch to delete memzones, it

[dpdk-dev] [PATCH 0/3] librte_cfgfile rework and extension

2015-06-01 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Maciej Gajdzica > Sent: Friday, May 29, 2015 4:27 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 0/3] librte_cfgfile rework and extension > > From: Pawel Wodkowski > > This patchset provide extension

[dpdk-dev] [PATCH v9 12/12] abi: fix v2.1 abi broken issue

2015-06-01 Thread Stephen Hemminger
Never mind, had wrong version of one of the patches. On Mon, Jun 1, 2015 at 7:11 AM, Stephen Hemminger wrote: > On Fri, 29 May 2015 16:45:25 +0800 > Cunming Liang wrote: > > > RTE_EAL_RX_INTR will be removed from v2.2. It's only used to avoid > ABI(unannounced) broken in v2.1. > > The usrs

[dpdk-dev] [PATCH v9 12/12] abi: fix v2.1 abi broken issue

2015-06-01 Thread Stephen Hemminger
On Fri, 29 May 2015 16:45:25 +0800 Cunming Liang wrote: > RTE_EAL_RX_INTR will be removed from v2.2. It's only used to avoid > ABI(unannounced) broken in v2.1. > The usrs should make sure understand the impact before turning on the feature. > There are two abi changes required in this interrupt

[dpdk-dev] [PATCH 01/11] ip_pipeline: add parsing for config files with new syntax

2015-06-01 Thread Stephen Hemminger
On Fri, 29 May 2015 17:43:08 +0200 Maciej Gajdzica wrote: > +/** > + * Find object of name *name* in *obj_array* which is constant size array of > + * elements that have field *name*. > + * > + * @param obj_array > + * Constant size array > + * @param name > + * name of object to find. > + *

[dpdk-dev] [PATCH v9 12/12] abi: fix v2.1 abi broken issue

2015-06-01 Thread Stephen Hemminger
On Mon, 1 Jun 2015 16:48:01 +0800 "Liang, Cunming" wrote: > Hi Stephen, > > On 5/29/2015 11:27 PM, Stephen Hemminger wrote: > > On Fri, 29 May 2015 16:45:25 +0800 > > Cunming Liang wrote: > > > >> +#ifdef RTE_EAL_RX_INTR > >> +extern int > >> rte_eth_dev_rx_intr_ctl(uint8_t port_id, int

[dpdk-dev] [PATCH v2] lib_vhost:reset secure_len when rte_atomic16_cmpset failed

2015-06-01 Thread Ouyang, Changchun
> -Original Message- > From: Wei li [mailto:liw at dtdream.com] > Sent: Monday, June 1, 2015 2:12 PM > To: dev at dpdk.org > Cc: Ouyang, Changchun; liw at dtdream.com > Subject: [PATCH v2] lib_vhost:reset secure_len when rte_atomic16_cmpset > failed > > when rte_atomic16_cmpset return 0

[dpdk-dev] [PATCH] lib_vhost:reset secure_len when rte_atomic16_cmpset failed

2015-06-01 Thread Ouyang, Changchun
> -Original Message- > From: Wei li [mailto:liw at dtdream.com] > Sent: Monday, June 1, 2015 11:00 AM > To: dev at dpdk.org > Cc: Ouyang, Changchun > Subject: [PATCH] lib_vhost:reset secure_len when rte_atomic16_cmpset > failed > The one line change is ok, but need more description. >

[dpdk-dev] [PATCH] vhost: enable live migration

2015-06-01 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie > Sent: Wednesday, May 27, 2015 11:02 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] vhost: enable live migration > > When we migrate VM, without this feature, qemu will report error: >

[dpdk-dev] [PATCH] kni: ignore double calls to rte_kni_init()

2015-06-01 Thread Marc Sune
Prevent double initialization of the KNI subsytem. Signed-off-by: Marc Sune --- lib/librte_kni/rte_kni.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/librte_kni/rte_kni.c b/lib/librte_kni/rte_kni.c index c5a0089..df0449f 100644 --- a/lib/librte_kni/rte_kni.c +++

[dpdk-dev] [PATCH] kni: Passing virtual PID to get_net_ns_by_pid(), so we can create kni interfaces in containers like docker

2015-06-01 Thread Wenfeng Liu
Signed-off-by: Wenfeng Liu --- lib/librte_eal/linuxapp/kni/kni_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c b/lib/librte_eal/linuxapp/kni/kni_misc.c index 1935d32..18fb677 100644 --- a/lib/librte_eal/linuxapp/kni/kni_misc.c

[dpdk-dev] [PATCH] config:enlarge the default value of RTE_MAX_QUEUES_PER_PORT to 1024

2015-06-01 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jijiang Liu > Sent: Thursday, May 28, 2015 9:36 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] config:enlarge the default value of > RTE_MAX_QUEUES_PER_PORT to 1024 > > The default value of