Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Apr 2014 20:27:27 +0900
From:      Midori Kato <katoon@sfc.wide.ad.jp>
To:        hiren panchasara <hiren.panchasara@gmail.com>
Cc:        "Eggert, Lars" <lars@netapp.com>, "freebsd-net@freebsd.org" <net@freebsd.org>
Subject:   Re: DCTCP implementation
Message-ID:  <533D459F.8000403@sfc.wide.ad.jp>
In-Reply-To: <CALCpEUHvD3iUw3FjUL8NNm60nFG9DGmrp4iojRszGD4f2PhgLQ@mail.gmail.com>
References:  <5338FF05.1020302@sfc.wide.ad.jp> <CALCpEUHvD3iUw3FjUL8NNm60nFG9DGmrp4iojRszGD4f2PhgLQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Hiren,

Yes, I intentionally replace the location of DELAY_ACK() macro.
A DCTCP receiver sends an immediate ACK when incoming packets sets CE 
and non-CE bit by turns. To implement this processing, I prepare the 
cc_ecnpkt_handler() function. This function calls the DEKAY_ACK() macro 
to check if this packet is in delayed ack or not. This is why I replace 
the macro position.
Let me know if my explanation is not good enough.

Regards,
-- Midori

(4/3/14, 10:24 AM), hiren panchasara wrote:
> On Sun, Mar 30, 2014 at 10:37 PM, Midori Kato <katoon@sfc.wide.ad.jp> wrote:
>> Hi FreeBSD developpers,
>>
>> I'm Midori Kato. I'm working on the DCTCP implementation in the FreeBSD with
>> Lars Eggert. I mail you because I would like to ask you a code review and
>> testing. The attached patch is not good enough to test our code. Please give
>> me your message. I will send an ECN marking implmenetation in dummynet and
>> test scripts personally to you.
> Midori,
>
> First thing I noticed in your dctcp.patch is that you are dropping
> r256920 which adds a new argument tlen to DELAY_ACK() macro. I also
> see you removed and re-added that macro definition without any changes
> to it.
>
> Is that intentional? If not, can you please fix that and resend the patch?
>
> It is usually a good idea to work on -HEAD for such things so
> patching/committing is easier.
>
> cheers,
> Hiren
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?533D459F.8000403>