commit | 3e2206da73e37c0fc07675b5caf25d3b26e33b7d | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Oct 15 17:43:20 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 15 23:27:49 2015 -0700 |
tree | 6f022914bec20b679b96a013bdfc45d1af0a3465 | |
parent | c85c3882ad88dd36105148912cd95084b09a5676 [diff] |
mlxsw: pci: Limit number of entries being sent in single MAP_FA cmd Firmware accepts only limited number of mapping entries for MAP_FA command. In order to prevent overflow, introduce a limit and in case the number of entries is bigger, call MAP_FA multiple times. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>