Home
last modified time | relevance | path

Searched refs:ring_pair (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c541 struct ring_pair_cb *ring_pair = in hns_ae_get_coalesce_usecs() local
544 *tx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
545 ring_pair->port_id_in_comm); in hns_ae_get_coalesce_usecs()
546 *rx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
547 ring_pair->port_id_in_comm); in hns_ae_get_coalesce_usecs()
553 struct ring_pair_cb *ring_pair = in hns_ae_get_max_coalesced_frames() local
560 ring_pair->rcb_common, ring_pair->port_id_in_comm); in hns_ae_get_max_coalesced_frames()
563 ring_pair->rcb_common, ring_pair->port_id_in_comm); in hns_ae_get_max_coalesced_frames()
564 *rx_frames = hns_rcb_get_rx_coalesced_frames(ring_pair->rcb_common, in hns_ae_get_max_coalesced_frames()
565 ring_pair->port_id_in_comm); in hns_ae_get_max_coalesced_frames()
[all …]
Dhns_dsaf_rcb.c247 static void hns_rcb_ring_init(struct ring_pair_cb *ring_pair, int ring_type) in hns_rcb_ring_init() argument
249 struct hnae_queue *q = &ring_pair->q; in hns_rcb_ring_init()
263 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
265 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
275 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
277 ring_pair->port_id_in_comm + HNS_RCB_TX_PKTLINE_OFFSET); in hns_rcb_ring_init()
1073 struct ring_pair_cb *ring_pair in hns_rcb_get_ring_regs() local
1118 regs[i] = 0xcccccc00 + ring_pair->index; in hns_rcb_get_ring_regs()