qed: Use BDQ resource for storage protocols
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Tue, 28 Mar 2017 12:12:56 +0000 (15:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Mar 2017 01:05:24 +0000 (18:05 -0700)
commitd0d40a73f1e6061d892eca9a6cf1c85a9e4fd1eb
tree7e7730662f567357c963d83dcffb242ade877135
parent9c8517c40f6873d5fcdfa0eafdf28c5a921d600b
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>
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
drivers/net/ethernet/qlogic/qed/qed_iscsi.c