Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.c641 struct rcb_common_cb *rcb_common, u32 port_idx, u32 coalesced_frames) in hns_rcb_set_tx_coalesced_frames() argument
647 if (coalesced_frames == old_waterline) in hns_rcb_set_tx_coalesced_frames()
650 if (coalesced_frames != 1) { in hns_rcb_set_tx_coalesced_frames()
657 dsaf_write_dev(rcb_common, reg, coalesced_frames); in hns_rcb_set_tx_coalesced_frames()
671 struct rcb_common_cb *rcb_common, u32 port_idx, u32 coalesced_frames) in hns_rcb_set_rx_coalesced_frames() argument
676 if (coalesced_frames == old_waterline) in hns_rcb_set_rx_coalesced_frames()
679 if (coalesced_frames >= rcb_common->desc_num || in hns_rcb_set_rx_coalesced_frames()
680 coalesced_frames > HNS_RCB_MAX_COALESCED_FRAMES || in hns_rcb_set_rx_coalesced_frames()
681 coalesced_frames < HNS_RCB_MIN_COALESCED_FRAMES) { in hns_rcb_set_rx_coalesced_frames()
688 coalesced_frames); in hns_rcb_set_rx_coalesced_frames()
Dhns_dsaf_rcb.h145 struct rcb_common_cb *rcb_common, u32 port_idx, u32 coalesced_frames);
147 struct rcb_common_cb *rcb_common, u32 port_idx, u32 coalesced_frames);