diff mbox series

[ovs-dev,04/22] ovsdb: jsonrpc-server: Fix the DSCP value in default options.

Message ID 20231214010431.1664005-5-i.maximets@ovn.org
State Accepted
Commit e951af81cbfb09338a96f567867548f825c5f6ff
Delegated to: Ilya Maximets
Headers show
Series [ovs-dev,01/22] ovsdb-server.at: Enbale debug logs in active-backup tests. | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed
ovsrobot/intel-ovs-compilation success test: success

Commit Message

Ilya Maximets Dec. 14, 2023, 1:04 a.m. UTC
The DSCP_DEFAULT is not zero and is a value that supposed
to be used for all connections by default.

Fixes: f125905cdd3d ("Allow configuring DSCP on controller and manager connections.")
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
---
 ovsdb/jsonrpc-server.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Mike Pattrick Jan. 2, 2024, 3:48 p.m. UTC | #1
On Wed, Dec 13, 2023 at 8:05 PM Ilya Maximets <i.maximets@ovn.org> wrote:
>
> The DSCP_DEFAULT is not zero and is a value that supposed
> to be used for all connections by default.
>
> Fixes: f125905cdd3d ("Allow configuring DSCP on controller and manager connections.")
> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>

Acked-by: Mike Pattrick <mkp@redhat.com>
diff mbox series

Patch

diff --git a/ovsdb/jsonrpc-server.c b/ovsdb/jsonrpc-server.c
index a3ca48a7b..45f7c8038 100644
--- a/ovsdb/jsonrpc-server.c
+++ b/ovsdb/jsonrpc-server.c
@@ -215,6 +215,7 @@  ovsdb_jsonrpc_default_options(const char *target)
     options->probe_interval = (stream_or_pstream_needs_probes(target)
                                ? RECONNECT_DEFAULT_PROBE_INTERVAL
                                : 0);
+    options->dscp = DSCP_DEFAULT;
     return options;
 }