On Fri, 04 Aug 2006 23:23:14 -0700 (PDT)
David Miller <[EMAIL PROTECTED]> wrote:

> 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.

Yeah that makes sense, I thought it was a new interface.

-- 
Stephen Hemminger <[EMAIL PROTECTED]>
"And in the Packet there writ down that doome"
-
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

Reply via email to