]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86dc2da3baf10265004d1db075e436852635a33a
tree3d6608bcf4206f2708ef71c82d4d1393d979ed78
parent05dc3abff0e2a31c2df0a29144661078f1b16f60
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