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 D | otx2_ethtool.c | 48 .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 D | otx2_common.h | 134 struct otx2_drv_stats { struct 197 struct otx2_drv_stats drv_stats;
|
H A D | otx2_txrx.c | 210 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 D | otx2_ethtool.c | 51 .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 D | otx2_common.h | 167 struct otx2_drv_stats { struct 259 struct otx2_drv_stats drv_stats;
|
H A D | otx2_txrx.c | 277 struct otx2_drv_stats *stats = &pfvf->hw.drv_stats; in otx2_check_rcv_errors()
|
Completed in 11 milliseconds