Updating sriov_config.service to run before driverctl.slice and network-pre
On a start/reboot, os-net sriov_config.service
is run to create VFs for nic-partitioned devices.
If vfio-pci driver is bound to any of the VFs,
the VF initialisation doesn't occur properly.
The VF creation has to be completed before driverctl vfio-pci
binding AND all network interface configs.
So modified the sriov_config dependency, to ensure it
is execute before these services
Change-Id: Id0ef377b92c771b62fae99eaedc778ae64b0e52d
(cherry picked from commit 70ed00293b
)
This commit is contained in:
parent
8f08b73878
commit
8691098036
|
@ -44,14 +44,14 @@ _SRIOV_CONFIG_SERVICE_FILE = "/etc/systemd/system/sriov_config.service"
|
|||
_SRIOV_CONFIG_DEVICE_CONTENT = """[Unit]
|
||||
Description=SR-IOV numvfs configuration
|
||||
After=systemd-udev-settle.service openibd.service
|
||||
Before=openvswitch.service
|
||||
Before=system-driverctl.slice network-pre.target openvswitch.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/os-net-config-sriov
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=basic.target
|
||||
"""
|
||||
|
||||
# VPP startup operational configuration file. The content of this file will
|
||||
|
|
Loading…
Reference in New Issue