Re: [PATCH 1/7] BNX2I: Separated the hardware's cleanup procedure from ep_disconnect

2010-06-29 Thread Eddie Wai
Hello Mike, You're right. That extra checking for !hba was added recently as defensive programming and it should never hit. I'll remove it in v2. Thanks, Eddie On Tue, 2010-06-29 at 22:53 -0700, Mike Christie wrote: > On 06/25/2010 08:39 PM, Eddie Wai wrote: > > +/** > > + * bnx2i_ep_disconnect

Re: [PATCH 1/7] BNX2I: Separated the hardware's cleanup procedure from ep_disconnect

2010-06-29 Thread Mike Christie
On 06/25/2010 08:39 PM, Eddie Wai wrote: +/** + * bnx2i_ep_disconnect - executes TCP connection teardown process + * @ep:TCP connection (iscsi endpoint) handle + * + * executes TCP connection teardown process + */ +static void bnx2i_ep_disconnect(struct iscsi_endpoint *ep) +{ +

[PATCH 1/7] BNX2I: Separated the hardware's cleanup procedure from ep_disconnect

2010-06-27 Thread Eddie Wai
This patch introduces a new bnx2i_hw_ep_disconnect routine which contains all chip related disconnect and clean up procedure of iSCSI offload connections. This separation is intended as a preparation for the subsequent bnx2i_stop patch. Signed-off-by: Eddie Wai Reviewed-by: Michael Chan Reviewe