]> 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)
commit0746dc70a62c620a5fd1ff93dd95f99b0dc49c96
treecaff31184811bae3093c559c396574eccd2614c6
parent9304b3603a74180a5b4b09b4eda0cc7a246d86e5
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