* is SO_PRIORITY still supposed to affect the TOS field?
@ 2011-08-25 21:52 Rick Jones
0 siblings, 0 replies; only message in thread
From: Rick Jones @ 2011-08-25 21:52 UTC (permalink / raw)
To: netdev-u79uwXL29TY76Z2rM5mHXA
Cc: dave.taht-Re5JQEeQqe8AvxtiuMwx3w,
amirv-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb,
mkt.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA
Amir Vadai recently sent me some patches for netperf to implement
setting SO_PRIORITY. I made changes to netperf based on those patches,
(now in top of trunk on netperf.org) and between some emails with me,
him and Dave Taht and some quick messing around while watching tcpdump,
I'm wondering if this:
> SO_PRIORITY
> Set the protocol-defined priority for all packets to be sent on
> this socket. Linux uses this value to order the networking
> queues: packets with a higher priority may be processed first
> depending on the selected device queueing discipline. For
> ip(7), this also sets the IP type-of-service (TOS) field for
> outgoing packets. Setting a priority outside the range 0 to 6
> requires the CAP_NET_ADMIN capability.
from the socket(7) manpage is still accurate because even setting a
number of different values for SO_PRIORITY I didn't see the TOS field as
anything other than 0 in tcpdump output (confirming something Dave Taht
saw).
happy benchmarking,
rick jones
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-25 21:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-25 21:52 is SO_PRIORITY still supposed to affect the TOS field? Rick Jones
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).