Lines Matching refs:ether_stat
3381 struct eth_stats_info *ether_stat = in bnx2x_drv_info_ether_stat() local
3382 &bp->slowpath->drv_info_to_mcp.ether_stat; in bnx2x_drv_info_ether_stat()
3387 strscpy(ether_stat->version, DRV_MODULE_VERSION, in bnx2x_drv_info_ether_stat()
3399 memset(ether_stat->mac_local + i, 0, in bnx2x_drv_info_ether_stat()
3400 sizeof(ether_stat->mac_local[0])); in bnx2x_drv_info_ether_stat()
3403 ether_stat->mac_local + MAC_PAD, MAC_PAD, in bnx2x_drv_info_ether_stat()
3405 ether_stat->mtu_size = bp->dev->mtu; in bnx2x_drv_info_ether_stat()
3407 ether_stat->feature_flags |= FEATURE_ETH_CHKSUM_OFFLOAD_MASK; in bnx2x_drv_info_ether_stat()
3409 ether_stat->feature_flags |= FEATURE_ETH_LSO_MASK; in bnx2x_drv_info_ether_stat()
3410 ether_stat->feature_flags |= bp->common.boot_mode; in bnx2x_drv_info_ether_stat()
3412 ether_stat->promiscuous_mode = (bp->dev->flags & IFF_PROMISC) ? 1 : 0; in bnx2x_drv_info_ether_stat()
3414 ether_stat->txq_size = bp->tx_ring_size; in bnx2x_drv_info_ether_stat()
3415 ether_stat->rxq_size = bp->rx_ring_size; in bnx2x_drv_info_ether_stat()
3418 ether_stat->vf_cnt = IS_SRIOV(bp) ? bp->vfdb->sriov.nr_virtfn : 0; in bnx2x_drv_info_ether_stat()