netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] net: improve vxlan option process in net_sched and lwtunnel
@ 2020-09-13 11:51 Xin Long
  2020-09-13 11:51 ` [PATCH net 1/2] net: sched: only keep the available bits when setting vxlan md->gbp Xin Long
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Xin Long @ 2020-09-13 11:51 UTC (permalink / raw)
  To: network dev; +Cc: davem, Jamal Hadi Salim, Cong Wang, Jiri Pirko

This patch is to do some mask when setting vxlan option in net_sched
and lwtunnel, so that only available bits can be set on vxlan md gbp.

This would help when users don't know exactly vxlan's gbp bits, and
avoid some mismatch because of some unavailable bits set by users.

Xin Long (2):
  net: sched: only keep the available bits when setting vxlan md->gbp
  lwtunnel: only keep the available bits when setting vxlan md->gbp

 include/net/vxlan.h        | 3 +++
 net/ipv4/ip_tunnel_core.c  | 1 +
 net/sched/act_tunnel_key.c | 1 +
 net/sched/cls_flower.c     | 4 +++-
 4 files changed, 8 insertions(+), 1 deletion(-)

-- 
2.1.0


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

end of thread, other threads:[~2020-09-14 23:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-13 11:51 [PATCH net 0/2] net: improve vxlan option process in net_sched and lwtunnel Xin Long
2020-09-13 11:51 ` [PATCH net 1/2] net: sched: only keep the available bits when setting vxlan md->gbp Xin Long
2020-09-13 11:51 ` [PATCH net 2/2] lwtunnel: " Xin Long
2020-09-14 23:52 ` [PATCH net 0/2] net: improve vxlan option process in net_sched and lwtunnel David Miller

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