Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c543 struct ring_pair_cb *ring_pair = in hns_ae_get_coalesce_usecs() local
546 *tx_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()
548 *rx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
549 ring_pair->port_id_in_comm); in hns_ae_get_coalesce_usecs()
555 struct ring_pair_cb *ring_pair = in hns_ae_get_max_coalesced_frames() local
562 ring_pair->rcb_common, ring_pair->port_id_in_comm); in hns_ae_get_max_coalesced_frames()
565 ring_pair->rcb_common, ring_pair->port_id_in_comm); in hns_ae_get_max_coalesced_frames()
566 *rx_frames = hns_rcb_get_rx_coalesced_frames(ring_pair->rcb_common, in hns_ae_get_max_coalesced_frames()
567 ring_pair->port_id_in_comm); in hns_ae_get_max_coalesced_frames()
[all …]
Dhns_dsaf_rcb.c246 static void hns_rcb_ring_init(struct ring_pair_cb *ring_pair, int ring_type) in hns_rcb_ring_init() argument
248 struct hnae_queue *q = &ring_pair->q; in hns_rcb_ring_init()
262 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
264 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
274 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
276 ring_pair->port_id_in_comm + HNS_RCB_TX_PKTLINE_OFFSET); in hns_rcb_ring_init()
1072 struct ring_pair_cb *ring_pair in hns_rcb_get_ring_regs() local
1117 regs[i] = 0xcccccc00 + ring_pair->index; in hns_rcb_get_ring_regs()