Signed-off-by: Wenfeng Liu
---
v3:
* Remove trailing whitespace
v2:
* Fixed coding style issues reported by checkpatch
drivers/net/af_packet/rte_eth_af_packet.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/drivers/net/af_packet/rte_eth_af_packet.c
b
Signed-off-by: Wenfeng Liu
---
v2:
* Fixed coding style issues reported by checkpatch
drivers/net/af_packet/rte_eth_af_packet.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/drivers/net/af_packet/rte_eth_af_packet.c
b/drivers/net/af_packet
Signed-off-by: Wenfeng Liu
---
drivers/net/af_packet/rte_eth_af_packet.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/drivers/net/af_packet/rte_eth_af_packet.c
b/drivers/net/af_packet/rte_eth_af_packet.c
index 9a47852..a6cab9b 100644
--- a/drivers/net
This patch adds a new option 'iface' to change the interface name of
tap device with vhost-kernel as backend.
Signed-off-by: Wenfeng Liu
Reviewed-by: Jianfeng Tan
---
v3:
* Add a sanity check and raise an exception if it's given for vhost-user backend
v2:
* Remov
Hi Yuanhan,
Yes, that make sense. I will send an update patch later. Thanks.
Regards,
liuwf
-邮件原件-
发件人: Yuanhan Liu [mailto:yuanhan@linux.intel.com]
发送时间: 2017年3月28日 14:22
收件人: Wenfeng Liu
抄送: jianfeng@intel.com; maxime.coque...@redhat.com; dev@dpdk.org
主题: Re: [PATCH v2] net
This patch adds a new option 'iface' to change the interface name of
tap device with vhost-kernel as backend.
Signed-off-by: Wenfeng Liu
Reviewed-by: Jianfeng Tan
---
drivers/net/virtio/virtio_user/virtio_user_dev.c | 12
drivers/net/virtio/virtio_user/virtio_user_
Hi Jianfeng,
At 2017-03-28 10:05:11, "Tan, Jianfeng" wrote:
>Hi Wenfeng,
>
>Thank you for implementing this.
>
>On 3/11/2017 11:36 PM, Wenfeng Liu wrote:
>> This patch adds a new option 'iface' to change the interface name of
>> tap device wi
uot;)
Cc: sta...@dpdk.org
Signed-off-by: Wenfeng Liu
---
drivers/net/virtio/virtio_pci.h | 3 ++-
drivers/net/virtio/virtio_user/virtio_user_dev.c | 2 +-
drivers/net/virtio/virtio_user/virtio_user_dev.h | 6 +++---
drivers/net/virtio/virtio_user_ethdev.c | 7 +++
4 file
Hi Yuanhan,
>On Mon, Mar 13, 2017 at 03:09:15PM +0000, Wenfeng Liu wrote:
>> This commit fixes an array overflow when number of queues is higher than
8.
>
>Firstly, this commit log could be a bit more informative, to something
>like:
>
>virtio-user limits the qeueue
The valid tap file descriptor range should be equal or greater
than zero instead of non-zero
Fixes: e3b434818bbb ("net/virtio-user: support kernel vhost")
Signed-off-by: Wenfeng Liu
---
drivers/net/virtio/virtio_user/vhost_kernel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletio
This commit fixes an array overflow when number of queues is higher than 8.
Fixes: 37a7eb2ae816 ("net/virtio-user: add device emulation layer")
Signed-off-by: Wenfeng Liu
---
drivers/net/virtio/virtio_pci.h | 3 ++-
drivers/net/virtio/virtio_user/virtio_user
This patch adds a new option 'iface' to change the interface name of
tap device with vhost-kernel as backend.
Signed-off-by: Wenfeng Liu
---
drivers/net/virtio/virtio_user/virtio_user_dev.c | 12
drivers/net/virtio/virtio_user/virtio_user_dev.h | 2 +-
drivers/
Currently we will check mempool flags when we put/get objects from
mempool. However, this makes cache useless when mempool is SC|SP,
SC|MP, MC|SP cases.
This patch makes cache available in above cases and improves performance.
Signed-off-by: Wenfeng Liu
---
lib/librte_mempool/rte_mempool.h | 26
Currently we will check mempool flags when we put/get objects from
mempool. However, this makes cache useless when mempool is SC|SP,
SC|MP, MC|SP cases.
This patch makes cache available in above cases and improves performance.
Signed-off-by: Wenfeng Liu
---
lib/librte_mempool/rte_mempool.h | 25
Currently we will check mempool flags when we put/get objects from
mempool. However, this makes cache useless when mempool is SC|SP,
SC|MP, MC|SP cases.
This patch makes cache available in above cases and improves performance.
---
lib/librte_mempool/rte_mempool.h | 25 ++---
1
We put objects to cache when the mempool is multiple producer, however the
cache will not be used when it is single consumer.
With this patch we can get objects from cache when the single consumer is
happen to be one of the producers, and this improves performance.
Signed-off-by: Wenfeng Liu
ntel.com]
: 2015?6?17? 11:59
???: Wenfeng Liu
??: dev at dpdk.org
??: RE: [PATCH] kni: Passing task_pid_vnr(current) to get_net_ns_by_pid()
in kni_ioctl_create()
> -Original Message-----
> From: Wenfeng Liu [mailto:liuwf at arraynetworks.com.cn]
> Sent: Monday, June 15, 2015 12:
#x27;s
virtual PID instead of current->pid.
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
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
19 matches
Mail list logo