AltraMayor / AltraMayor/gatekeeper
Adopting rte_pktmbuf_read()
Ouverte
enhancement
- Langage dominant
- C
- Étoiles
- 1.6k
- Forks
- 252
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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()`.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.