From: Govindarajulu Varadarajan <_govind@gmx.com> Date: Mon, 23 Jun 2014 10:38:04 +0000 (+0530) Subject: enic: add low latency socket busy_poll support X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~270^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14747cd977195a8aae13d0b1ad021e33c8786afe;p=pandora-kernel.git enic: add low latency socket busy_poll support This patch adds support for low latency busy_poll. * Introduce drivers ndo_busy_poll function enic_busy_poll, which is called by socket waiting for data. * Introduce locking between napi_poll nad busy_poll * enic_busy_poll cleans up all the rx pkts possible. While in busy_poll, rq holds the state ENIC_POLL_STATE_POLL. While in napi_poll, rq holds the state ENIC_POLL_STATE_NAPI. * in napi_poll we return if we are in busy_poll. Incase of INTx & msix, we just service wq and return if busy_poll is going on. Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com> Signed-off-by: David S. Miller --- Reading git-diff-tree failed