From: Govindarajulu Varadarajan <_govind@gmx.com> Date: Mon, 23 Jun 2014 10:38:02 +0000 (+0530) Subject: enic: Add Accelerated RFS support X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~270^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a145df23ef32c7b933875f334ba28791ee75766e;p=pandora-kernel.git enic: Add Accelerated RFS support This patch adds supports for Accelerated Receive Flow Steering. When the desired rx is different from current rq, for a flow, kernel calls the driver function enic_rx_flow_steer(). enic_rx_flow_steer adds a IP-TCP/UDP hardware filter. Driver registers a timer function enic_flow_may_expire. This function is called every HZ/4 seconds. In this function we check if the added filter has expired by calling rps_may_expire_flow(). If the flow has expired, it removes the hw filter. As of now adaptor supports only IPv4 - TCP/UDP filters. Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com> Signed-off-by: David S. Miller --- Reading git-diff-tree failed