Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c520 struct ring_pair_cb *ring_pair = in hns_ae_get_coalesce_usecs() local
523 *tx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
524 ring_pair->port_id_in_comm); in hns_ae_get_coalesce_usecs()
525 *rx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
526 ring_pair->port_id_in_comm); in hns_ae_get_coalesce_usecs()
532 struct ring_pair_cb *ring_pair = in hns_ae_get_max_coalesced_frames() local
539 ring_pair->rcb_common, ring_pair->port_id_in_comm); in hns_ae_get_max_coalesced_frames()
542 ring_pair->rcb_common, ring_pair->port_id_in_comm); in hns_ae_get_max_coalesced_frames()
543 *rx_frames = hns_rcb_get_rx_coalesced_frames(ring_pair->rcb_common, in hns_ae_get_max_coalesced_frames()
544 ring_pair->port_id_in_comm); in hns_ae_get_max_coalesced_frames()
[all …]
Dhns_dsaf_rcb.c243 static void hns_rcb_ring_init(struct ring_pair_cb *ring_pair, int ring_type) in hns_rcb_ring_init() argument
245 struct hnae_queue *q = &ring_pair->q; in hns_rcb_ring_init()
259 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
261 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
271 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
273 ring_pair->port_id_in_comm + HNS_RCB_TX_PKTLINE_OFFSET); in hns_rcb_ring_init()
1042 struct ring_pair_cb *ring_pair in hns_rcb_get_ring_regs() local
1087 regs[i] = 0xcccccc00 + ring_pair->index; in hns_rcb_get_ring_regs()