Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c33 #define BD_MAX_SEND_SIZE 8191 macro
251 buf_num = (size + BD_MAX_SEND_SIZE - 1) / BD_MAX_SEND_SIZE; in hns_nic_maybe_stop_tso()
257 buf_num += (size + BD_MAX_SEND_SIZE - 1) / BD_MAX_SEND_SIZE; in hns_nic_maybe_stop_tso()
261 buf_num = (skb->len + BD_MAX_SEND_SIZE - 1) / BD_MAX_SEND_SIZE; in hns_nic_maybe_stop_tso()
296 frag_buf_num = (size + BD_MAX_SEND_SIZE - 1) / BD_MAX_SEND_SIZE; in fill_tso_desc()
297 sizeoflast = size % BD_MAX_SEND_SIZE; in fill_tso_desc()
298 sizeoflast = sizeoflast ? sizeoflast : BD_MAX_SEND_SIZE; in fill_tso_desc()
304 sizeoflast : BD_MAX_SEND_SIZE, in fill_tso_desc()
305 dma + BD_MAX_SEND_SIZE * k, in fill_tso_desc()