From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161392AbcA0VJy (ORCPT ); Wed, 27 Jan 2016 16:09:54 -0500 Received: from mail-pf0-f178.google.com ([209.85.192.178]:33669 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965748AbcA0VJt (ORCPT ); Wed, 27 Jan 2016 16:09:49 -0500 Message-ID: <1453928987.20722.29.camel@edumazet-glaptop2.roam.corp.google.com> Subject: Re: [PATCH net 0/4] net: add rx_unhandled stat counter From: Eric Dumazet To: Jarod Wilson Cc: linux-kernel@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jiri Pirko , Daniel Borkmann , Tom Herbert , Jay Vosburgh , Veaceslav Falico , Andy Gospodarek , netdev@vger.kernel.org Date: Wed, 27 Jan 2016 13:09:47 -0800 In-Reply-To: <1453926098-40181-1-git-send-email-jarod@redhat.com> References: <1453489882-57948-1-git-send-email-jarod@redhat.com> <1453926098-40181-1-git-send-email-jarod@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2016-01-27 at 15:21 -0500, Jarod Wilson wrote: > diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h > index 289c231..7973ab5 100644 > --- a/include/linux/netdevice.h > +++ b/include/linux/netdevice.h > @@ -180,6 +180,7 @@ struct net_device_stats { > unsigned long tx_window_errors; > unsigned long rx_compressed; > unsigned long tx_compressed; > + unsigned long rx_unhandled; > }; > This structure is deprecated, please do not add new fields in it, as it will increase netlink answers for no good reason. rtnl_link_stats64 is what really matters these days.