qed: Share additional information with qedf
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Fri, 2 Jun 2017 05:58:31 +0000 (08:58 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jun 2017 14:33:03 +0000 (10:33 -0400)
commit3c5da94278026a4583320f97f6547573fb3a93aa
tree9f126e4327ba95bc5d5b1130210ff7fbf26b4a60
parent5779675912fa87d8d0af651537acc0e312f06c70
qed: Share additional information with qedf

Share several new tidbits with qedf:
 - wwpn & wwnn
 - Absolute pf-id [this one is actually meant for qedi as well]
 - Number of available CQs

While we're at it, now that qedf will be aware of the available CQs
we can add some validation on the inputs it provides.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
drivers/net/ethernet/qlogic/qed/qed_main.c
include/linux/qed/qed_fcoe_if.h
include/linux/qed/qed_if.h