Displaying 20 results from an estimated 5000 matches similar to: "error in loading vhost_net module"
2009 Nov 02
1
[PATCHv6 1/3] tun: export underlying socket
Tun device looks similar to a packet socket
in that both pass complete frames from/to userspace.
This patch fills in enough fields in the socket underlying tun driver
to support sendmsg/recvmsg operations, and message flags
MSG_TRUNC and MSG_DONTWAIT, and exports access to this socket
to modules. Regular read/write behaviour is unchanged.
This way, code using raw sockets to inject packets
into
2009 Nov 02
1
[PATCHv6 1/3] tun: export underlying socket
Tun device looks similar to a packet socket
in that both pass complete frames from/to userspace.
This patch fills in enough fields in the socket underlying tun driver
to support sendmsg/recvmsg operations, and message flags
MSG_TRUNC and MSG_DONTWAIT, and exports access to this socket
to modules. Regular read/write behaviour is unchanged.
This way, code using raw sockets to inject packets
into
2009 Nov 04
0
[PATCHv8 1/3] tun: export underlying socket
Tun device looks similar to a packet socket
in that both pass complete frames from/to userspace.
This patch fills in enough fields in the socket underlying tun driver
to support sendmsg/recvmsg operations, and message flags
MSG_TRUNC and MSG_DONTWAIT, and exports access to this socket
to modules. Regular read/write behaviour is unchanged.
This way, code using raw sockets to inject packets
into
2009 Nov 04
0
[PATCHv8 1/3] tun: export underlying socket
Tun device looks similar to a packet socket
in that both pass complete frames from/to userspace.
This patch fills in enough fields in the socket underlying tun driver
to support sendmsg/recvmsg operations, and message flags
MSG_TRUNC and MSG_DONTWAIT, and exports access to this socket
to modules. Regular read/write behaviour is unchanged.
This way, code using raw sockets to inject packets
into
2009 Nov 03
1
[PATCHv7 1/3] tun: export underlying socket
Tun device looks similar to a packet socket
in that both pass complete frames from/to userspace.
This patch fills in enough fields in the socket underlying tun driver
to support sendmsg/recvmsg operations, and message flags
MSG_TRUNC and MSG_DONTWAIT, and exports access to this socket
to modules. Regular read/write behaviour is unchanged.
This way, code using raw sockets to inject packets
into
2009 Nov 03
1
[PATCHv7 1/3] tun: export underlying socket
Tun device looks similar to a packet socket
in that both pass complete frames from/to userspace.
This patch fills in enough fields in the socket underlying tun driver
to support sendmsg/recvmsg operations, and message flags
MSG_TRUNC and MSG_DONTWAIT, and exports access to this socket
to modules. Regular read/write behaviour is unchanged.
This way, code using raw sockets to inject packets
into
2023 May 05
0
[PATCH] vhost_net: Use fdget() and fdput()
On Fri, May 5, 2023 at 2:24?PM <ye.xingchen at zte.com.cn> wrote:
>
> From: Ye Xingchen <ye.xingchen at zte.com.cn>
>
> convert the fget()/fput() uses to fdget()/fdput().
What's the advantages of this?
Thanks
>
> Signed-off-by: Ye Xingchen <ye.xingchen at zte.com.cn>
> ---
> drivers/vhost/net.c | 10 +++++-----
> 1 file changed, 5 insertions(+),
2023 May 05
0
[PATCH] vhost_net: Use fdget() and fdput()
On Fri, May 05, 2023 at 04:41:55PM +0800, ye xingchen wrote:
> >>
> >> From: Ye Xingchen <ye.xingchen at zte.com.cn>
> >>
> >> convert the fget()/fput() uses to fdget()/fdput().
> >What's the advantages of this?
> >
> >Thanks
> >>
> >> Signed-off-by: Ye Xingchen <ye.xingchen at zte.com.cn>
> >> ---
2023 May 11
0
[PATCH] vhost_net: Use fdget() and fdput()
On Fri, May 05, 2023 at 02:24:04PM +0800, ye.xingchen at zte.com.cn wrote:
> From: Ye Xingchen <ye.xingchen at zte.com.cn>
>
> convert the fget()/fput() uses to fdget()/fdput().
>
> Signed-off-by: Ye Xingchen <ye.xingchen at zte.com.cn>
> ---
> drivers/vhost/net.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git
2018 Sep 06
0
[PATCH net-next 08/11] tun: switch to new type of msg_control
This patch introduces to a new tun/tap specific msg_control:
#define TUN_MSG_UBUF 1
#define TUN_MSG_PTR 2
struct tun_msg_ctl {
int type;
void *ptr;
};
This allows us to pass different kinds of msg_control through
sendmsg(). The first supported type is ubuf (TUN_MSG_UBUF) which will
be used by the existed vhost_net zerocopy code. The second is XDP
buff, which allows vhost_net to
2018 Sep 06
1
[PATCH net-next 08/11] tun: switch to new type of msg_control
On Thu, Sep 06, 2018 at 12:05:23PM +0800, Jason Wang wrote:
> This patch introduces to a new tun/tap specific msg_control:
>
> #define TUN_MSG_UBUF 1
> #define TUN_MSG_PTR 2
> struct tun_msg_ctl {
> int type;
> void *ptr;
> };
>
> This allows us to pass different kinds of msg_control through
> sendmsg(). The first supported type is ubuf
2018 Mar 09
2
[PATCH net] vhost_net: examine pointer types during un-producing
After commit 761876c857cb ("tap: XDP support"), we can actually
queueing XDP pointers in the pointer ring, so we should examine the
pointer type before freeing the pointer.
Fixes: 761876c857cb ("tap: XDP support")
Reported-by: Michael S. Tsirkin <mst at redhat.com>
Signed-off-by: Jason Wang <jasowang at redhat.com>
---
drivers/net/tun.c | 3 ++-
2005 May 02
1
[PATCH] config_xen0_tun.patch
QEMU needs CONFIG_TUN to enable networking.
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
--- 1.56/linux-2.6.11-xen-sparse/arch/xen/configs/xen0_defconfig_x86_32 2005-04-13 15:38:59 -07:00
+++ edited/xen0_defconfig_x86_32 2005-05-02 13:18:14 -07:00
@@ -598,7 +598,7 @@
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
#
2009 Apr 21
0
joined R-today [SELinux]
Redhat's Security Enhanced Linux (in some modes)
generates messages like that when code in a shared library
is not compiled to have position independent code.
I.e., the -fpic or -fPIC flag was not supplied when
compiling. Your build log showed that -fpic was used
when compiling your code, but the 3rd party library,
libnetcdf.a may not have been compiled this way.
The command
2013 Mar 13
1
vhost questions.
OK, I've been trying to read the vhost and vhost net code, and I'm
struggling with basic questions.
1) Why do we allow userspace to change an already-set-up vhost device?
Why not have:
open()
ioctl(VHOST_GET_FEATURES)
ioctl(VHOST_SET_VRING) x n (sets num, addresses, kick/call/err fds)
ioctl(VHOST_NET_SETUP)
...
close()
You're not
2013 Mar 13
1
vhost questions.
OK, I've been trying to read the vhost and vhost net code, and I'm
struggling with basic questions.
1) Why do we allow userspace to change an already-set-up vhost device?
Why not have:
open()
ioctl(VHOST_GET_FEATURES)
ioctl(VHOST_SET_VRING) x n (sets num, addresses, kick/call/err fds)
ioctl(VHOST_NET_SETUP)
...
close()
You're not
2013 Jan 29
1
Cron job based on gateway
Hi
Is there a way for puppet to create cron job on each of my node based on my
gateway''s IP ?
bala@bala-desktop:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.0.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0
2013 May 16
3
vim-puppet syntax highlight
Hi
I am trying to install vim-puppet for syntax highlight of puppet manifest
file. I first installed vim-puppet and then vim. Then I ran
"vim-addon-manager -w install puppet" I am still unable to see the colours
on site.pp
bala@WheezyMaster:~$ vim-addon-manager
# Name User Status System Status
editexisting removed removed
justify
2017 Mar 21
12
[PATCH net-next 0/8] vhost-net rx batching
Hi all:
This series tries to implement rx batching for vhost-net. This is done
by batching the dequeuing from skb_array which was exported by
underlayer socket and pass the sbk back through msg_control to finish
userspace copying.
Tests shows at most 19% improvment on rx pps.
Please review.
Thanks
Jason Wang (8):
ptr_ring: introduce batch dequeuing
skb_array: introduce batch dequeuing
2017 Mar 21
12
[PATCH net-next 0/8] vhost-net rx batching
Hi all:
This series tries to implement rx batching for vhost-net. This is done
by batching the dequeuing from skb_array which was exported by
underlayer socket and pass the sbk back through msg_control to finish
userspace copying.
Tests shows at most 19% improvment on rx pps.
Please review.
Thanks
Jason Wang (8):
ptr_ring: introduce batch dequeuing
skb_array: introduce batch dequeuing