From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id C1FE6B3D6 for ; Fri, 12 Jun 2015 03:31:04 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 11 Jun 2015 18:31:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,598,1427785200"; d="scan'208";a="586405440" Received: from kmsmsx153.gar.corp.intel.com ([172.21.73.88]) by orsmga003.jf.intel.com with ESMTP; 11 Jun 2015 18:31:03 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by KMSMSX153.gar.corp.intel.com (172.21.73.88) with Microsoft SMTP Server (TLS) id 14.3.224.2; Fri, 12 Jun 2015 09:31:01 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.165]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.168]) with mapi id 14.03.0224.002; Fri, 12 Jun 2015 09:31:00 +0800 From: "Ouyang, Changchun" To: Stephen Hemminger Thread-Topic: [PATCH 3/5] virtio: don't set mac table unless negotiated Thread-Index: AQHQpF7IbdXlE6vS0UOJs0uFJDLOvZ2oFghQ Date: Fri, 12 Jun 2015 01:30:59 +0000 Message-ID: References: <1434038007-8964-1-git-send-email-stephen@networkplumber.org> <1434038007-8964-4-git-send-email-stephen@networkplumber.org> In-Reply-To: <1434038007-8964-4-git-send-email-stephen@networkplumber.org> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" , Stephen Hemminger Subject: Re: [dpdk-dev] [PATCH 3/5] virtio: don't set mac table unless negotiated X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 01:31:05 -0000 > -----Original Message----- > From: Stephen Hemminger [mailto:stephen@networkplumber.org] > Sent: Thursday, June 11, 2015 11:53 PM > To: Ouyang, Changchun > Cc: dev@dpdk.org; Stephen Hemminger; Stephen Hemminger > Subject: [PATCH 3/5] virtio: don't set mac table unless negotiated >=20 > From: Stephen Hemminger >=20 > Don't attempt to set the MAC address table unless the host allows it in > feature negotiation. Also, don't return a value from mac_table_set since = all > callers ignore the return value. >=20 > Signed-off-by: Stephen Hemminger Acked-by: Changchun Ouyang