From: Ben Hutchings Date: Tue, 7 Dec 2010 19:11:26 +0000 (+0000) Subject: sfc: Generalise filter spec initialisation X-Git-Tag: v2.6.38-rc1~476^2~275^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c39d35ebffeea5996a6f8fd8430fae9acfb8aeaf;p=pandora-kernel.git sfc: Generalise filter spec initialisation Move search_depth arrays into per-table state. Define initialisation function efx_filter_init_rx() which sets everything apart from the match fields. Define efx_filter_set_{ipv4_local,ipv4_full,eth_local}() to set the match fields. This allows some simplification of callers and later support for additional protocols and more flexible matching using multiple calls to these functions. Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed