devlink: append split port number to the port name
Instead of doing sprintf twice in case the port is split or not, append the split port suffix in case the port is split. Signed-off-by: NJiri Pirko <jiri@nvidia.com> Link: https://lore.kernel.org/r/20210527104819.789840-1-jiri@resnulli.usSigned-off-by: NJakub Kicinski <kuba@kernel.org>
Showing
想要评论请 注册 或 登录