From: Kumar Sanghvi Date: Wed, 18 Dec 2013 11:08:19 +0000 (+0530) Subject: cxgb4: Reserve stid 0 for T4/T5 adapters X-Git-Tag: v3.13-rc7~13^2~18^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6f8eaece6d5f0247931b6dac140e6cf876f48de;p=pandora-kernel.git cxgb4: Reserve stid 0 for T4/T5 adapters When creating offload server entries, an IPv6 passive connection request can trigger a reply with a null STID, whereas the driver would expect the reply 'STID to match the value used for the request. This happens due to h/w limitation on T4 and T5. This patch ensures that STID 0 is never used if the stid range starts from zero. Based on original work by Santosh Rastapur Signed-off-by: Kumar Sanghvi Signed-off-by: Hariprasad Shenai Signed-off-by: David S. Miller --- Reading git-diff-tree failed