public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Shlomo Pongratz <shlomop-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: "Marciniszyn,
	Mike" <mike.marciniszyn-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	"roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org"
	<roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH V3 for-next 3/5] IB/ipoib: Move to multi-queue device
Date: Sun, 24 Mar 2013 13:12:25 +0200	[thread overview]
Message-ID: <514EDF99.7000305@mellanox.com> (raw)
In-Reply-To: <32E1700B9017364D9B60AED9960492BC0D5C7875-AtyAts71sc88Ug9VwtkbtrfspsVTdybXVpNB7YpNyf8@public.gmane.org>

On 3/9/2013 4:04 PM, Marciniszyn, Mike wrote:
> This patch will conflict with http://marc.info/?l=linux-rdma&m=136190765729001&w=2.
>
> Mike
>> -----Original Message-----
>> From: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org [mailto:linux-rdma-
>> owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org] On Behalf Of Or Gerlitz
>> Sent: Thursday, March 07, 2013 12:11 PM
>> To: roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
>> Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Shlomo Pongratz
>> Subject: [PATCH V3 for-next 3/5] IB/ipoib: Move to multi-queue device
Hi Mike,

You didn't mentioned but you have changed the order of the call to 
"netif_stop_queue" and the call to "ib_req_notify_cq", by placing the 
"netif_stop_queue" before the call to "ib_req_notify_cq".

IMO you've solved a theoretical bug in which the the handler might be 
called and finish before the call to the call to "netif_stop_queue", 
which would result in a stopped queue.
I guess the same reordering should be done in "ipoib_ib.c::ipoib_send".

Thanks.

S.P.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-03-24 11:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-07 17:11 [PATCH V3 for-next 0/5] IB/IPoIB: Add multi-queue TSS and RSS support Or Gerlitz
     [not found] ` <1362676288-19906-1-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-03-07 17:11   ` [PATCH V3 for-next 1/5] IB/core: Add RSS and TSS QP groups Or Gerlitz
2013-03-07 17:11   ` [PATCH V3 for-next 2/5] IB/mlx4: Add support for " Or Gerlitz
2013-03-07 17:11   ` [PATCH V3 for-next 3/5] IB/ipoib: Move to multi-queue device Or Gerlitz
     [not found]     ` <1362676288-19906-4-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-03-09 14:04       ` Marciniszyn, Mike
     [not found]         ` <32E1700B9017364D9B60AED9960492BC0D5C7875-AtyAts71sc88Ug9VwtkbtrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-03-14 20:51           ` Or Gerlitz
     [not found]             ` <CAJZOPZ+xHqWT6vrbpYoakM_h=BBYsxq-CaXSNSHchvQ1wu66kQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-14 20:53               ` Marciniszyn, Mike
2013-03-24 11:12           ` Shlomo Pongratz [this message]
2013-03-07 17:11   ` [PATCH V3 for-next 4/5] IB/ipoib: Add RSS and TSS support for datagram mode Or Gerlitz
2013-03-07 17:11   ` [PATCH V3 for-next 5/5] IB/ipoib: Support changing the number of RX/TX rings with ethtool Or Gerlitz
2013-03-18 19:14   ` [PATCH V3 for-next 0/5] IB/IPoIB: Add multi-queue TSS and RSS support Or Gerlitz
     [not found]     ` <CAJZOPZJ_runtaQnj+3n03FniBR83AeRD+Lh_2tn_1XZ0F2wKYg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-19 18:57       ` Hefty, Sean
     [not found]         ` <1828884A29C6694DAF28B7E6B8A823736F366357-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-03-24 12:44           ` Or Gerlitz
     [not found]             ` <514EF53F.3000200-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-04-01 21:50               ` Or Gerlitz
     [not found]                 ` <CAJZOPZLbj+YxbELMRh9TioWptHG88Qz2VfzGTsreB+PFTdkNPA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-03 19:45                   ` Or Gerlitz
     [not found]                     ` <CAJZOPZJ3G3weqAmaTytVAgQTvfiSOjgnZ_ROk4osRv8fxuRWwA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-03 20:12                       ` Hefty, Sean
     [not found]                         ` <1828884A29C6694DAF28B7E6B8A823736F36B547-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-04-03 20:14                           ` Or Gerlitz
2013-04-09 14:07                           ` Or Gerlitz
     [not found]                             ` <5164209D.1060101-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-04-09 17:06                               ` Hefty, Sean
     [not found]                                 ` <1828884A29C6694DAF28B7E6B8A823736F36D0E1-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-04-09 20:41                                   ` Or Gerlitz

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=514EDF99.7000305@mellanox.com \
    --to=shlomop-vpraknaxozvwk0htik3j/w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mike.marciniszyn-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    /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