From: "Ramachandra K" <ramachandra.kuchimanchi@qlogic.com>
To: "Roland Dreier" <rdreier@cisco.com>
Cc: netdev@vger.kernel.org, amar.mudrankit@qlogic.com,
general@lists.openfabrics.org, poornima.kamath@qlogic.com
Subject: Re: [ofa-general] Re: [PATCH v2 03/13] QLogic VNIC: Implementation of communication protocol with EVIC/VEx
Date: Wed, 28 May 2008 19:48:28 +0530 [thread overview]
Message-ID: <71d336490805280718j79c3ea24j4408b851eb0a23ab@mail.gmail.com> (raw)
In-Reply-To: <adaod6rq9o1.fsf@cisco.com>
Roland,
Thanks. Will fix both the items you pointed out.
Regards,
Ram
On Wed, May 28, 2008 at 10:58 AM, Roland Dreier <rdreier@cisco.com> wrote:
> > +void viport_disconnect(struct viport *viport)
> > +{
> > + VIPORT_FUNCTION("viport_disconnect()\n");
> > + viport->disconnect = 1;
> > + viport_failure(viport);
> > + wait_event(viport->disconnect_queue, viport->disconnect == 0);
> > +}
> > +
> > +void viport_free(struct viport *viport)
> > +{
> > + VIPORT_FUNCTION("viport_free()\n");
> > + viport_disconnect(viport); /* NOTE: this can sleep */
>
> There are no other calls to viport_disconnect() that I can see, so it
> can be made static (and the declaration in vnic_viport.h can be dropped).
> in fact given how small the function is and the fact that it has only a
> single call site, it might be easier just to merge it into
> viport_free(). But that's a matter of taste.
>
> - R.
> _______________________________________________
> general mailing list
> general@lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>
next prev parent reply other threads:[~2008-05-28 14:18 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-19 10:31 [ofa-general] [PATCH v2 00/13] QLogic VNIC Driver Ramachandra K
2008-05-19 10:31 ` [ofa-general] [PATCH v2 01/13] QLogic VNIC: Driver - netdev implementation Ramachandra K
2008-05-19 10:32 ` [ofa-general] [PATCH v2 02/13] QLogic VNIC: Netpath - abstraction of connection to EVIC/VEx Ramachandra K
2008-05-19 10:32 ` [ofa-general] [PATCH v2 03/13] QLogic VNIC: Implementation of communication protocol with EVIC/VEx Ramachandra K
2008-05-28 5:28 ` [ofa-general] " Roland Dreier
2008-05-28 14:18 ` Ramachandra K [this message]
2008-05-19 10:33 ` [ofa-general] [PATCH v2 04/13] QLogic VNIC: Implementation of Control path of communication protocol Ramachandra K
2008-05-19 10:33 ` [ofa-general] [PATCH v2 05/13] QLogic VNIC: Implementation of Data " Ramachandra K
2008-05-19 10:34 ` [ofa-general] [PATCH v2 06/13] QLogic VNIC: IB core stack interaction Ramachandra K
2008-05-19 10:34 ` [ofa-general] [PATCH v2 07/13] QLogic VNIC: Handling configurable parameters of the driver Ramachandra K
2008-05-19 10:35 ` [PATCH v2 08/13] QLogic VNIC: sysfs interface implementation for " Ramachandra K
2008-05-28 5:26 ` [ofa-general] " Roland Dreier
2008-05-19 10:35 ` [ofa-general] [PATCH v2 09/13] QLogic VNIC: IB Multicast for Ethernet broadcast/multicast Ramachandra K
2008-05-19 10:36 ` [ofa-general] [PATCH v2 10/13] QLogic VNIC: Driver Statistics collection Ramachandra K
2008-05-19 10:37 ` [PATCH v2 11/13] QLogic VNIC: Driver utility file - implements various utility macros Ramachandra K
2008-05-19 10:37 ` [ofa-general] [PATCH v2 12/13] QLogic VNIC: Driver Kconfig and Makefile Ramachandra K
2008-05-25 22:43 ` [ofa-general] " Roland Dreier
2008-05-26 7:37 ` Ramachandra K
2008-05-26 21:47 ` Roland Dreier
2008-05-27 6:23 ` Ramachandra K
2008-05-27 18:26 ` Roland Dreier
2008-05-19 10:38 ` [ofa-general] [PATCH v2 13/13] QLogic VNIC: Modifications to IB " Ramachandra K
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=71d336490805280718j79c3ea24j4408b851eb0a23ab@mail.gmail.com \
--to=ramachandra.kuchimanchi@qlogic.com \
--cc=amar.mudrankit@qlogic.com \
--cc=general@lists.openfabrics.org \
--cc=netdev@vger.kernel.org \
--cc=poornima.kamath@qlogic.com \
--cc=rdreier@cisco.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;
as well as URLs for NNTP newsgroup(s).