netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] Add IP_DSCP_MASK and fix vxlan tos value before xmit
@ 2020-08-03  8:02 Hangbin Liu
  2020-08-03  8:02 ` [PATCH net-next 1/2] net: add IP_DSCP_MASK Hangbin Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Hangbin Liu @ 2020-08-03  8:02 UTC (permalink / raw)
  To: netdev
  Cc: Guillaume Nault, Petr Machata, David S . Miller, Roopa Prabhu,
	David Ahern, Eelco Chaudron, Hangbin Liu

This patch set is aim to update the old IP_TOS_MASK to new IP_DSCP_MASK
as tos value has been obsoleted for a long time. But to make sure we don't
break any existing behaviour, we can't just replease all IP_TOS_MASK
to new IP_DSCP_MASK.

So let's update it case by case. The first issue we will fix is that vxlan
is unable to take the first 3 bits from DSCP field before xmit. Use the
new RT_DSCP() would resolve this.

Hangbin Liu (2):
  net: add IP_DSCP_MASK
  vxlan: fix getting tos value from DSCP field

 drivers/net/vxlan.c           | 4 ++--
 include/uapi/linux/in_route.h | 1 +
 include/uapi/linux/ip.h       | 2 ++
 3 files changed, 5 insertions(+), 2 deletions(-)

-- 
2.25.4


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

end of thread, other threads:[~2020-08-05  2:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-03  8:02 [PATCH net-next 0/2] Add IP_DSCP_MASK and fix vxlan tos value before xmit Hangbin Liu
2020-08-03  8:02 ` [PATCH net-next 1/2] net: add IP_DSCP_MASK Hangbin Liu
2020-08-03  9:26   ` Guillaume Nault
2020-08-03  8:02 ` [PATCH net-next 2/2] vxlan: fix getting tos value from DSCP field Hangbin Liu
2020-08-03  9:30   ` Guillaume Nault
2020-08-04  1:43 ` [PATCHv2 net 0/2] Add IP_DSCP_MASK and fix vxlan tos value before xmit Hangbin Liu
2020-08-04  1:43   ` [PATCHv2 net 1/2] net: add IP_DSCP_MASK Hangbin Liu
2020-08-04  1:43   ` [PATCHv2 net 2/2] vxlan: fix getting tos value from DSCP field Hangbin Liu
2020-08-04 19:47     ` David Miller
2020-08-05  2:20       ` Hangbin Liu
2020-08-04  7:47   ` [PATCHv2 net 0/2] Add IP_DSCP_MASK and fix vxlan tos value before xmit Guillaume Nault

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).