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 CA3FE1B53 for ; Mon, 28 Aug 2017 14:30:22 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Aug 2017 05:30:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,441,1498546800"; d="scan'208";a="123238595" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.57]) ([10.237.220.57]) by orsmga004.jf.intel.com with ESMTP; 28 Aug 2017 05:30:21 -0700 To: Gaetan Rivet , dev@dpdk.org References: <1502985129-7461-1-git-send-email-gaetan.rivet@6wind.com> <1503493530-22569-1-git-send-email-gaetan.rivet@6wind.com> From: Ferruh Yigit Message-ID: <5c15047f-8776-c8cd-25cd-50ce03187c51@intel.com> Date: Mon, 28 Aug 2017 13:30:20 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1503493530-22569-1-git-send-email-gaetan.rivet@6wind.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] net/failsafe: safer subdev iterator 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: Mon, 28 Aug 2017 12:30:23 -0000 On 8/23/2017 2:05 PM, Gaetan Rivet wrote: > The sub_device iterator macro should follow the general gist of the > tailq API for an easier understanding and safer use. > > Once the loop has finished, the iterator should be set to NULL. > If no sub_device was iterated upon, the iterator should still be NULL. > > Signed-off-by: Gaetan Rivet Applied to dpdk-next-net/master, thanks.