]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: pci: Set mbox dma addresses to zero when not used
authorShalom Toledo <shalomt@mellanox.com>
Mon, 19 Mar 2018 07:51:00 +0000 (09:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Mar 2018 16:11:02 +0000 (12:11 -0400)
commitdba1d2db8fc3b8fa2ebd3238a65bc6def5c6a087
treecaff31184811bae3093c559c396574eccd2614c6
parent3f5c934c51c9ae7685491fd322588b5ef88c003c
mlxsw: pci: Set mbox dma addresses to zero when not used

Some of the opcodes don't use in, out or both mboxes. In such cases, the
mbox address is a reserved field and FW expects it to be zero.

Signed-off-by: Shalom Toledo <shalomt@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/pci.c