Closed GoogleCodeExporter closed 8 years ago
Original comment by bltier...@es.net
on 12 Mar 2013 at 10:45
It turns out to be surprisingly difficult to find working examples of how to
set the Flow Label field. Really not very much in google. Maybe people aren't
doing much of this yet?
I did put in my best guess at how to do it, but tcpdump showed that the field
was not getting set.
Original comment by jef.posk...@gmail.com
on 3 Jun 2013 at 12:58
Could not figure out how to do this, so pushing this back a release. Can anyone
help figure this out?
Original comment by bltier...@es.net
on 23 Jul 2013 at 5:33
Hi,
I wrote a patch which enables flow label for ipv6 feature. It is only with TCP.
Original comment by susant.sahani
on 30 Nov 2013 at 1:57
Attachments:
Wow, that is much more complicated than I expected!
Original comment by jef.posk...@gmail.com
on 30 Nov 2013 at 2:35
HI there,
Well I am not sure is this the right way to submit the patches. Please let me know the process of submitting patches.
Thanks,
Susant
ssahani@redhat.com
Original comment by susant%redhat.com@gtempaccount.com
on 6 Dec 2013 at 5:34
that works great. Thanks!
Original comment by bltier...@es.net
on 6 Dec 2013 at 6:23
Thanks for submitting the patch!
One bit of feedback I have is that this patch, as-is, will break compiles on
non-Linux systems, or more exactly anything that doesn't support the
IPV6_FLOWLABEL_MGR and IPV6_FLOWINFO_SEND socket options (for example, among
the hosts that I work with, it would break compiles on FreeBSD and MacOS).
It'd make sense for these code changes to be conditionally compiled on Linux
systems only.
I haven't reviewed the patch for functionality yet.
Original comment by bmah@es.net
on 10 Dec 2013 at 12:02
Yes agree it should be only for linux . I did modified the patch to be linux specific so that the compilation should not break on other systems.
tested with $ ./iperf3 -c ::1 -L 24
Here is is captured packet dump
.... .... .... 0000 0000 0000 0001 1000 = Flowlabel: 0x00000018
Original comment by susant%redhat.com@gtempaccount.com
on 10 Dec 2013 at 10:30
Attachments:
I tested the second version of this patch and it seems to Do The Right Thing
(TM).
I don't have time to commit this right at the moment but hopefully within the
next day or two I'll take care of this.
Thanks for submitting this!
Note to self: Before committing, remember to uncomment the -L option in the
manpage and fix up a couple comments in iperf_api.c.
Original comment by bmah@es.net
on 12 Dec 2013 at 12:32
Committed a slightly modified version of the patch in 2ad1efdb977e.
Closing as fixed.
Original comment by bmah@es.net
on 12 Dec 2013 at 5:25
It only took me two tries to get this committed correctly. b6497ec1f4dd adds a
file I forgot to commit the first time.
Original comment by bmah@es.net
on 12 Dec 2013 at 5:38
Original issue reported on code.google.com by
andre.go...@gmail.com
on 15 Apr 2011 at 8:48