RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2004029 - [RFE] Add an CLI to get the names of Virtual functions
Summary: [RFE] Add an CLI to get the names of Virtual functions
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.4
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: NetworkManager Development Team
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-14 11:52 UTC by Karthik Sundaravel
Modified: 2021-09-20 05:05 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-20 05:05:36 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-97089 0 None None None 2021-09-14 11:54:16 UTC

Internal Links: 1645689

Description Karthik Sundaravel 2021-09-14 11:52:08 UTC
Using the below command, SR-IOV shall be enabled on eno2 and the VFs shall be configured for mac, max-tx-rate, min-tx-rate, vlan, qos, spoofcheck, trust.

nmcli con add type 802-3-ethernet con-name EthernetPF ifname eno2 sriov.total-vfs 4 sriov.vfs '0 mac=00:11:22:33:44:55 vlans=10.5, 1 trust=true spoof-check=false'

os-net-config needs a cli to get the interface names of the created VFs, so that the device names could be used for configuring the VFs with MTU, promisc, ipaddress, bonds.

Comment 2 Gris Ge 2021-09-17 09:13:25 UTC
Hi Karthik,


The nmcli is not designed to provide information regarding PF/VF relationship. Could you try:

 * Find out the VF MAC address of `ip -d -j link show <pf_nic_name>`.
 * Find out the VF name for contain MAC address via `ip -j link show`.

Comment 3 Karthik Sundaravel 2021-09-20 05:04:49 UTC
Hi Gris

Thanks for the inputs. I'll close the BZ.


Note You need to log in before you can comment on or make changes to this bug.