Searched refs:tx_spare (Results 1 – 3 of 3) sorted by relevance
973 struct hns3_tx_spare *tx_spare = ring->tx_spare; in hns3_tx_spare_space() local979 ntc = smp_load_acquire(&tx_spare->last_to_clean); in hns3_tx_spare_space()980 ntu = tx_spare->next_to_use; in hns3_tx_spare_space()988 return max(ntc, tx_spare->len - ntu) - 1; in hns3_tx_spare_space()993 struct hns3_tx_spare *tx_spare = ring->tx_spare; in hns3_tx_spare_update() local995 if (!tx_spare || in hns3_tx_spare_update()996 tx_spare->last_to_clean == tx_spare->next_to_clean) in hns3_tx_spare_update()1002 smp_store_release(&tx_spare->last_to_clean, in hns3_tx_spare_update()1003 tx_spare->next_to_clean); in hns3_tx_spare_update()1046 struct hns3_tx_spare *tx_spare; in hns3_init_tx_spare_buffer() local[all …]
498 struct hns3_tx_spare *tx_spare; member
2004 (!priv->ring->tx_spare && new_tx_spare_buf_size != 0)) { in hns3_set_tunable()2018 if (!priv->ring->tx_spare) in hns3_set_tunable()2022 priv->ring->tx_spare->len); in hns3_set_tunable()