mlxsw: reg: Increase register field length to 13 bits
authorIdo Schimmel <idosch@mellanox.com>
Sun, 19 Apr 2020 07:01:06 +0000 (10:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 18:57:33 +0000 (11:57 -0700)
commitb7f03b0b2a213474f452a802769ecd9fcee209a9
tree3d6608bcf4206f2708ef71c82d4d1393d979ed78
parentcec2500d44751a7782d16ce99fca104e77e324a5
mlxsw: reg: Increase register field length to 13 bits

The Infrastructure Entry Delete Register (IEDR) is used to delete
entries stored in the KVD linear database. Currently, it is only
possible to delete entries of size up to 2048. Future firmware versions
will support deletion of entries of size up to 4096.

Increase the size of the field so that the driver will be able to
perform such deletions in the future, when required.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h