Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable eswitch mode setting on SmartNICs #253

Merged
merged 10 commits into from Feb 9, 2022
Merged

Enable eswitch mode setting on SmartNICs #253

merged 10 commits into from Feb 9, 2022

Commits on Feb 9, 2022

  1. Configuration menu
    Copy the full SHA
    8e393cb View commit details
    Browse the repository at this point in the history
  2. test:sriov: update _prepare_sysfs_dir_structure() to make it create P…

    …F/VF mocks dynamically
    slyon committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    b5bae1c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b020e8a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c6183de View commit details
    Browse the repository at this point in the history
  5. cli:sriov: Allow setting of eswitch mode on SmartNICs

    Taking lots of (especially the PCIDevice class) from:
    https://github.com/openstack-charmers/mlnx-switchdev-mode/blob/master/mlnx_switchdev_mode/sriovify.py
    
    V2: update copyright notice in comment of PCIDevice class
    slyon committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    6da9a9e View commit details
    Browse the repository at this point in the history
  6. test:sriov: fix tests when using libnetplan parser

    V2: avoid "# pragma: nocover" by having relevant test cases
    slyon committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    275647f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e1e5103 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    35a13eb View commit details
    Browse the repository at this point in the history
  9. cli: add sriov rebind method

    slyon committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    c19fe2c View commit details
    Browse the repository at this point in the history
  10. sriov: generate rebind systemd service if needed

    V2:
    * simplify self.assert_sriov() in generator/base.py
    * add new netplan_state_finish_sriov_write() and netplan_sriov_cleanup() API
    * move SR-IOV rebind service generation into netplan_state_finish_sriov_write()
    
    V3:
    * move 'any_sriov' udev rules logic into netplan_state_finish_sriov_write()
    slyon committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    34c4da9 View commit details
    Browse the repository at this point in the history