diff options
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c index 094dfc8f7656..d3748bf3ac7b 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | |||
@@ -3299,7 +3299,9 @@ static void bnx2x_drv_info_ether_stat(struct bnx2x *bp) | |||
3299 | ether_stat->txq_size = bp->tx_ring_size; | 3299 | ether_stat->txq_size = bp->tx_ring_size; |
3300 | ether_stat->rxq_size = bp->rx_ring_size; | 3300 | ether_stat->rxq_size = bp->rx_ring_size; |
3301 | 3301 | ||
3302 | #ifdef CONFIG_BNX2X_SRIOV | ||
3302 | ether_stat->vf_cnt = IS_SRIOV(bp) ? bp->vfdb->sriov.nr_virtfn : 0; | 3303 | ether_stat->vf_cnt = IS_SRIOV(bp) ? bp->vfdb->sriov.nr_virtfn : 0; |
3304 | #endif | ||
3303 | } | 3305 | } |
3304 | 3306 | ||
3305 | static void bnx2x_drv_info_fcoe_stat(struct bnx2x *bp) | 3307 | static void bnx2x_drv_info_fcoe_stat(struct bnx2x *bp) |