diff --git a/tests/aspell.en.pws b/tests/aspell.en.pws index ec357f88bbf0..25b08f831ae5 100644 --- a/tests/aspell.en.pws +++ b/tests/aspell.en.pws @@ -69,6 +69,7 @@ FDBs filename FIXME FlexCounter +genetlink getInstance getSwitchId getVid @@ -111,10 +112,12 @@ metadata mlnx mpls MTU +multicast mutex mutexes namespace namespaces +netdev NHG nhgm nlog diff --git a/vslib/src/sai_vs_hostintf.cpp b/vslib/src/sai_vs_hostintf.cpp index 089193c630c8..718dcd3e48fd 100644 --- a/vslib/src/sai_vs_hostintf.cpp +++ b/vslib/src/sai_vs_hostintf.cpp @@ -1122,6 +1122,16 @@ sai_status_t vs_create_hostif_tap_interface( return SAI_STATUS_FAILURE; } + /* The genetlink host interface is created to associate trap group to genetlink family and multicast group + * created by driver. It does not create any netdev interface. Hence skipping tap interface creation + */ + if (attr_type->value.s32 == SAI_HOSTIF_TYPE_GENETLINK) + { + SWSS_LOG_DEBUG("Skipping tap create for hostif type genetlink"); + + return SAI_STATUS_SUCCESS; + } + if (attr_type->value.s32 != SAI_HOSTIF_TYPE_NETDEV) { SWSS_LOG_ERROR("only SAI_HOSTIF_TYPE_NETDEV is supported");