-
Notifications
You must be signed in to change notification settings - Fork 148
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
Add support for allmulticast flag #268
Add support for allmulticast flag #268
Conversation
Pull Request Test Coverage Report for Build 5323513802
💛 - Coveralls |
@SchSeba, @adrianchiris, could you please take a look a this? |
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.
Add new parameter to docs/configuration-reference.md
Also to README.md |
25d662f
to
9bcc0f8
Compare
@cgoncalves, done |
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.
LGTM
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.
LGTM
9bcc0f8
to
dda19ac
Compare
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.
LGTM just a small nic in the documentation and we should be good to go.
nice work!
docs/configuration-reference.md
Outdated
@@ -13,6 +13,7 @@ The SR-IOV CNI configures networks through a CNI spec configuration object. In a | |||
* `mac` (string, optional): MAC address to assign for the VF | |||
* `spoofchk` (string, optional): turn packet spoof checking on or off for the VF | |||
* `trust` (string, optional): turn trust setting on or off for the VF | |||
* `all_multicast` (string, optional): turn allmulticast setting on or off for the VF. Trust setting must be enabled when this setting is on. |
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.
also comment here that this will work only for kernel drivers and not userspace ones
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.
done
dda19ac
to
ad9bbe9
Compare
Thank you @SchSeba, I addressed your comment. |
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.
LGTM
Hi @mlguerrero12 can you please fix the test? |
ad9bbe9
to
d4a0369
Compare
Hi @Eoghan1232, could you please review this? |
This allows users to set the allmulticast mode for a VF. Signed-off-by: Marcelo Guerrero <marguerr@redhat.com>
d4a0369
to
50701a0
Compare
@adrianchiris, I addressed your comments. Thank you. |
thanks for addressing ! |
@mlguerrero12 @SchSeba i see that tuning CNI supports setting all multicast. https://github.com/containernetworking/cni.dev/blob/main/content/plugins/current/meta/tuning.md started to think if we really need it part of sriov-cni ? as all multicast is general for netdev no nessecarily for VF and tuning CNI already supports it. |
This allows users to set the allmulticast mode for a VF.