devlink: Refactor physical port attributes
authorParav Pandit <parav@mellanox.com>
Tue, 9 Jul 2019 04:17:35 +0000 (23:17 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jul 2019 19:02:13 +0000 (12:02 -0700)
commit378ef01b5f75e6c485b8f16b4f6a7842a312aa07
treeccb5866a1547b8d3c66d91af2a59729a8472fe83
parentb14a260e33ddb4536088a799f24f321593201a64
devlink: Refactor physical port attributes

To support additional devlink port flavours and to support few common
and few different port attributes, move physical port attributes to a
different structure.

Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/devlink.h
net/core/devlink.c