MCPcopy 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
140static __rte_always_inline __attribute__((pure)) uint8_t
141bits_in_nh(uint8_t nh_sz)
142{
143 return 8 * (1 << nh_sz);
144}
145
146static __rte_always_inline __attribute__((pure)) uint64_t
147get_max_nh(uint8_t nh_sz)

Callers 1

get_max_nhFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected