Re: [PATCH bpf-next] bpf: fix load XDP program error in test_xdp_vlan

2020-08-12 Thread sdf
On 08/12, Jianlin Lv wrote: test_xdp_vlan.sh reports the error as below: $ sudo ./test_xdp_vlan_mode_native.sh + '[' -z xdp_vlan_mode_native ']' + XDP_MODE=xdpgeneric …… + export XDP_PROG=xdp_vlan_remove_outer2 + XDP_PROG=xdp_vlan_remove_outer2 + ip netns exec ns1 ip link set veth1 xdpdrv off

Re: WARNING: CPU: 1 PID: 52 at mm/page_alloc.c:4826 __alloc_pages_nodemask (Re: [PATCH 5/5] sysctl: pass kernel pointers to ->proc_handler)

2020-06-08 Thread sdf
On 06/08, Alexei Starovoitov wrote: On Mon, Jun 8, 2020 at 6:05 AM Christoph Hellwig wrote: > > On Mon, Jun 08, 2020 at 09:45:49AM +0200, Vegard Nossum wrote: > > Just a test case. > > > > Allowing the kernel to allocate an unbounded amount of memory on behalf > > of userspace is an easy

Re: [PATCH net-next] Extending bpf_setsockopt with SO_BINDTODEVICE sockopt

2020-05-21 Thread sdf
On 05/21, Ferenc Fejes wrote: This option makes possible to programatically bind sockets to netdevices. With the help of this option sockets of VRF unaware applications could be distributed between multiple VRFs with eBPF sock_ops program. This let the applications benefit from the multiple