aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
index 81cc2d9831c2..8d0479d5be8e 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
@@ -2576,7 +2576,8 @@ int bnx2x_get_vf_config(struct net_device *dev, int vfidx,
2576 2576
2577 ivi->vf = vfidx; 2577 ivi->vf = vfidx;
2578 ivi->qos = 0; 2578 ivi->qos = 0;
2579 ivi->tx_rate = 10000; /* always 10G. TBA take from link struct */ 2579 ivi->max_tx_rate = 10000; /* always 10G. TBA take from link struct */
2580 ivi->min_tx_rate = 0;
2580 ivi->spoofchk = 1; /*always enabled */ 2581 ivi->spoofchk = 1; /*always enabled */
2581 if (vf->state == VF_ENABLED) { 2582 if (vf->state == VF_ENABLED) {
2582 /* mac and vlan are in vlan_mac objects */ 2583 /* mac and vlan are in vlan_mac objects */