Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dcmsg.c432 unsigned int mtu, req_max, reply_max, entry_sz; in nfp_bpf_ctrl_cmsg_cache_cnt() local
436 req_max = (mtu - sizeof(struct cmsg_req_map_op)) / entry_sz; in nfp_bpf_ctrl_cmsg_cache_cnt()
439 return min3(req_max, reply_max, NFP_BPF_MAP_CACHE_CNT); in nfp_bpf_ctrl_cmsg_cache_cnt()