diff options
author | Mintz, Yuval <Yuval.Mintz@cavium.com> | 2017-06-02 08:58:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-02 10:33:03 -0400 |
commit | 3c5da94278026a4583320f97f6547573fb3a93aa (patch) | |
tree | 9f126e4327ba95bc5d5b1130210ff7fbf26b4a60 /include | |
parent | 5779675912fa87d8d0af651537acc0e312f06c70 (diff) | |
download | linux-3c5da94278026a4583320f97f6547573fb3a93aa.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/qed/qed_fcoe_if.h | 5 | ||||
-rw-r--r-- | include/linux/qed/qed_if.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/qed/qed_fcoe_if.h b/include/linux/qed/qed_fcoe_if.h index bd6bcb809415..1e015c50e6b8 100644 --- a/include/linux/qed/qed_fcoe_if.h +++ b/include/linux/qed/qed_fcoe_if.h @@ -24,6 +24,11 @@ struct qed_dev_fcoe_info { void __iomem *primary_dbq_rq_addr; void __iomem *secondary_bdq_rq_addr; + + u64 wwpn; + u64 wwnn; + + u8 num_cqs; }; struct qed_fcoe_params_offload { diff --git a/include/linux/qed/qed_if.h b/include/linux/qed/qed_if.h index 607e1c5e185a..e29c6f74a4d4 100644 --- a/include/linux/qed/qed_if.h +++ b/include/linux/qed/qed_if.h @@ -360,6 +360,8 @@ struct qed_dev_info { bool vxlan_enable; bool gre_enable; bool geneve_enable; + + u8 abs_pf_id; }; enum qed_sb_type { |