linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] net: sched: sch_netem: Refactor code in 4-state loss generator
       [not found] <20211112071447.19498-1-harshit.m.mogalapalli@oracle.com>
@ 2021-11-12 16:12 ` Stephen Hemminger
       [not found]   ` <BL0PR10MB2770D3AB750A2318B983AE47C2959@BL0PR10MB2770.namprd10.prod.outlook.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2021-11-12 16:12 UTC (permalink / raw)
  To: Harshit Mogalapalli
  Cc: Jamal Hadi Salim, Cong Wang, Jiri Pirko, David S. Miller,
	Jakub Kicinski, netdev, linux-kernel, yangyingliang

On Thu, 11 Nov 2021 23:14:47 -0800
Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> wrote:

> Fixed comments to match description with variable names and
> refactored code to match the convention as per [1].
> [1] S. Salsano, F. Ludovici, A. Ordine, "Definition of a general
> and intuitive loss model for packet networks and its implementation
> in the Netem module in the Linux kernel"
> 
> Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>

I wonder if this was changed accidently by this commit
Commit: a6e2fe17eba4 ("sch_netem: replace magic numbers with enumerate")
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [External] : Re: [PATCH] net: sched: sch_netem: Refactor code in 4-state loss generator
       [not found]   ` <BL0PR10MB2770D3AB750A2318B983AE47C2959@BL0PR10MB2770.namprd10.prod.outlook.com>
@ 2021-11-12 19:24     ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2021-11-12 19:24 UTC (permalink / raw)
  To: Harshit Mogalapalli
  Cc: Jamal Hadi Salim, Cong Wang, Jiri Pirko, David S. Miller,
	Jakub Kicinski, netdev, linux-kernel, yangyingliang

On Fri, 12 Nov 2021 17:57:08 +0000
Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> wrote:

> Hi Stephen,
> 
> Yes, you are correct.
> 
> To match the convention mapping should be like this instead:
> 
> State 3 ---> LOST_IN_BURST_PERIOD
> State 4 ---> LOST_IN_GAP_PERIOD
> 
> 
> Thanks,
> Harshit
> ________________________________
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Friday, November 12, 2021 9:42 PM
> To: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
> Cc: Jamal Hadi Salim <jhs@mojatatu.com>; Cong Wang <xiyou.wangcong@gmail.com>; Jiri Pirko <jiri@resnulli.us>; David S. Miller <davem@davemloft.net>; Jakub Kicinski <kuba@kernel.org>; netdev@vger.kernel.org <netdev@vger.kernel.org>; linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>; yangyingliang@huawei.com <yangyingliang@huawei.com>
> Subject: [External] : Re: [PATCH] net: sched: sch_netem: Refactor code in 4-state loss generator
> 
> On Thu, 11 Nov 2021 23:14:47 -0800
> Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> wrote:
> 
> > Fixed comments to match description with variable names and
> > refactored code to match the convention as per [1].
> > [1] S. Salsano, F. Ludovici, A. Ordine, "Definition of a general
> > and intuitive loss model for packet networks and its implementation
> > in the Netem module in the Linux kernel"
> >
> > Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>  
> 
> I wonder if this was changed accidently by this commit
> Commit: a6e2fe17eba4 ("sch_netem: replace magic numbers with enumerate")
> 

Could you resend with updated commit message and Fixes tag?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-12 19:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20211112071447.19498-1-harshit.m.mogalapalli@oracle.com>
2021-11-12 16:12 ` [PATCH] net: sched: sch_netem: Refactor code in 4-state loss generator Stephen Hemminger
     [not found]   ` <BL0PR10MB2770D3AB750A2318B983AE47C2959@BL0PR10MB2770.namprd10.prod.outlook.com>
2021-11-12 19:24     ` [External] : " Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).