StarlingX Integration and packaging
8a0d36a154
In order to select between the in-tree and OOT drivers for the single driver, a cmdline parameter out-of-tree-drivers need be used. The cmdline parameter out-of-tree-drivers will be set driver names that these drivers will be used as the out of tree drivers. For example "out-of-tree-drivers=ice,i40e,iavf", the OOT drivers ice, i40e, iavf will be loaded by "insmod" command before udevd is started, and that ensures that the OOT drivers will be loaded rather than the in-tree drivers. The default drivers will be the in-tree drivers if there is not out-of-tree-drivers in the cmdline parameters or they are not set correct. 1. Switch the single driver as the following step. a) ice * switch the ice driver to the OOT version out-of-tree-drivers=ice * switch the ice driver to the in-tree version remove ice from out-of-tree-drivers or set any value except ice b) i40e * switch the i40e driver to the OOT version out-of-tree-drivers=i40e * switch the i40e driver to the in-tree version remove i40e from out-of-tree-drivers or set any value except i40e c) iavf * switch the iavf driver to the OOT version out-of-tree-drivers=iavf * switch the iavf driver to the in-tree version remove iavf from out-of-tree-drivers or set any value except iavf 2. Switch the bundle driver as the following step. * switch the bundle drivers to the OOT version. out-of-tree-drivers=ice,iavf,i40e * switch the bundle drivers to the in-tree version out-of-tree-drivers= or remove out-of-tree-drivers from the boot commandline. or out-of-tree-drivers=aaa,bb,xx(any value except ice,i40e,iavf) 3. Switch any two ones. * switch ice and iavf to the OOT version. out-of-tree-drivers=ice,iavf * switch i40e and iavf to the OOT version. out-of-tree-drivers=i40e,iavf * switch to the in-tree version. just remove driver name from out-of-tree-drivers or set any value except ice, iavf and i40e. Verification: Switch drivers between the OOT and in-tree drivers. - switch to the OOT drivers 1. Add cmdline parameter out-of-tree-drivers=ice,iavf,i40e 2. reboot can switch to the OOT drivers for ice, iavf and i40e. - switch to the in-tree drivers 1. Remove cmdline parameter out-of-tree-drivers 2. reboot can switch to the in-tree drivers for ice, iavf and i40e. - switch to the OOT ice driver(for iavf and i40e is same with ice) 1. Add cmdline parameter out-of-tree-drivers=ice 2. reboot can switch to the OOT driver for ice - switch to the OOT drivers for ice and iavf (for the combination of the other two drivers are same with this one. ) 1. Add cmdline parameter out-of-tree-drivers=ice,iavf 2. reboot can switch to the OOT drivers for ice, iavf. - Set the cmdline parameter out-of-tree-drivers=ice,iavf,aaa It can switch to the OOT driver for ice and iavf. Story: 2011056 Task: 50002 Change-Id: I927b0754d132796141caa2036bf626da527068ee Signed-off-by: Jiping Ma <jiping.ma2@windriver.com> |
||
---|---|---|
base | ||
bmc/Redfishtool | ||
centos-debian-compat | ||
ceph/ceph | ||
config | ||
database | ||
devstack | ||
doc | ||
docker/python-docker | ||
filesystem | ||
golang-github-dev | ||
gpu/gpu-operator | ||
grub | ||
kata-containers/debian | ||
kubernetes | ||
ldap | ||
logging/logrotate/centos | ||
networking | ||
ostree | ||
python | ||
releasenotes | ||
requests-toolbelt | ||
security | ||
storage-drivers | ||
tools | ||
virt | ||
.gitignore | ||
.gitreview | ||
.pylintrc | ||
.yamllint | ||
.zuul.yaml | ||
bindep.txt | ||
centos_build_layer.cfg | ||
centos_extra_downloads.lst | ||
centos_guest_image_rt.inc | ||
centos_guest_image.inc | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_pkg_dirs_installer | ||
centos_pkg_dirs_rt | ||
centos_srpms_3rdparties.lst | ||
centos_srpms_centos.lst | ||
centos_stable_docker_images.inc | ||
centos_stable_wheels.inc | ||
centos_tarball-dl.lst | ||
CONTRIBUTORS.wrs | ||
debian_build_layer.cfg | ||
debian_iso_image.inc | ||
debian_pkg_dirs | ||
debian_stable_docker_images.inc | ||
distroless_stable_docker_images.inc | ||
LICENSE | ||
README.rst | ||
test-requirements.txt | ||
tox.ini |
integ
StarlingX Integration