[Starlingx-discuss] SR-IOV support on simplex over Bare Metal Server

Arjun Sundararajan arjun.sundararajan at tatacommunications.com
Fri May 3 11:06:49 UTC 2019


Hi,

I am trying to add VFs to the host interfaces and use them for the VMs. Used the below command to set the numvfs, but I am not sure if the VFs are created and being used.
Could you kindly share steps/document if available?


[wrsroot at controller-0 ~(keystone_admin)]$ system host-if-list -a controller-0
+--------------------------------------+------------+----------+----------+------+-----------------+------+------+---------------------------+-------------------+
| uuid                                 | name       | class    | type     | vlan | ports           | uses | used | attributes                | provider networks |
|                                      |            |          |          | id   |                 | i/f  | by   |                           |                   |
|                                      |            |          |          |      |                 |      | i/f  |                           |                   |
+--------------------------------------+------------+----------+----------+------+-----------------+------+------+---------------------------+-------------------+
| 07c008ce-cb29-44f5-8114-a6a2c19aa3c8 | lo         | platform | virtual  | None | []              | []   | []   | MTU=1500                  | None              |
| 10b9d627-13e2-4ade-b9f7-b4121928b029 | enp134s0f1 | data     | ethernet | None | [u'enp134s0f1'] | []   | []   | MTU=1574,accelerated=True | internalnet-a     |
| 6e5334a3-3c58-4245-8ce7-0add960ec3c9 | enp136s0f1 | None     | ethernet | None | [u'enp136s0f1'] | []   | []   | MTU=1500                  | None              |
| 7853e28e-a55e-43ce-aebe-b1ba42766c9b | enp134s0f0 | data     | ethernet | None | [u'enp134s0f0'] | []   | []   | MTU=1500,accelerated=True | providernet-a     |
| ac75cbe6-3d89-4e2b-a976-a30479525dc9 | enp136s0f0 | platform | ethernet | None | [u'enp136s0f0'] | []   | []   | MTU=1500                  | None              |
+--------------------------------------+------------+----------+----------+------+-----------------+------+------+---------------------------+-------------------+
[wrsroot at controller-0 ~(keystone_admin)]$ system host-if-show controller-0 10b9d627-13e2-4ade-b9f7-b4121928b029
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| ifname           | enp134s0f1                           |
| iftype           | ethernet                             |
| ports            | [u'enp134s0f1']                      |
| providernetworks | internalnet-a                        |
| imac             | 3c:fd:fe:ce:ee:21                    |
| imtu             | 1574                                 |
| ifclass          | data                                 |
| networks         |                                      |
| aemode           | None                                 |
| schedpolicy      | None                                 |
| txhashpolicy     | None                                 |
| uuid             | 10b9d627-13e2-4ade-b9f7-b4121928b029 |
| ihost_uuid       | c2195a07-27e5-4825-8e36-c6f63a157dba |
| vlan_id          | None                                 |
| uses             | []                                   |
| used_by          | []                                   |
| created_at       |                                      |
| updated_at       |                                      |
| sriov_numvfs     | 8                                    |
| ipv4_mode        | disabled                             |
| ipv6_mode        | disabled                             |
| accelerated      | [True]                               |
+------------------+--------------------------------------+

Thanks and regards,
Arjun Sundararajan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190503/db22e338/attachment-0001.html>


More information about the Starlingx-discuss mailing list