commit | 293277215636e1586fcf6386b0b64457c6dfdb68 | [log] [tgz] |
---|---|---|
author | Chien Tung <chien.tin.tung@intel.com> | Mon Aug 23 14:32:36 2010 +0000 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Oct 06 12:59:56 2010 -0700 |
tree | 31837c6cec03965445c3ae78595b501f88bfef61 | |
parent | 4d8d6389b26d8bee06cd706caf1fd3f1ccaa0205 [diff] |
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 <chien.tin.tung@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>