Re: [PATCH net-next] net/sched: add act_ct_output support

2020-08-28 Thread Cong Wang
On Tue, Aug 25, 2020 at 1:45 AM wrote: > > From: wenxu > > The fragment packets do defrag in act_ct module. If the reassembled > packet should send out to another net device. This over mtu big packet > should be fragmented to send out. This patch add the act ct_output to > archive this. There ar

Re: [PATCH net-next] net/sched: add act_ct_output support

2020-08-28 Thread Cong Wang
On Tue, Aug 25, 2020 at 8:33 AM Marcelo Ricardo Leitner wrote: > I still don't understand Cong's argument for not having this on > act_mirred because TC is L2. That's actually not right. TC hooks at L2 You miss a very important point that it is already too late to rename act_mirred to reflect wha

Re: [PATCH net-next] net/sched: add act_ct_output support

2020-08-27 Thread Marcelo Ricardo Leitner
On Thu, Aug 27, 2020 at 11:30:54AM +0800, wenxu wrote: ... > So only othersolution for solving this problem? Lets wait for Cong's input. LPC is happening and he had a talk there. Marcelo

Re: [PATCH net-next] net/sched: add act_ct_output support

2020-08-26 Thread wenxu
On 8/25/2020 11:33 PM, Marcelo Ricardo Leitner wrote: > On Tue, Aug 25, 2020 at 02:07:43PM +0800, we...@ucloud.cn wrote: > ... >> +static LIST_HEAD(ct_output_list); >> +static DEFINE_SPINLOCK(ct_output_list_lock); >> + >> +#define CT_OUTPUT_RECURSION_LIMIT4 >> +static DEFINE_PER_CPU(unsigned

Re: [PATCH net-next] net/sched: add act_ct_output support

2020-08-26 Thread David Miller
From: we...@ucloud.cn Date: Tue, 25 Aug 2020 14:07:43 +0800 > From: wenxu > > The fragment packets do defrag in act_ct module. If the reassembled > packet should send out to another net device. This over mtu big packet > should be fragmented to send out. This patch add the act ct_output to > arc

Re: [PATCH net-next] net/sched: add act_ct_output support

2020-08-25 Thread Marcelo Ricardo Leitner
On Tue, Aug 25, 2020 at 02:07:43PM +0800, we...@ucloud.cn wrote: ... > +static LIST_HEAD(ct_output_list); > +static DEFINE_SPINLOCK(ct_output_list_lock); > + > +#define CT_OUTPUT_RECURSION_LIMIT4 > +static DEFINE_PER_CPU(unsigned int, ct_output_rec_level); Wenxu, first of all, thanks for doing

[PATCH net-next] net/sched: add act_ct_output support

2020-08-24 Thread wenxu
From: wenxu The fragment packets do defrag in act_ct module. If the reassembled packet should send out to another net device. This over mtu big packet should be fragmented to send out. This patch add the act ct_output to archive this. Signed-off-by: wenxu --- include/net/tc_act/tc_ct_output.h