diff options
author | Yuval Mintz <yuvalmin@broadcom.com> | 2012-03-12 08:53:10 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-13 00:10:49 (GMT) |
commit | 259afa1f725dc7ec1626835b9ac54827a46cdf80 (patch) | |
tree | 43ee2fca349ce5756dcbd1b2e0b22bce76e12d71 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | |
parent | 33ac338cf97f5e225c62ebcb3ff1a40bf32c88ad (diff) | |
download | linux-fsl-qoriq-259afa1f725dc7ec1626835b9ac54827a46cdf80.tar.xz |
bnx2x: use param's id instead of sp_obj's id
Previously, we've used the object's function id instead of using the
input's value. This is remedied, as in other flows.
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c index f913cdd..1999fa5 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c @@ -4473,7 +4473,7 @@ static void bnx2x_q_fill_init_rx_data(struct bnx2x_queue_sp_obj *o, rx_data->is_leading_rss = test_bit(BNX2X_Q_FLG_LEADING_RSS, flags); if (test_bit(BNX2X_Q_FLG_MCAST, flags)) { - rx_data->approx_mcast_engine_id = o->func_id; + rx_data->approx_mcast_engine_id = params->mcast_engine_id; rx_data->is_approx_mcast = 1; } |