]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Correct Multicast API to reflect existence of 256 approximate buckets.
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Thu, 19 Jul 2018 05:50:04 +0000 (22:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Jul 2018 23:19:04 +0000 (16:19 -0700)
commita3d2afc244e23ed1fd711e7695abdaab8ff5f54a
treef5d8c281a5bbf0ecfd4bf11a523b4220466925fb
parent71a6f4903d4afb2985a1f1fd71c5a63306d0e3dd
qed: Correct Multicast API to reflect existence of 256 approximate buckets.

FW hsi contains 256 approximation buckets which are split in ramrod into
eight u32 values, but driver is using eight 'unsigned long' variables.

This patch fixes the mcast logic by making the API utilize u32.

Fixes: 659fdb08 ("qed*: Trivial modifications")
Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_l2.c
drivers/net/ethernet/qlogic/qed/qed_l2.h
drivers/net/ethernet/qlogic/qed/qed_sriov.c
drivers/net/ethernet/qlogic/qed/qed_vf.c
drivers/net/ethernet/qlogic/qed/qed_vf.h