From: Chien Tung Date: Mon, 23 Aug 2010 14:32:36 +0000 (+0000) Subject: RDMA/nes: Report correct port state if interface is down X-Git-Tag: v2.6.37-rc1~95^2^10~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=293277215636e1586fcf6386b0b64457c6dfdb68;p=pandora-kernel.git RDMA/nes: Report correct port state if interface is down With commit cd6860eb ("RDMA/nes: Fix hangs on ifdown") we no longer remove nes interfaces on ifdown. On nes_query_port(), add an additional check of the netdev queue and report IB_PORT_DOWN if the queue is not running. Signed-off-by: Chien Tung Signed-off-by: Roland Dreier --- Reading git-diff-tree failed