AltraMayor / AltraMayor/gatekeeper
Adopting rte_pktmbuf_read()
Open
enhancement
- Dominant language
- C
- Stars
- 1.6k
- Forks
- 252
- PR merge metrics
- No merged PRs in 30d
Description
We have written Gatekeeper without using `rte_pktmbuf_read()`, so the code assumes that the headers that need to be inspected are in the first segment of the `struct rte_mbuf` and the code explicitly checks that there are still bytes to be read in the packet whenever a new header must be inspected. Our code can drop that assumption and simplify the buffer size verification adopting `rte_pktmbuf_read()`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.