Re: [PATCH][net-next] net: ip tos cgroup

2018-04-25 Thread kbuild test robot
Hi Li, Thank you for the patch! Yet something to improve: [auto build test ERROR on net/master] [also build test ERROR on v4.17-rc2 next-20180424] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: 答复: [PATCH][net-next] net: ip tos cgroup

2018-04-19 Thread David Miller
From: "Li,Rongqing" Date: Thu, 19 Apr 2018 04:56:09 + > I think this method is easier to use than BPF, and more efficient Ease of use is arguable, but for anything bpf this is going to steadily improve over time therefore it is not much of an argument against using

答复: [PATCH][net-next] net: ip tos cgroup

2018-04-18 Thread Li,Rongqing
> -邮件原件- > 发件人: Daniel Borkmann [mailto:dan...@iogearbox.net] > 发送时间: 2018年4月17日 22:11 > 收件人: Li,Rongqing <lirongq...@baidu.com> > 抄送: netdev@vger.kernel.org; t...@kernel.org; a...@fb.com; > bra...@fb.com > 主题: Re: [PATCH][net-next] net: ip tos cgroup >

Re: [PATCH][net-next] net: ip tos cgroup

2018-04-17 Thread Daniel Borkmann
On 04/17/2018 05:36 AM, Li RongQing wrote: > ip tos segment can be changed by setsockopt(IP_TOS), or by iptables; > this patch creates a new method to change socket tos segment of > processes based on cgroup > > The usage: > > 1. mount ip_tos cgroup, and setting tos value > mount -t

[PATCH][net-next] net: ip tos cgroup

2018-04-16 Thread Li RongQing
ip tos segment can be changed by setsockopt(IP_TOS), or by iptables; this patch creates a new method to change socket tos segment of processes based on cgroup The usage: 1. mount ip_tos cgroup, and setting tos value mount -t cgroup -o ip_tos ip_tos /cgroups/tos echo tos_value