On 9/28/26 06:40, Wang Zhan wrote:
@@ -3922,6 +3926,11 @@ netdev_features_t netif_skb_features(struct sk_buff *skb)
return harmonize_features(skb, features);
}
+
+netdev_features_t netif_skb_features(struct sk_buff *skb)
+{
+ return __netif_skb_features(skb, true);
+}
EXPORT_SYMBOL(netif_skb_features);
Nit: I *think* that moving the above to an header file and exporting
__netif_skb_features() will generate better code, as the latter should
not be inlined (large functions with 2 callers in the same compilation
unit).
/P
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev