|
@@ -84,30 +84,7 @@ struct usnic_ib_qp_grp_flow {
|
|
|
char dentry_name[32];
|
|
|
};
|
|
|
|
|
|
-static const struct
|
|
|
-usnic_vnic_res_spec min_transport_spec[USNIC_TRANSPORT_MAX] = {
|
|
|
- { /*USNIC_TRANSPORT_UNKNOWN*/
|
|
|
- .resources = {
|
|
|
- {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,},
|
|
|
- },
|
|
|
- },
|
|
|
- { /*USNIC_TRANSPORT_ROCE_CUSTOM*/
|
|
|
- .resources = {
|
|
|
- {.type = USNIC_VNIC_RES_TYPE_WQ, .cnt = 1,},
|
|
|
- {.type = USNIC_VNIC_RES_TYPE_RQ, .cnt = 1,},
|
|
|
- {.type = USNIC_VNIC_RES_TYPE_CQ, .cnt = 1,},
|
|
|
- {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,},
|
|
|
- },
|
|
|
- },
|
|
|
- { /*USNIC_TRANSPORT_IPV4_UDP*/
|
|
|
- .resources = {
|
|
|
- {.type = USNIC_VNIC_RES_TYPE_WQ, .cnt = 1,},
|
|
|
- {.type = USNIC_VNIC_RES_TYPE_RQ, .cnt = 1,},
|
|
|
- {.type = USNIC_VNIC_RES_TYPE_CQ, .cnt = 1,},
|
|
|
- {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,},
|
|
|
- },
|
|
|
- },
|
|
|
-};
|
|
|
+extern const struct usnic_vnic_res_spec min_transport_spec[USNIC_TRANSPORT_MAX];
|
|
|
|
|
|
const char *usnic_ib_qp_grp_state_to_string(enum ib_qp_state state);
|
|
|
int usnic_ib_qp_grp_dump_hdr(char *buf, int buf_sz);
|