diff options
author | Monendra Singh Kushwaha <kmonendra@marvell.com> | 2024-09-23 15:10:10 +0530 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2024-09-24 10:15:42 +0000 |
commit | 02598d7c0c7acde2340af68392ea464d7dd436b2 (patch) | |
tree | 82b0bac81c784548ff2d2f4917470e8966dd5723 | |
parent | bf0a6f8876dfb5e748e3786714595d6817a573ec (diff) |
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 <kmonendra@marvell.com>
-rw-r--r-- | src/plugins/dev_octeon/port.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |