[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1308897644.11000.12.camel@Joe-Laptop>
Date: Thu, 23 Jun 2011 23:40:44 -0700
From: Joe Perches <joe@...ches.com>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Cc: davem@...emloft.net, Alexander Duyck <alexander.h.duyck@...el.com>,
netdev@...r.kernel.org, gospo@...hat.com
Subject: Re: [net-next 03/11] ixgbe: update perfect filter framework to
support retaining filters
On Thu, 2011-06-23 at 23:03 -0700, Jeff Kirsher wrote:
> From: Alexander Duyck <alexander.h.duyck@...el.com>
Just trivia
> diff --git a/drivers/net/ixgbe/ixgbe_82599.c b/drivers/net/ixgbe/ixgbe_82599.c
[]
> @@ -1484,6 +1427,101 @@ s32 ixgbe_fdir_add_signature_filter_82599(struct ixgbe_hw *hw,
> return 0;
> }
>
> +#define IXGBE_COMPUTE_BKT_HASH_ITERATION(_n) \
> +do { \
> + u32 n = (_n); \
> + if (IXGBE_ATR_BUCKET_HASH_KEY & (0x01 << n)) \
> + bucket_hash ^= lo_hash_dword >> n; \
> + if (IXGBE_ATR_BUCKET_HASH_KEY & (0x01 << (n + 16))) \
> + bucket_hash ^= hi_hash_dword >> n; \
> +} while (0);
Don't need ; after while (0)
--
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