Skip to content

fix: renaming tunnel interfaces#67

Merged
demo-exe merged 5 commits intomainfrom
mzyla/fix_statsegment2
Sep 19, 2025
Merged

fix: renaming tunnel interfaces#67
demo-exe merged 5 commits intomainfrom
mzyla/fix_statsegment2

Conversation

@demo-exe
Copy link
Contributor

No description provided.

@demo-exe
Copy link
Contributor Author

also included changes from #66
but the issue was still happening hence the rest of changes

@td2501
Copy link
Contributor

td2501 commented Sep 18, 2025

GRE and VXLAN are not the only tunnel interface types that uses common node. There is for example GTPU that sets common output node. We might use some of those modes in the future.

+ vnet_get_device_class (vnm, hw->dev_class_index);
+
+ /* only rename nodes of non-tunnel ifaces */
+ if (!dev_class->has_common_nodes)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this check should replace

if (dev_class->tx_function)

in vnet_delete_hw_interface. To avoid entering reuse pool at all.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, I could went the other way around and used tx function here

@demo-exe demo-exe merged commit 5ec5708 into main Sep 19, 2025
3 checks passed
@demo-exe demo-exe deleted the mzyla/fix_statsegment2 branch September 19, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants