]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Distinguish between sb_id and igu_sb_id
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Thu, 1 Jun 2017 12:29:04 +0000 (15:29 +0300)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 19 Sep 2017 05:32:22 +0000 (22:32 -0700)
commit638da2511dcaca9ff6734f4a6e07576b9f285306
tree26283b91dafcc78b9fb8daa798bb41868e04b215
parentc4202b63c8af1c06fee409251b69f9c28145637f
qed: Distinguish between sb_id and igu_sb_id

Orabug: 26783820

In qed code, sb_id means 2 different things:
  - An interrupt vector [usually when received as a parameter from
    a protocol driver, but not only] that's associated with a status
    block.

  - An index to a status block entity existing in HW.

This patch renames the references to the HW entity, adding an 'igu_'
prefix to allow an easier distinction.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[ Upstream commit d031548e9194714dc2e8cb928d9f671432c8a342 ]
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_int.c
drivers/net/ethernet/qlogic/qed/qed_int.h