Re: [RFC-v2 10/12] iser-target: Add logic for verbs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2013-04-02 at 23:09 +0300, Or Gerlitz wrote:
> On Sat, Mar 23, 2013 at 1:55 AM, Nicholas A. Bellinger
> <nab@xxxxxxxxxxxxxxx> wrote:
> [...]
> > +static void
> > +isert_qp_event_callback(struct ib_event *e, void *context)
> > +{
> > +       struct isert_conn *isert_conn = (struct isert_conn *)context;
> > +
> > +       pr_err("isert_qp_event_callback event: %d\n", e->event);
> > +       switch (e->event) {
> > +       case IB_EVENT_COMM_EST:
> > +               rdma_notify(isert_conn->conn_cm_id, IB_EVENT_COMM_EST);
> > +               break;
> > +       default:
> > +               break;
> > +       }
> > +}
> [...]
> > +static void
> > +isert_cq_event_callback(struct ib_event *e, void *context)
> > +{
> > +       pr_debug("isert_cq_event_callback event: %d\n", e->event);
> > +
> > +       switch (e->event) {
> > +       case IB_EVENT_QP_LAST_WQE_REACHED:
> > +               pr_warn("Reached TX IB_EVENT_QP_LAST_WQE_REACHED:\n");
> > +               break;
> > +       default:
> > +               pr_warn("Unknown e->event; %d\n", e->event);
> > +               break;
> > +       }
> > +}
> 
> This is QP not CQ event, move the case for it to QP event hander
> isert_qp_event_callback

Done.

Thanks Or!

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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux