Home
last modified time | relevance | path

Searched refs:otx2_drv_stats (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c48 .index = offsetof(struct otx2_drv_stats, stat) / sizeof(atomic_t), \
51 static const struct otx2_stat otx2_drv_stats[] = { variable
66 static const unsigned int otx2_n_drv_stats = ARRAY_SIZE(otx2_drv_stats);
113 memcpy(data, otx2_drv_stats[stats].name, ETH_GSTRING_LEN); in otx2_get_strings()
177 [otx2_drv_stats[stat].index]); in otx2_get_ethtool_stats()
759 memcpy(data, otx2_drv_stats[stats].name, ETH_GSTRING_LEN); in otx2vf_get_strings()
782 [otx2_drv_stats[stat].index]); in otx2vf_get_ethtool_stats()
H A Dotx2_common.h134 struct otx2_drv_stats { struct
197 struct otx2_drv_stats drv_stats;
H A Dotx2_txrx.c210 struct otx2_drv_stats *stats = &pfvf->hw.drv_stats; in otx2_check_rcv_errors()
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c51 .index = offsetof(struct otx2_drv_stats, stat) / sizeof(atomic_t), \
54 static const struct otx2_stat otx2_drv_stats[] = { variable
69 static const unsigned int otx2_n_drv_stats = ARRAY_SIZE(otx2_drv_stats);
124 memcpy(data, otx2_drv_stats[stats].name, ETH_GSTRING_LEN); in otx2_get_strings()
213 [otx2_drv_stats[stat].index]); in otx2_get_ethtool_stats()
1385 memcpy(data, otx2_drv_stats[stats].name, ETH_GSTRING_LEN); in otx2vf_get_strings()
1408 [otx2_drv_stats[stat].index]); in otx2vf_get_ethtool_stats()
H A Dotx2_common.h167 struct otx2_drv_stats { struct
259 struct otx2_drv_stats drv_stats;
H A Dotx2_txrx.c277 struct otx2_drv_stats *stats = &pfvf->hw.drv_stats; in otx2_check_rcv_errors()

Completed in 10 milliseconds