OSDN Git Service

mlxsw: reg: Increase 'port_num' field in PMTDB register
authorAmit Cohen <amcohen@nvidia.com>
Wed, 1 Dec 2021 08:12:35 +0000 (10:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Dec 2021 14:52:34 +0000 (14:52 +0000)
commitda56f1a0d2a5ebe19b475342485e6d22aea6fc67
treec20c6728c4eb1c9f1c3cbf022482e3159fa69140
parentfd24b29a1b7412e7707aec093e3805946ec17fa3
mlxsw: reg: Increase 'port_num' field in PMTDB register

'port_num' field is used to indicate the local port value which can be
assigned to a module.

Increase the field from 8 bits to 10 bits in order to support more than
255 ports.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h