[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090515111852.5ec2c371@nehalam>
Date: Fri, 15 May 2009 11:18:52 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Neil Horman <nhorman@...driver.com>
Cc: Jiri Pirko <jpirko@...hat.com>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Eric Dumazet <dada1@...mosbay.com>, netdev@...r.kernel.org,
davem@...emloft.net
Subject: Re: [PATCH] dropmon: add ability to detect when hardware
dropsrxpackets
> +#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?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists