Skip to content

Commit

Permalink
Added SF management tool
Browse files Browse the repository at this point in the history
This tool used to manage mediated devices (SFs)

Usage: mlnx-sf [ OPTIONS ]
OPTIONS:
-a, -action,    --action <action>               Perform action
    action:     { enable | create | configure | remove | show | set_max_mdevs | query_mdevs_num }

-d, -device,    --device <device>               PCI device <domain>:<bus>:<device>.<func> (E.g.: 0000:03:00.0)
-m, -max_mdevs, --max_mdevs <max mdevs number>  Set maximum number of MDEVs
-u, -uuid,      --uuid <uuid>                   UUID to create SF with
-M, -mac,       --mac <MAC>                     MAC to create SF with
-p, -permanent, --permanent [<conf file>]       Store configuration to be used after reboot and/or driver restart. Default (/etc/mellanox/mlnx-sf.conf).
-V, -version,   --version                       Display script version and exit
-D, -dryrun,    --dryrun                        Display commands only.
-v, -verbose,   --verbose                       Run script in verbose mode. Will print out each step of execution.
-h, -help,      --help                          Display help

Signed-off-by: Vladimir Sokolovsky <[email protected]>
  • Loading branch information
vladsokolovsky committed May 14, 2020
1 parent d99ed1f commit 20889fa
Show file tree
Hide file tree
Showing 3 changed files with 445 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ override_dh_auto_install:
install -m 0644 kernel-boot/82-net-setup-link.rules debian/$(pname)/etc/udev/rules.d
install -m 0755 kernel-boot/vf-net-link-name.sh debian/$(pname)/lib/udev
install -m 0755 kernel-boot/mlnx_bf_configure debian/$(pname)/sbin
install -m 0755 kernel-boot/mlnx-sf debian/$(pname)/sbin

install -m 0755 ofed_scripts/ibdev2netdev debian/$(pname)/usr/bin
install -m 0755 ofed_scripts/sysctl_perf_tuning debian/$(pname)/sbin
Expand Down
Loading

0 comments on commit 20889fa

Please sign in to comment.