[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <adazlk4n6vb.fsf@cisco.com>
Date: Wed, 12 Nov 2008 10:20:40 -0800
From: Roland Dreier <rdreier@...co.com>
To: Steve Wise <swise@...ngridcomputing.com>
Cc: jeff@...zik.org, divy@...lsio.com, wenxiong@...ibm.com,
general@...ts.openfabrics.org, netdev@...r.kernel.org
Subject: Re: [PATCH 2.6.28] RDMA/cxgb3: deadlock in iw_cxgb3 can cause hang when configuring interface.
Looks good, applied.
However, I think it's a little yucky to call ethtool ops without rtnl,
although it is of course perfectly safe in this case. It might be nicer
to introduce a new cxgb3 <-> iw_cxgb3 interface that returns the
firmware version, which can also be used to implement the get_drvinfo
ethtool op as well. That would let you avoid fw_vers_string_to_u64() as
well -- it is a little silly at the moment how cxgb3 converts to a
string and then iw_cxgb3 parses that string.
But that's all much lower priority than just fixing a deadlock.
- R.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists