Using infiniband for openstack network communications

Sean Mooney smooney at
Tue Jun 7 12:13:51 UTC 2022

On Sun, 2022-06-05 at 15:22 +0200, Dmitriy Rabotyagov wrote:
> Yes, why not? As long as your infiniband card support sr-iov there should
> be no problems with that.
> You can also check one blog which describes the experience

well it could work but its not really a tested usecase.
security groups for example (which yes i know dont work with normal sriov) more or less
assume ethernet.

ovs and other backends do assuem ethernet so you cant use an infinaband interface for ovs, ovn or linux bridge.

neutrop ports also kind of implictly assume ethernet via the mac adress filed so you cant really use infinaband without ethernet
in openstack other then via a direct passthough to a guest in which case you are not using infinaband with neturon netowrks
you are using infinaband without integration with neutron netowrking api via flaovr based pci passthoug.

that is what descripbes 

you will notice that the passthrough_whitelist = { "vendor_id": "10de", "product_id": "1df6" }
does not contain a physical_network tag which means this VF is not usable via neutron sriov ports (vnic_type=direct in the case of a vf)

they are instead creating a pci alias
alias = { "vendor_id":"15b3", "product_id":"101c", "device_type":"type-VF", "name":"mlx5-sriov-ib" }

then requesting that in the flavor

openstack flavor create --vcpus 8 --ram 16384 --disk 100 --property hw:mem_page_size='large' --property hw:cpu_policy='dedicated' --property
"pci_passthrough:alias"="mlx5-sriov-ib" ib.small

then when the vm is create i has a neutron network for managment 
openstack server create --flavor ib.small --image ubuntu_20_04 --nic net-id=private1 ib-vm1

and a passed through infinaband VF.

so i i would not cinsider this to be "use the infiniband port for openstack networks" since the infinaband port is not assocated with any neutron
network or modeled as a neutron port. as far as i am aware there is no support for using infinaband with a neutron port and vnic_type=direct.

so can you use infinaband with openstack yes.
can you use infinaband with onpenstack networking no.

> вс, 5 июн. 2022 г., 15:20 A Monster <amonster369 at>:
> > Is it possible to use the infiniband port for openstack networks without
> > having to use the infiniband port as an ethernet port ?
> > 

More information about the openstack-discuss mailing list