From: Hariprasad Shenai Date: Wed, 4 Feb 2015 10:02:52 +0000 (+0530) Subject: cxgb4: Add low latency socket busy_poll support X-Git-Tag: fixes-v4.0-rc1~150^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a336cb17183b29827fdffaffb5e62f8912f5ca1;p=pandora-kernel.git cxgb4: Add low latency socket busy_poll support cxgb_busy_poll, corresponding to ndo_busy_poll, gets called by the socket waiting for data. With busy_poll enabled, improvement is seen in latency numbers as observed by collecting netperf TCP_RR numbers. Below are latency number, with and without busy-poll, in a switched environment for a particular msg size: netperf command: netperf -4 -H -l 30 -t TCP_RR -- -r1,1 Latency without busy-poll: ~16.25 us Latency with busy-poll : ~08.79 us Based on original work by Kumar Sanghvi Signed-off-by: Hariprasad Shenai Signed-off-by: David S. Miller --- Reading git-diff-tree failed