Extend flush command to support VXLAN attributes
Status from this message: This series was applied to iproute2/iproute2-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 1 replyApplied
- v18 patches 8 repliesSuperseded
Changes in v2 from the cover letter
* Print 'nhid' instead of 'id' in the error in patch #3
* Use capital letters for 'ECMP' in man page in patch #3
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | bridge: fdb: rename some variables to contain 'brport'bridge/ | +10 | 0 replies | |
| 2/8 | bridge: fdb: support match on source VNI in flush commandbridge/ man/ | +19 | 0 replies | |
| 3/8 | bridge: fdb: support match on nexthop ID in flush commandbridge/ man/ | +16 | 1 reply | |
| 4/8 | bridge: fdb: support match on destination VNI in flush commandbridge/ man/ | +18 | 0 replies | |
| 5/8 | bridge: fdb: support match on destination port in flush commandbridge/ man/ | +28 | 0 replies | |
| 6/8 | bridge: fdb: support match on destination IP in flush commandbridge/ man/ | +20 | 0 replies | |
| 7/8 | bridge: fdb: support match on [no]router flag in flush commandbridge/ man/ | +15 | 0 replies | |
| 8/8 | man: bridge: add a note about using 'master' and 'self' with flushman/ | +5 | 0 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Nikolay Aleksandrov |
|---|---|
| 1/8 | A-b |
| 2/8 | A-b |
| 3/8 | A-b |
| 4/8 | A-b |
| 5/8 | A-b |
| 6/8 | A-b |
| 7/8 | A-b |
| 8/8 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH iproute2-next v2 0/8] Extend flush command to support VXLAN attributes
The merge commit f84e3f8cced9 ("Merge branch 'bridge-fdb-flush' into next") added support for fdb flushing.
The kernel was extended to support flush for VXLAN device, so the "bridge fdb flush" command should support new attributes.
Add support for flushing FDB entries based on the following:
* Source VNI
* Nexthop ID
* Destination VNI
* Destination Port
* Destination IP
* 'router' flag
With this set, flush works with attributes which are relevant for VXLAN FDBs, for example:
$ bridge fdb flush dev vx10 vni 5000 dst 192.2.2.1 < flush all vx10 entries with VNI 5000 and destination IP 192.2.2.1 >
There are examples for each attribute in the respective commit messages.
Patch set overview:
Patch #1 prepares the code for adding support for 'port' keyword Patches #2-#7 add support for new keywords in flush command Patch #8 adds a note in man page
v2:
* Print 'nhid' instead of 'id' in the error in patch #3
* Use capital letters for 'ECMP' in man page in patch #3
Amit Cohen (8):
bridge: fdb: rename some variables to contain 'brport'
bridge: fdb: support match on source VNI in flush command
bridge: fdb: support match on nexthop ID in flush command
bridge: fdb: support match on destination VNI in flush command
bridge: fdb: support match on destination port in flush command
bridge: fdb: support match on destination IP in flush command
bridge: fdb: support match on [no]router flag in flush command
man: bridge: add a note about using 'master' and 'self' with flush
bridge/fdb.c | 88 ++++++++++++++++++++++++++++++++++++++++------- man/man8/bridge.8 | 53 +++++++++++++++++++++++++++- 2 files changed, 127 insertions(+), 14 deletions(-)
Signature · 1 line
2.41.0