For adapters that support it, this flag improves performance outside of VF
context.
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
HAVE_FLOW_SPEC_IPV6 \
infiniband/verbs.h \
type 'struct ibv_exp_flow_spec_ipv6' $(AUTOCONF_OUTPUT)
+ $Q sh -- '$<' '$@' \
+ HAVE_EXP_QP_BURST_CREATE_ENABLE_MULTI_PACKET_SEND_WR \
+ infiniband/verbs.h \
+ enum IBV_EXP_QP_BURST_CREATE_ENABLE_MULTI_PACKET_SEND_WR \
+ $(AUTOCONF_OUTPUT)
mlx5.o: mlx5_autoconf.h
.intf_scope = IBV_EXP_INTF_GLOBAL,
.intf = IBV_EXP_INTF_QP_BURST,
.obj = tmpl.qp,
+#ifdef HAVE_EXP_QP_BURST_CREATE_ENABLE_MULTI_PACKET_SEND_WR
+ /* Multi packet send WR can only be used outside of VF. */
+ .family_flags =
+ (!priv->vf ?
+ IBV_EXP_QP_BURST_CREATE_ENABLE_MULTI_PACKET_SEND_WR :
+ 0),
+#endif
};
tmpl.if_qp = ibv_exp_query_intf(priv->ctx, &attr.params, &status);
if (tmpl.if_qp == NULL) {