From 02598d7c0c7acde2340af68392ea464d7dd436b2 Mon Sep 17 00:00:00 2001 From: Monendra Singh Kushwaha Date: Mon, 23 Sep 2024 15:10:10 +0530 Subject: octeon: fix SDP device link information This patch fixes SDP (System DPI Packet Interface Unit) device link information. Type: fix Change-Id: I4563094601d9bb24132e4dc712cde14daa7f4364 Signed-off-by: Monendra Singh Kushwaha --- src/plugins/dev_octeon/port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/dev_octeon/port.c b/src/plugins/dev_octeon/port.c index 8290880be31..6cf58fe1ebe 100644 --- a/src/plugins/dev_octeon/port.c +++ b/src/plugins/dev_octeon/port.c @@ -211,7 +211,7 @@ oct_port_poll (vlib_main_t *vm, vnet_dev_port_t *port) return; } - if (roc_nix_is_lbk (nix)) + if (roc_nix_is_lbk (nix) || roc_nix_is_sdp (nix)) { link_info.status = 1; link_info.full_duplex = 1; -- cgit 1.2.3-korg