projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
qed: Correct Multicast API to reflect existence of 256 approximate buckets.
[linux-2.6-microblaze.git]
/
drivers
/
net
/
ethernet
/
qlogic
/
qed
/
qed_sriov.c
diff --git
a/drivers/net/ethernet/qlogic/qed/qed_sriov.c
b/drivers/net/ethernet/qlogic/qed/qed_sriov.c
index
fd59cf4
..
26e918d
100644
(file)
--- a/
drivers/net/ethernet/qlogic/qed/qed_sriov.c
+++ b/
drivers/net/ethernet/qlogic/qed/qed_sriov.c
@@
-2831,7
+2831,7
@@
qed_iov_vp_update_mcast_bin_param(struct qed_hwfn *p_hwfn,
p_data->update_approx_mcast_flg = 1;
memcpy(p_data->bins, p_mcast_tlv->bins,
- sizeof(u
nsigned long
) * ETH_MULTICAST_MAC_BINS_IN_REGS);
+ sizeof(u
32
) * ETH_MULTICAST_MAC_BINS_IN_REGS);
*tlvs_mask |= 1 << QED_IOV_VP_UPDATE_MCAST;
}