From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <changchun.ouyang@intel.com> Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id E919F5A32 for <dev@dpdk.org>; Thu, 16 Apr 2015 05:45:36 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 15 Apr 2015 20:45:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,585,1422950400"; d="scan'208";a="696057444" Received: from kmsmsx153.gar.corp.intel.com ([172.21.73.88]) by fmsmga001.fm.intel.com with ESMTP; 15 Apr 2015 20:45:35 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.110.14) by KMSMSX153.gar.corp.intel.com (172.21.73.88) with Microsoft SMTP Server (TLS) id 14.3.224.2; Thu, 16 Apr 2015 11:45:34 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.223]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.80]) with mapi id 14.03.0224.002; Thu, 16 Apr 2015 11:45:32 +0800 From: "Ouyang, Changchun" <changchun.ouyang@intel.com> To: Stephen Hemminger <stephen@networkplumber.org>, "dev@dpdk.org" <dev@dpdk.org> Thread-Topic: [dpdk-dev] [PATCH 3/5] virtio: don't set mac table unless negotiated Thread-Index: AQHQd4/kRGh+p4tZUUS5CO8N4kUcVp1PAFyA Date: Thu, 16 Apr 2015 03:45:32 +0000 Message-ID: <F52918179C57134FAEC9EA62FA2F962511AC1F07@shsmsx102.ccr.corp.intel.com> References: <1429111219-8789-1-git-send-email-stephen@networkplumber.org> <1429111219-8789-4-git-send-email-stephen@networkplumber.org> In-Reply-To: <1429111219-8789-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 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 <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> X-List-Received-Date: Thu, 16 Apr 2015 03:45:37 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Wednesday, April 15, 2015 11:20 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 3/5] virtio: don't set mac table unless negoti= ated >=20 > Don't attempt to set the MAC address table unless the host allows it. > Also, don't return a value from mac_table_set since all callers ignore th= e > return value. >=20 > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Changchun Ouyang <changchun.ouyang@intel.com>