Skip to content

improve MACVLAN/MACVTAP support

Phil Sutter netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ip: link: consolidate macvlan and macvtapip/Makefile ip/iplink_macvlan.c ip/iplink_macvtap.c+28 -1190 replies
2/3ip: macvlan: support MACVLAN_FLAG_NOPROMISC flagip/iplink_macvlan.c+27 -30 replies
3/3man: ip-link: document MACVLAN/MACVTAP interface typesman/man8/ip-link.8.in+50 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [iproute PATCH 0/3] improve MACVLAN/MACVTAP support

While implementing support for MACVLAN_FLAG_NOPROMISC, I realized how similar iplink_macvlan.c and iplink_macvtap.c are and that the main differences (apart from substituting "macvlan" for "macvtap") were fixes and enhancements which weren't applied to both files. To prevent this in the future and to share common code, this series merges the files. In addition, it implements support for MACVLAN_FLAG_NOPROMISC and finally documents these interface types in ip-link.8.in.

Phil Sutter (3):
ip: link: consolidate macvlan and macvtap
ip: macvlan: support MACVLAN_FLAG_NOPROMISC flag
man: ip-link: document MACVLAN/MACVTAP interface types

 ip/Makefile           |   2 +-
 ip/iplink_macvlan.c   |  68 ++++++++++++++++++++++++--------
 ip/iplink_macvtap.c   | 105 --------------------------------------------------
 man/man8/ip-link.8.in |  50 ++++++++++++++++++++++++
 4 files changed, 104 insertions(+), 121 deletions(-)
 delete mode 100644 ip/iplink_macvtap.c
Signature · 1 line
2.1.2