Semantics of iWARP verb - newconn (FreeBSD11.1 and FreeBSD10.4 releases)

Somayajulu, David David.Somayajulu at cavium.com
Tue Jun 19 02:21:56 UTC 2018


Hi All,
I would appreciate if you can provide the semantics of the iWARP verb "newconn" (please see below from file sys/ofed/include/rdma/iw_cm.h). The description in the revision log for the commit when it was introduced is not clear to me https://svnweb.freebsd.org/base?view=revision&revision=294610 .


struct iw_cm_verbs {

        void            (*add_ref)(struct ib_qp *qp);

        void            (*rem_ref)(struct ib_qp *qp);

        struct ib_qp *  (*get_qp)(struct ib_device *device,

                                  int qpn);

        int             (*connect)(struct iw_cm_id *cm_id,

                                   struct iw_cm_conn_param *conn_param);

        int             (*accept)(struct iw_cm_id *cm_id,

                                  struct iw_cm_conn_param *conn_param);

        int             (*reject)(struct iw_cm_id *cm_id,

                                  const void *pdata, u8 pdata_len);

        int             (*create_listen_ep)(struct iw_cm_id *cm_id,

                                         int backlog);

        void            (*destroy_listen_ep)(struct iw_cm_id *cm_id);

        void            (*newconn)(struct iw_cm_id *parent_cm_id,

                                                struct socket *so);

};



I don't see "newconn" in "struct iw_cm_verbs" in Stable_11 and CURRENT. Also, it is not present in the OFED distributions on Linux. Is this a FreeBSD specific feature added to OFED?





Thanks

David S. (davidcs at freebsd.org<mailto:davidcs at freebsd.org>)




More information about the freebsd-net mailing list