Re: [PATCH v2 net-next 06/12] qed: Add LL2 slowpath handling

2017-10-08 Thread David Miller
From: "Kalderon, Michal" Date: Tue, 3 Oct 2017 18:05:32 + > From: David Miller > Sent: Tuesday, October 3, 2017 8:17 PM >>> @@ -423,6 +423,41 @@ static void qed_ll2_rxq_parse_reg(struct qed_hwfn >>> *p_hwfn, >>> } >>> >>> static int >>>

Re: [PATCH v2 net-next 06/12] qed: Add LL2 slowpath handling

2017-10-05 Thread Kalderon, Michal
From: linux-rdma-ow...@vger.kernel.org on behalf of David Miller >From: "Kalderon, Michal" >Date: Thu, 5 Oct 2017 20:27:22 + > >> The spinlock is required for the case that rx buffers are posted >> from a

Re: [PATCH v2 net-next 06/12] qed: Add LL2 slowpath handling

2017-10-05 Thread David Miller
From: "Kalderon, Michal" Date: Thu, 5 Oct 2017 20:27:22 + > The spinlock is required for the case that rx buffers are posted > from a different thread, where it could be run simultaneously to the > rxq_completion. This only brings us back to my original argument,

Re: [PATCH v2 net-next 06/12] qed: Add LL2 slowpath handling

2017-10-05 Thread Kalderon, Michal
From: David Miller Sent: Thursday, October 5, 2017 10:06 PM >> From: Kalderon, Michal >> Sent: Tuesday, October 3, 2017 9:05 PM >> To: David Miller >>>From: David Miller >>>Sent: Tuesday, October 3, 2017 8:17 PM > @@ -423,6 +423,41 @@ static void

Re: [PATCH v2 net-next 06/12] qed: Add LL2 slowpath handling

2017-10-05 Thread David Miller
From: "Kalderon, Michal" Date: Thu, 5 Oct 2017 18:59:04 + > From: Kalderon, Michal > Sent: Tuesday, October 3, 2017 9:05 PM > To: David Miller >>From: David Miller >>Sent: Tuesday, October 3, 2017 8:17 PM @@ -423,6 +423,41 @@ static void

Re: [PATCH v2 net-next 06/12] qed: Add LL2 slowpath handling

2017-10-05 Thread Kalderon, Michal
From: Kalderon, Michal Sent: Tuesday, October 3, 2017 9:05 PM To: David Miller >From: David Miller >Sent: Tuesday, October 3, 2017 8:17 PM >>> @@ -423,6 +423,41 @@ static void qed_ll2_rxq_parse_reg(struct qed_hwfn >>> *p_hwfn, >>> } >>> >>> static int >>>

Re: [PATCH v2 net-next 06/12] qed: Add LL2 slowpath handling

2017-10-03 Thread Kalderon, Michal
From: Leon Romanovsky Sent: Tuesday, October 3, 2017 4:26 PM >On Tue, Oct 03, 2017 at 11:54:56AM +0300, Michal Kalderon wrote: >> For iWARP unaligned MPA flow, a slowpath event of flushing an >> MPA connection that entered an unaligned state is required. >> The flush ramrod is

Re: [PATCH v2 net-next 06/12] qed: Add LL2 slowpath handling

2017-10-03 Thread Kalderon, Michal
From: David Miller Sent: Tuesday, October 3, 2017 8:17 PM >> @@ -423,6 +423,41 @@ static void qed_ll2_rxq_parse_reg(struct qed_hwfn >> *p_hwfn, >> } >> >> static int >> +qed_ll2_handle_slowpath(struct qed_hwfn *p_hwfn, >> + struct qed_ll2_info

Re: [PATCH v2 net-next 06/12] qed: Add LL2 slowpath handling

2017-10-03 Thread David Miller
From: Michal Kalderon Date: Tue, 3 Oct 2017 11:54:56 +0300 > @@ -423,6 +423,41 @@ static void qed_ll2_rxq_parse_reg(struct qed_hwfn > *p_hwfn, > } > > static int > +qed_ll2_handle_slowpath(struct qed_hwfn *p_hwfn, > + struct qed_ll2_info

Re: [PATCH v2 net-next 06/12] qed: Add LL2 slowpath handling

2017-10-03 Thread Leon Romanovsky
On Tue, Oct 03, 2017 at 11:54:56AM +0300, Michal Kalderon wrote: > For iWARP unaligned MPA flow, a slowpath event of flushing an > MPA connection that entered an unaligned state is required. > The flush ramrod is received on the ll2 queue, and a pre-registered > callback function is called to

[PATCH v2 net-next 06/12] qed: Add LL2 slowpath handling

2017-10-03 Thread Michal Kalderon
For iWARP unaligned MPA flow, a slowpath event of flushing an MPA connection that entered an unaligned state is required. The flush ramrod is received on the ll2 queue, and a pre-registered callback function is called to handle the flush event. Signed-off-by: Michal Kalderon