commit | a2c6b87dd08cdfc2d065d4ae369e4e747b521a7f | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Mon Jul 08 23:17:36 2019 -0500 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 09 12:02:13 2019 -0700 |
tree | 1eab6fbb7646f158ed71f56702b9fd9aab2c4fd1 | |
parent | 378ef01b5f75e6c485b8f16b4f6a7842a312aa07 [diff] |
devlink: Return physical port fields only for applicable port flavours Physical port number and split group fields are applicable only to physical port flavours such as PHYSICAL, CPU and DSA. Hence limit returning those values in netlink response to such port flavours. Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>