From: Mike Christie <michaelc@cs.wisc.edu>
To: Bhanu Gollapudi <bprakash@broadcom.com>
Cc: "James.Bottomley@suse.de" <James.Bottomley@suse.de>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"devel@open-fcoe.org" <devel@open-fcoe.org>,
Michael Chan <mchan@broadcom.com>
Subject: Re: [v5 PATCH 2/4] bnx2fc: Firmware interface and ELS handling
Date: Wed, 02 Feb 2011 21:58:42 -0600 [thread overview]
Message-ID: <4D4A27F2.7090502@cs.wisc.edu> (raw)
In-Reply-To: <1296704494.268.549.camel@LTLNR-SJCE10.corp.ad.broadcom.com>
On 02/02/2011 09:41 PM, Bhanu Gollapudi wrote:
>>
>>> + spin_unlock_bh(&fps->fp_work_lock);
>>> +
>>> + /* Pending work request completion */
>>> + if (fps->iothread&& work)
>>> + wake_up_process(fps->iothread);
>>
>>
>> This looks like blk io poll but with a thread instead of a softirq. Use
>> what is in the kernel already.
>
> I'll have to take a look at implementation details of blk io poll. This
> will be a change in IO path, and I'll have to do a lot of testing. So, I
> cannot promise I can do this change in v6 submittal. Probably will stage
> it later.
Did you just add the completion in a thread code? I do not remember it
being there before.
What is the benefit?
It seems like if you just call bnx2fc_process_cq_compl from here then
you go from
network driver isr-> wake network soft irq -> network soft irq -> calls
driver then driver ends up calling bnx2fc_process_new_cqes?
Why do you want to push that to another thread? And then have that
thread push it to another soft irq (the block irq)?
Are you not supposed to do a lot of work in the network soft irq or did
I misread the code that this gets run from the network driver isr?
prev parent reply other threads:[~2011-02-03 3:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-29 2:00 [v5 PATCH 2/4] bnx2fc: Firmware interface and ELS handling Bhanu Gollapudi
2011-02-02 8:35 ` Mike Christie
2011-02-03 3:41 ` Bhanu Gollapudi
2011-02-03 3:58 ` Mike Christie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D4A27F2.7090502@cs.wisc.edu \
--to=michaelc@cs.wisc.edu \
--cc=James.Bottomley@suse.de \
--cc=bprakash@broadcom.com \
--cc=devel@open-fcoe.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mchan@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox