From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 87C941B1A7 for ; Tue, 9 Jan 2018 16:52:43 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2018 07:52:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,336,1511856000"; d="scan'208";a="9048891" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga007.jf.intel.com with ESMTP; 09 Jan 2018 07:52:42 -0800 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 9 Jan 2018 07:52:41 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 9 Jan 2018 07:52:41 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.152]) with mapi id 14.03.0319.002; Tue, 9 Jan 2018 23:52:39 +0800 From: "Wang, Xiao W" To: Thomas Monjalon CC: "yliu@fridaylinux.org" , "Bie, Tiwei" , "dev@dpdk.org" , "stephen@networkplumber.org" Thread-Topic: [PATCH v8 3/5] net: add a helper for making RARP packet Thread-Index: AQHTiU2uRuKuA09NaEK4g7q8rfv4w6NrCGqAgACofPA= Date: Tue, 9 Jan 2018 15:52:39 +0000 Message-ID: References: <20180109142651.84582-4-xiao.w.wang@intel.com> <20180109132654.3504-1-xiao.w.wang@intel.com> <20180109132654.3504-4-xiao.w.wang@intel.com> <3112517.GnCYoIETns@xps> In-Reply-To: <3112517.GnCYoIETns@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjhkYTdjNDgtNWRiZi00YTkxLWE1NjktYzUzZTFmMTM5NDMwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiI5RTVTcXdFT0pDMXBSb0tHRnJnSlJDZjluWUZPdHF3WXh1UmVSOWVwS1ZBaCtXQ0xmMFlrR0lNSTZLVmFoU1FPIn0= dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action 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 v8 3/5] net: add a helper for making RARP packet X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2018 15:52:43 -0000 Hi, > -----Original Message----- > From: Thomas Monjalon [mailto:thomas@monjalon.net] > Sent: Tuesday, January 9, 2018 9:49 PM > To: Wang, Xiao W > Cc: yliu@fridaylinux.org; Bie, Tiwei ; dev@dpdk.org; > stephen@networkplumber.org > Subject: Re: [PATCH v8 3/5] net: add a helper for making RARP packet >=20 > 09/01/2018 14:26, Xiao Wang: > > +/** > > + * Make a RARP packet based on MAC addr. > > + * > > + * @param mbuf > > + * Pointer to the rte_mbuf structure > > + * @param mac > > + * Pointer to the MAC addr > > + * > > + * @return > > + * - 0 on success, negative on error > > + */ > > +int > > +rte_net_make_rarp_packet(struct rte_mbuf *mbuf, const struct ether_add= r > *mac); >=20 > I think we should apply the new policy of introducting functions > with the experimental state. OK, will change it soon. Thanks, Xiao