From 04ca72cd45348daab9d896bbec8ea4c2d13455ac Mon Sep 17 00:00:00 2001 From: Jiri Pirko Date: Fri, 17 May 2019 18:04:26 +0200 Subject: sys/linux: add support for basic devlink syscalls Add support for basic set of devlink interface syscalls Signed-off-by: Jiri Pirko --- executor/common_linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/common_linux.h') 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. -- cgit mrf-deployment