mirror of https://gitee.com/openkylin/linux.git
bnx2x: Fix failure to configure VF multicast filters
Commit 2dc33bbc
"bnx2x: Remove the sriov VFOP mechanism" caused a regression,
preventing VFs from configuring multicast filters.
Signed-off-by: Naredner Kumar <narender.kumar@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1a3d94240b
commit
ab15f86b8d
|
@ -612,6 +612,7 @@ int bnx2x_vf_mcast(struct bnx2x *bp, struct bnx2x_virtf *vf,
|
|||
}
|
||||
|
||||
/* add new mcasts */
|
||||
mcast.mcast_list_len = mc_num;
|
||||
rc = bnx2x_config_mcast(bp, &mcast, BNX2X_MCAST_CMD_ADD);
|
||||
if (rc)
|
||||
BNX2X_ERR("Faled to add multicasts\n");
|
||||
|
|
Loading…
Reference in New Issue