]> 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)
commit816dcf533f4f82d8854e06d87c991f306d527fcb
tree3d6608bcf4206f2708ef71c82d4d1393d979ed78
parent14bea6a709665e1b326968f1d0e4d10d8f7b0928
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