net/cxgbe: add VF firmware mailbox
authorKumar Sanghvi <kumaras@chelsio.com>
Sat, 10 Mar 2018 22:48:20 +0000 (04:18 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:44 +0000 (14:08 +0200)
commit179a74f7b2a5e8af2dea26a48a0035e5a6a91fe1
tree95df4e86fa815c5dafa2cf72ef0ef44e2f517522
parent011ebc236ddcee6c2d82771333faaf5bbb289143
net/cxgbe: add VF firmware mailbox

Add firmware mailbox communication support for VF.  Add is_pf4()
to check if driver is attached to PF4.  Use is_pf4() to determine
whether to use PF or VF mailbox communication.

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
drivers/net/cxgbe/Makefile
drivers/net/cxgbe/base/common.h
drivers/net/cxgbe/base/t4_hw.c
drivers/net/cxgbe/base/t4_regs.h
drivers/net/cxgbe/base/t4vf_hw.c [new file with mode: 0644]
drivers/net/cxgbe/base/t4vf_hw.h [new file with mode: 0644]