diff options
author | Nobuhiro MIKI <nmiki@yahoo-corp.jp> | 2023-03-06 11:49:19 +0900 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2023-03-07 19:16:20 +0100 |
commit | 49e534cd3764e853f70f01b63196f320c9a5790e (patch) | |
tree | 1e2e6d5a82a500fa01853327c0aaa5be1f42c0cd /NEWS | |
parent | b801f1aa001cf0537cc64b268a49c7988b78cbf5 (diff) | |
download | openvswitch-49e534cd3764e853f70f01b63196f320c9a5790e.tar.gz |
route-table: Retrieving the preferred source address from Netlink.
We can use the "ip route add ... src ..." command to set the preferred
source address for each entry in the kernel FIB. OVS has a mechanism to
cache the FIB, but the preferred source address is ignored and
calculated with its own logic. This patch resolves the difference
between kernel FIB and OVS route table cache by retrieving the
RTA_PREFSRC attribute of Netlink messages.
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Nobuhiro MIKI <nmiki@yahoo-corp.jp>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6,6 +6,8 @@ Post-v3.1.0 * OVS now collects per-interface upcall statistics that can be obtained via 'ovs-appctl dpctl/show -s' or the interface's statistics column in OVSDB. Available with upstream kernel 6.2+. + - OVS route table in userspace now takes into account preferred source + address from cached kernel routes. - ovs-appctl: * Add support for selecting the source address with the 'ovs-appctl ovs/route/add' command. |