Commit 82fa848c authored by Mintz Yuval's avatar Mintz Yuval Committed by David S. Miller

bnx2x: notify cnic of address of info-to-the-mcp

Signed-off-by: default avatarYuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d760fc37
...@@ -7125,6 +7125,11 @@ int bnx2x_alloc_mem(struct bnx2x *bp) ...@@ -7125,6 +7125,11 @@ int bnx2x_alloc_mem(struct bnx2x *bp)
BNX2X_PCI_ALLOC(bp->slowpath, &bp->slowpath_mapping, BNX2X_PCI_ALLOC(bp->slowpath, &bp->slowpath_mapping,
sizeof(struct bnx2x_slowpath)); sizeof(struct bnx2x_slowpath));
#ifdef BCM_CNIC
/* write address to which L5 should insert its values */
bp->cnic_eth_dev.addr_drv_info_to_mcp = &bp->slowpath->drv_info_to_mcp;
#endif
/* Allocated memory for FW statistics */ /* Allocated memory for FW statistics */
if (bnx2x_alloc_fw_stats_mem(bp)) if (bnx2x_alloc_fw_stats_mem(bp))
goto alloc_mem_err; goto alloc_mem_err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment