diff options
author | Mintz, Yuval <Yuval.Mintz@cavium.com> | 2017-03-28 15:12:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-29 04:05:24 +0300 |
commit | d0d40a73f1e6061d892eca9a6cf1c85a9e4fd1eb (patch) | |
tree | 7e7730662f567357c963d83dcffb242ade877135 /drivers/net/ethernet/qlogic/qed/qed.h | |
parent | 9c8517c40f6873d5fcdfa0eafdf28c5a921d600b (diff) | |
download | linux-d0d40a73f1e6061d892eca9a6cf1c85a9e4fd1eb.tar.xz |
qed: Use BDQ resource for storage protocols
Until now, qed used some port-defined value as BDQ index for both iSCSI
and FCoE.
As management firmware now treats BDQ as a resource and tells each PF
its BDQ-range, start using a valure from that range instead.
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed.h b/drivers/net/ethernet/qlogic/qed/qed.h index cf7129550f1c..8c85fd2f3949 100644 --- a/drivers/net/ethernet/qlogic/qed/qed.h +++ b/drivers/net/ethernet/qlogic/qed/qed.h @@ -71,8 +71,6 @@ extern const struct qed_common_ops qed_common_ops_pass; #define QED_WFQ_UNIT 100 -#define ISCSI_BDQ_ID(_port_id) (_port_id) -#define FCOE_BDQ_ID(_port_id) ((_port_id) + 2) #define QED_WID_SIZE (1024) #define QED_PF_DEMS_SIZE (4) |