diff options
| author | Jiri Pirko <jiri@mellanox.com> | 2019-05-17 18:04:26 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-10-25 13:15:56 +0200 |
| commit | 04ca72cd45348daab9d896bbec8ea4c2d13455ac (patch) | |
| tree | 3075020ca8a78c10d96944355f6bde9385602de7 /executor/common_linux.h | |
| parent | 5b49e1f605a770e8f8fcdcbd1a8ff85591fc0c8e (diff) | |
sys/linux: add support for basic devlink syscalls
Add support for basic set of devlink interface syscalls
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Diffstat (limited to 'executor/common_linux.h')
| -rw-r--r-- | executor/common_linux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h index a62aaea9c..1c0f51b5e 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -578,7 +578,7 @@ static void initialize_netdevices(void) netlink_device_change(sock, "hsr_slave_0", true, 0, 0, 0); netlink_device_change(sock, "hsr_slave_1", true, 0, 0, 0); - netdevsim_add((int)procid, 4); + netdevsim_add((int)procid, 4); // Number of port is in sync with value in sys/linux/socket_netlink_generic_devlink.txt for (i = 0; i < sizeof(devices) / (sizeof(devices[0])); i++) { // Assign some unique address to devices. Some devices won't up without this. |
