Re: [PATCH V3 1/5] cxgb4: Add T4 filter support

2012-12-10 Thread Vipul Pandya
On 04-12-2012 00:32, David Miller wrote: From: Vipul Pandya vi...@chelsio.com Date: Mon, 3 Dec 2012 16:52:57 +0530 +/* + * If the new or old filter have loopback rewriteing rules then we'll + * need to free any existing Layer Two Table (L2T) entries of the old + * filter

[PATCH V3 1/5] cxgb4: Add T4 filter support

2012-12-03 Thread Vipul Pandya
The T4 architecture is capable of filtering ingress packets at line rate using the rule in TCAM. If packet hits a rule in the TCAM then it can be either dropped or passed to the receive queues based on a rule settings. This patch adds framework for managing filters and to use T4's filter

Re: [PATCH V3 1/5] cxgb4: Add T4 filter support

2012-12-03 Thread David Miller
From: Vipul Pandya vi...@chelsio.com Date: Mon, 3 Dec 2012 16:52:57 +0530 + /* + * If the new or old filter have loopback rewriteing rules then we'll + * need to free any existing Layer Two Table (L2T) entries of the old + * filter rule. The firmware will handle freeing