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

Add Virtual Function (VF) flags for SR-IOV Network Operator #18317

Closed
wants to merge 1 commit into from

Conversation

jboxman
Copy link
Contributor

@jboxman jboxman commented Nov 26, 2019

@jboxman jboxman added this to the Future Release milestone Nov 26, 2019
@jboxman jboxman self-assigned this Nov 26, 2019
@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 26, 2019
@openshift-docs-preview-bot

The preview will be available shortly at:

@jboxman
Copy link
Contributor Author

jboxman commented Nov 27, 2019

Need to take care, because of this: https://yaml.org/type/bool.html

@jboxman
Copy link
Contributor Author

jboxman commented Dec 4, 2019

@pliurh, this is an edited version of pliurh#4 for the docs.

_topic_map.yml Show resolved Hide resolved
modules/nw-sriov-configuring-device.adoc Show resolved Hide resolved
<8> Optional. Replace `<max_tx_rate>` with a maximum transmission rate, in Mbps, for the VF.
<9> Optional. Replace `<min_tx_rate>` with a minimum transmission rate, in Mbps, for the VF. This value should always be less than or equal to Maximum transmission rate.
+
NOTE: Intel NICs do not support the `minTxRate` parameter.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be good to link the note to corresponding bug so user knows the consequence (this will lead to config daemon failure ).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with Zenghui's comment about linking to existing but.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a link to this bug.

vlanQoS: <vlan_qos> <10>
spoofChk: "<spoof_check>" <11>
trust: "<trust_vf>" <12>
capabilities: <capabilities> <13>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall the format of capabilities be consistent with ipam ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated this.

spec:
networkNamespace: <target_namespace> <3>
ipam: |- <4>
...
vlan: <vlan> <5>
resourceName: <sriov_resource_name> <6>
linkState: <link_state> <7>
maxTxRate: <max_tx_rate> <8>
minTxRate: <mix_rx_rate> <9>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be <min_tx_rate>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it.

<8> Optional. Replace `<max_tx_rate>` with a maximum transmission rate, in Mbps, for the VF.
<9> Optional. Replace `<min_tx_rate>` with a minimum transmission rate, in Mbps, for the VF. This value should always be less than or equal to Maximum transmission rate.
+
NOTE: Intel NICs do not support the `minTxRate` parameter.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with Zenghui's comment about linking to existing but.

@jboxman
Copy link
Contributor Author

jboxman commented Dec 10, 2019

Hi @lamek,

@vikram-redhat suggested I hand this off to you to wrap up so that I can finalize a demo of the API docs generator this week.

Thanks!

@lamek lamek assigned lamek and unassigned jboxman Dec 12, 2019
@lamek
Copy link
Contributor

lamek commented Dec 12, 2019

@jboxman I got it.

Copy link
Contributor

@lamek lamek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I CPed this to a new PR here:
#19000

_topic_map.yml Show resolved Hide resolved
modules/nw-sriov-configuring-device.adoc Show resolved Hide resolved
spec:
networkNamespace: <target_namespace> <3>
ipam: |- <4>
...
vlan: <vlan> <5>
resourceName: <sriov_resource_name> <6>
linkState: <link_state> <7>
maxTxRate: <max_tx_rate> <8>
minTxRate: <mix_rx_rate> <9>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it.

vlanQoS: <vlan_qos> <10>
spoofChk: "<spoof_check>" <11>
trust: "<trust_vf>" <12>
capabilities: <capabilities> <13>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated this.

<8> Optional. Replace `<max_tx_rate>` with a maximum transmission rate, in Mbps, for the VF.
<9> Optional. Replace `<min_tx_rate>` with a minimum transmission rate, in Mbps, for the VF. This value should always be less than or equal to Maximum transmission rate.
+
NOTE: Intel NICs do not support the `minTxRate` parameter.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a link to this bug.

@lamek
Copy link
Contributor

lamek commented Jan 13, 2020

@jboxman per my comment above I'm going to close out this PR.

@lamek lamek closed this Jan 13, 2020
@vikram-redhat vikram-redhat removed this from the Future Release milestone Jan 23, 2020
@jboxman jboxman deleted the OSDOCS-828 branch March 1, 2021 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants