Message ID | 20200918080300.35132-4-parav@nvidia.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
diff --git a/devlink/devlink.c b/devlink/devlink.c index 9f99c031..0374175e 100644 --- a/devlink/devlink.c +++ b/devlink/devlink.c @@ -3343,6 +3343,9 @@ static void pr_out_port_pfvf_num(struct dl *dl, struct nlattr **tb) { uint16_t fn_num; + if (tb[DEVLINK_ATTR_PORT_CONTROLLER_NUMBER]) + print_uint(PRINT_ANY, "controller", " controller %u", + mnl_attr_get_u32(tb[DEVLINK_ATTR_PORT_CONTROLLER_NUMBER])); if (tb[DEVLINK_ATTR_PORT_PCI_PF_NUMBER]) { fn_num = mnl_attr_get_u16(tb[DEVLINK_ATTR_PORT_PCI_PF_NUMBER]); print_uint(PRINT_ANY, "pfnum", " pfnum %u", fn_num);