Subject: Re: [PATCH] dropmon: add ability to detect when hardware dropsrxpackets

From: Stephen Hemminger <[email-masked]>
Date: Fri, 15 May 2009 11:18:52 -0700

> +#define is_drop_point_hw(x) do {\
> +	int ____i, ____j;\
> +	for (____i = 0; ____i < 8; i ____i++)\
> +		____j |= x[____i];\
> +	____j;\
> +} while (0)

Would this code be less ugly if it were an inline function?