Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ bits_in_nh
Function
bits_in_nh
dpdk/app/test-fib/main.c:140–144 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
138
}
139
140
static __rte_always_inline __attribute__((pure)) uint8_t
141
bits_in_nh(uint8_t nh_sz)
142
{
143
return 8 * (1 << nh_sz);
144
}
145
146
static __rte_always_inline __attribute__((pure)) uint64_t
147
get_max_nh(uint8_t nh_sz)
Callers
1
get_max_nh
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected