All of lore.kernel.org
 help / color / mirror / Atom feed
* Statistics consistency
@ 2019-03-13 14:31 Matteo Croce
  0 siblings, 0 replies; only message in thread
From: Matteo Croce @ 2019-03-13 14:31 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-13 14:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-13 14:31 Statistics consistency Matteo Croce

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.