Hoi,
I have a need to read and write L2 input and output feature flags. I see
that we have an l2_flags() API call which can set the raw u32 for input
feature bitmap. We don't have a getter for this, and we are missing
get/set for output feature bitmap. I've also noticed that for
bridge_flags() we use an API enum to set the flags, which feels a bit
less brittle than directly writing the u32 feature_bitmap.
Take a look at https://gerrit.fd.io/r/c/vpp/+/44970 which add APIs for
input/output features and in particular the bridge-domain related
features for member interfaces, similar to how bridge_flags() does it
for the bridge-domain itself. The gerrit also adds a few tests for
get/set functionality. The 'l2_flags_set()' is a backwards compatible
API to l2_flags().
groet,
Pim
--
Pim van Pelt <[email protected]>
PBVP1-RIPE https://ipng.ch/
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#26827): https://lists.fd.io/g/vpp-dev/message/26827
Mute This Topic: https://lists.fd.io/mt/117892431/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-