[dpdk-dev] [PATCH v2] net/failsafe: safer subdev iterator

Ferruh Yigit ferruh.yigit at intel.com
Mon Aug 28 14:30:20 CEST 2017


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 <gaetan.rivet at 6wind.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list