Searched refs:tx_spare (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 963 struct hns3_tx_spare *tx_spare = ring->tx_spare; in hns3_tx_spare_space() local 969 ntc = smp_load_acquire(&tx_spare->last_to_clean); in hns3_tx_spare_space() 970 ntu = tx_spare->next_to_use; in hns3_tx_spare_space() 978 return max(ntc, tx_spare->len - ntu) - 1; in hns3_tx_spare_space() 983 struct hns3_tx_spare *tx_spare = ring->tx_spare; in hns3_tx_spare_update() local 985 if (!tx_spare || in hns3_tx_spare_update() 986 tx_spare->last_to_clean == tx_spare->next_to_clean) in hns3_tx_spare_update() 992 smp_store_release(&tx_spare->last_to_clean, in hns3_tx_spare_update() 993 tx_spare->next_to_clean); in hns3_tx_spare_update() 1034 struct hns3_tx_spare *tx_spare; in hns3_init_tx_spare_buffer() local [all …]
|
D | hns3_debugfs.c | 557 struct hns3_tx_spare *tx_spare = ring->tx_spare; in hns3_dbg_tx_spare_info() local 562 if (!tx_spare) { in hns3_dbg_tx_spare_info() 580 sprintf(result[j++], "%u", tx_spare->len); in hns3_dbg_tx_spare_info() 581 sprintf(result[j++], "%u", tx_spare->next_to_use); in hns3_dbg_tx_spare_info() 582 sprintf(result[j++], "%u", tx_spare->next_to_clean); in hns3_dbg_tx_spare_info() 583 sprintf(result[j++], "%u", tx_spare->last_to_clean); in hns3_dbg_tx_spare_info() 584 sprintf(result[j++], "%pad", &tx_spare->dma); in hns3_dbg_tx_spare_info()
|
D | hns3_enet.h | 496 struct hns3_tx_spare *tx_spare; member
|
D | hns3_ethtool.c | 1953 (!priv->ring->tx_spare && new_tx_spare_buf_size != 0)) { in hns3_set_tunable() 1967 if (!priv->ring->tx_spare) in hns3_set_tunable() 1971 priv->ring->tx_spare->len); in hns3_set_tunable()
|