Skip to content
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

Expose rte_eth_dev_set_mc_addr_list function into capsule runtime to filter specific MC addresses #150

Open
sbuzzard opened this issue Feb 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@sbuzzard
Copy link

sbuzzard commented Feb 26, 2022

What's desired

We have an application which proxies certain IPV4 multicast inputs to IPV6 DEPI (Downstream External PHY Interface) using DPDK via capsule. For performance reasons, we would like to filter the specific set of multicast addresses we're interested, ideally by DPDK rather than in our application code, for performance reasons. We're using multicast = true which, as you know, means all multicast traffic. DPDK provides the function, rte_eth_dev_set_mc_addr_list, which is implemented by the driver we're using. This is publically available in the capsule-ffi; however, it takes a u16 port_id and that is not accessible from the capsule lib (PortId is capsule/core/ffi crate private and in addition, that struct's u16 member is private to the core/ffi module.that would like to filter specific sets of multicast addresses).

Work around / alternatives

We can query for the port id using the rte function to get it from the port name, which we are doing, but an public abstraction in capsule for the mc filter would be great if it makes sense.

Appreciate all that you do. Let me know if you need more information!

@sbuzzard sbuzzard added the enhancement New feature or request label Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant