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

mctp command: add route range support #58

Open
jk-ozlabs opened this issue Jan 8, 2025 · 2 comments
Open

mctp command: add route range support #58

jk-ozlabs opened this issue Jan 8, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@jk-ozlabs
Copy link
Member

The MCTP netlink interface allows for a range of EIDs in a route, but the mctp tool has no way to specify a "ranged" route.

Main design component is how the command-line route add interface specifies this. Current route add syntax is:

mctp route add <eid> via <dev> [mtu <mtu>]

And a couple of options:

mctp route add <eid> [to <eid>] via <dev> [mtu <mtu>]

or

mctp route add <eid>[-<eid>] via <dev> [mtu <mtu>]

or any others?

@jk-ozlabs jk-ozlabs added the enhancement New feature or request label Jan 8, 2025
@amboar
Copy link
Contributor

amboar commented Jan 8, 2025

<eid>[-<eid>] IMO

@jk-ozlabs
Copy link
Member Author

@mkj mentions that the to syntax has a different meaning in ip route, so let's discount that and go with <eid>-<eid>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants