Searched refs:tx_spare (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 964 struct hns3_tx_spare *tx_spare = ring->tx_spare; in hns3_tx_spare_space() local 970 ntc = smp_load_acquire(&tx_spare->last_to_clean); in hns3_tx_spare_space() 971 ntu = tx_spare->next_to_use; in hns3_tx_spare_space() 979 return max(ntc, tx_spare->len - ntu) - 1; in hns3_tx_spare_space() 984 struct hns3_tx_spare *tx_spare = ring->tx_spare; in hns3_tx_spare_update() local 986 if (!tx_spare || in hns3_tx_spare_update() 987 tx_spare->last_to_clean == tx_spare in hns3_tx_spare_update() 1035 struct hns3_tx_spare *tx_spare; hns3_init_tx_spare_buffer() local 1081 devm_kfree(ring_to_dev(ring), tx_spare); hns3_init_tx_spare_buffer() local 1093 struct hns3_tx_spare *tx_spare = ring->tx_spare; hns3_tx_spare_alloc() local 1118 struct hns3_tx_spare *tx_spare = ring->tx_spare; hns3_tx_spare_rollback() local 1131 struct hns3_tx_spare *tx_spare = ring->tx_spare; hns3_tx_spare_reclaim_cb() local 5016 struct hns3_tx_spare *tx_spare = ring->tx_spare; hns3_fini_ring() local 5022 devm_kfree(ring_to_dev(ring), tx_spare); hns3_fini_ring() local [all...] |
H A D | hns3_debugfs.c | 583 struct hns3_tx_spare *tx_spare = ring->tx_spare; in hns3_dbg_tx_spare_info() local 588 if (!tx_spare) { in hns3_dbg_tx_spare_info() 606 sprintf(result[j++], "%u", tx_spare->len); in hns3_dbg_tx_spare_info() 607 sprintf(result[j++], "%u", tx_spare->next_to_use); in hns3_dbg_tx_spare_info() 608 sprintf(result[j++], "%u", tx_spare->next_to_clean); in hns3_dbg_tx_spare_info() 609 sprintf(result[j++], "%u", tx_spare->last_to_clean); in hns3_dbg_tx_spare_info() 610 sprintf(result[j++], "%pad", &tx_spare->dma); in hns3_dbg_tx_spare_info()
|
H A D | hns3_enet.h | 496 struct hns3_tx_spare *tx_spare; member
|
H A D | hns3_ethtool.c | 1952 (!priv->ring->tx_spare && new_tx_spare_buf_size != 0)) { in hns3_set_tunable() 1966 if (!priv->ring->tx_spare) in hns3_set_tunable() 1970 priv->ring->tx_spare->len); in hns3_set_tunable()
|
Completed in 11 milliseconds