Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhnae.h338 #define hnae_buf_size(_ring) ((_ring)->buf_size) macro
339 #define hnae_page_order(_ring) (get_order(hnae_buf_size(_ring)))
Dhns_enet.c418 hnae_buf_size(ring) == HNS_BUFFER_SIZE_2048); in hns_nic_reuse_page()
424 truesize = hnae_buf_size(ring); in hns_nic_reuse_page()
427 last_offset = hnae_page_size(ring) - hnae_buf_size(ring); in hns_nic_reuse_page()