From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Sat, 05 Aug 2006 22:42:18 -0700
> Thomas Graf wrote: > > -/* The struct should be in sync with struct net_device_stats */ > > -struct rtnl_link_stats > > -{ > > - __u32 rx_packets; /* total packets received */ > > - __u32 tx_packets; /* total packets transmitted */ > > - __u32 rx_bytes; /* total bytes received */ > > - __u32 tx_bytes; /* total bytes transmitted */ > > > > Make the packets and byte counts __u64 so if/when we extend net_device > stats to bigger > values, the message format doesn't have to change. It's an existing ABI that he is just moving from one place to another, we are not at liberty to change it's layout. We chould create a new one, but that makes no sense until the device layer actually has the means by which to maintain u64 values. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html