[dpdk-dev] Statistics consistency
Matteo Croce
mcroce at redhat.com
Wed Mar 13 15:31:27 CET 2019
Hi,
I noticed that the statistics field for short packet is spelled
differently between drivers:
src/dpdk$ git grep -E '"rx_undersized?_errors"'
drivers/net/e1000/igb_ethdev.c: {"rx_undersize_errors",
offsetof(struct e1000_hw_stats, ruc)},
drivers/net/i40e/i40e_ethdev.c: {"rx_undersized_errors",
offsetof(struct i40e_hw_port_stats,
drivers/net/ice/ice_ethdev.c: {"rx_undersized_errors",
offsetof(struct ice_hw_port_stats,
drivers/net/ixgbe/ixgbe_ethdev.c: {"rx_undersize_errors",
offsetof(struct ixgbe_hw_stats, ruc)},
Is this an intended behaviour? Should the fields be aligned?
Regards,
--
Matteo Croce
per aspera ad upstream
More information about the dev
mailing list