From patchwork Mon Jun 10 14:04:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Narendra K X-Patchwork-Id: 250253 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id CF2B62C007C for ; Tue, 11 Jun 2013 00:04:47 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753248Ab3FJOEi (ORCPT ); Mon, 10 Jun 2013 10:04:38 -0400 Received: from ausxippc101.us.dell.com ([143.166.85.207]:59210 "EHLO ausxippc101.us.dell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753193Ab3FJOEg convert rfc822-to-8bit (ORCPT ); Mon, 10 Jun 2013 10:04:36 -0400 X-LoopCount0: from 10.175.216.250 X-IronPort-AV: E=Sophos;i="4.87,837,1363150800"; d="scan'208";a="158186223" From: To: CC: Date: Mon, 10 Jun 2013 19:34:03 +0530 Subject: [PATCH net-next] doc:networking: Update comment for dev_id field in netdevice.h Thread-Topic: [PATCH net-next] doc:networking: Update comment for dev_id field in netdevice.h Thread-Index: Ac5l423FY9Tauyj5QjGpQa470a7DDA== Message-ID: <20130610140325.GA1383@fedora-17-guest.blr.amer.dell.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mutt/1.5.21 (2010-09-15) acceptlanguage: en-US MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch updates the comment for 'dev_id' field in 'include/linux/netdevice.h' to reflect the intended usage of 'dev_id'. References: http://marc.info/?l=linux-netdev&m=136992115300526&w=2 References: http://marc.info/?l=linux-netdev&m=137062569014612&w=2 Signed-off-by: Narendra K Reviewed-by: Ben Hutchings --- include/linux/netdevice.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 8f967e3..a43712e 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1142,8 +1142,10 @@ struct net_device { unsigned char addr_assign_type; /* hw address assignment type */ unsigned char addr_len; /* hardware address length */ unsigned char neigh_priv_len; - unsigned short dev_id; /* for shared network cards */ - + unsigned short dev_id; /* Used to differentiate devices + * that share the same link + * layer address + */ spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; /* Unicast mac addresses */ struct netdev_hw_addr_list mc; /* Multicast mac addresses */