diff options
author | Jiri Pirko <jiri@mellanox.com> | 2016-04-15 07:17:08 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-15 16:57:29 (GMT) |
commit | de33efd0fb7f923cd41671b1f743c3a0d44dd953 (patch) | |
tree | a7d1cce067a75d00cccf78222a53f7ae076598d4 /include/net/devlink.h | |
parent | 608b9977260f67d8b032ea170666a6174a48e2f1 (diff) | |
download | linux-de33efd0fb7f923cd41671b1f743c3a0d44dd953.tar.xz |
devlink: fix sb register stub in case devlink is disabled
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: bf7974710a40 ("devlink: add shared buffer configuration")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/devlink.h')
-rw-r--r-- | include/net/devlink.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/devlink.h b/include/net/devlink.h index be64218..1d45b61 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h @@ -184,7 +184,9 @@ static inline void devlink_port_split_set(struct devlink_port *devlink_port, static inline int devlink_sb_register(struct devlink *devlink, unsigned int sb_index, u32 size, u16 ingress_pools_count, - u16 egress_pools_count, u16 tc_count) + u16 egress_pools_count, + u16 ingress_tc_count, + u16 egress_tc_count) { return 0; } |