2014-10-01 10:49, Pablo de Lara:
> + /* Reset dev info structure */
> + memset(dev_info, 0, sizeof(struct rte_eth_dev_info));
It's typically the kind of situation where a comment is not needed :)
--
Thomas
To guarantee that RX/TX configuration structures are reseted
before modifying them, plus the other dev info fields,
dev info structure is zeroed beforehand.
Signed-off-by: Pablo de Lara
---
lib/librte_ether/rte_ethdev.c |7 +++
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git
2 matches
Mail list logo