aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/pg/pg.h
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2024-10-03 23:18:17 +0000
committerBeno�t Ganne <bganne@cisco.com>2024-10-07 08:39:23 +0000
commit0b1bd9df33c02585e3be2fe048e5427b9574b699 (patch)
treebf3e5d8094eaf47d7ac56a094fc3a828ec7bbe4d /src/vnet/pg/pg.h
parent28955ceb8bb95ae05f5fce78ed3e9fec7e4bede6 (diff)
pg: add support to delete pg interface
Type: improvement Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: I3102fded415c644673fb79a0fdb7a7448ce20f26
Diffstat (limited to 'src/vnet/pg/pg.h')
-rw-r--r--src/vnet/pg/pg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/pg/pg.h b/src/vnet/pg/pg.h
index bede747428c..0e4b2868b6c 100644
--- a/src/vnet/pg/pg.h
+++ b/src/vnet/pg/pg.h
@@ -396,6 +396,8 @@ u32 pg_interface_add_or_get (pg_main_t *pg, u32 stream_index, u8 gso_enabled,
u32 gso_size, u8 coalesce_enabled,
pg_interface_mode_t mode);
+int pg_interface_delete (u32 sw_if_index);
+
always_inline pg_node_t *
pg_get_node (uword node_index)
{