-
Notifications
You must be signed in to change notification settings - Fork 63
Add: Add to GStreamer lcore mask support #1119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
b63a4df
to
e1b4535
Compare
- Add lcore masking support to allow users to specify the lcores the MTL plugin can use. This is useful for scenarios with isolated lcores. - Fix missing port and PTP arguments in gst common get arguments.
e1b4535
to
4f683fc
Compare
|
||
g_object_class_install_property( | ||
gobject_class, PROP_GENERAL_LCORE_MASK, | ||
g_param_spec_string("lcore-mask", "dpdk core mask", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
naming this "mask" suggests that it should be used like --lcore-mask 00101
or even with single number like --lcore-mask 20
(representing binary mask as single number), but it should be used like --lcore-list 2,4
. Consider renaming it.
@@ -64,6 +65,7 @@ typedef struct GeneralArgs { | |||
gchar dma_dev[MTL_PORT_MAX_LEN]; | |||
gint log_level; | |||
gboolean enable_onboard_ptp; | |||
gchar lcore_mask[MTL_PORT_MAX_LEN]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we set all the arrays length to MTL_PORT_MAX_LEN? It is very confusing.
ad5a776
to
fdfec3d
Compare
- Mtl parses the lcore list but adds the main lcore to the list. This is not described anywhere and should be corrected.
fdfec3d
to
33fa269
Compare
Add lcore masking support to allow users to specify the lcores the MTL plugin can use. This is useful for scenarios with isolated lcores.
Fix missing port and PTP arguments in gst common get arguments.