Lines Matching refs:fw_msg
407 static void bnxt_re_fill_fw_msg(struct bnxt_fw_msg *fw_msg, void *msg, in bnxt_re_fill_fw_msg() argument
411 fw_msg->msg = msg; in bnxt_re_fill_fw_msg()
412 fw_msg->msg_len = msg_len; in bnxt_re_fill_fw_msg()
413 fw_msg->resp = resp; in bnxt_re_fill_fw_msg()
414 fw_msg->resp_max_len = resp_max_len; in bnxt_re_fill_fw_msg()
415 fw_msg->timeout = timeout; in bnxt_re_fill_fw_msg()
424 struct bnxt_fw_msg fw_msg; in bnxt_re_net_ring_free() local
430 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_ring_free()
435 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_net_ring_free()
437 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_ring_free()
451 struct bnxt_fw_msg fw_msg; in bnxt_re_net_ring_alloc() local
457 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_ring_alloc()
472 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_net_ring_alloc()
474 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_ring_alloc()
486 struct bnxt_fw_msg fw_msg; in bnxt_re_net_stats_ctx_free() local
492 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_stats_ctx_free()
496 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&req, in bnxt_re_net_stats_ctx_free()
498 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_stats_ctx_free()
513 struct bnxt_fw_msg fw_msg; in bnxt_re_net_stats_ctx_alloc() local
521 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_stats_ctx_alloc()
528 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_net_stats_ctx_alloc()
530 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_stats_ctx_alloc()
1108 struct bnxt_fw_msg fw_msg; in bnxt_re_query_hwrm_pri2cos() local
1116 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_query_hwrm_pri2cos()
1124 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_query_hwrm_pri2cos()
1126 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_query_hwrm_pri2cos()
1298 struct bnxt_fw_msg fw_msg; in bnxt_re_query_hwrm_intf_version() local
1301 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_query_hwrm_intf_version()
1307 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_query_hwrm_intf_version()
1309 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_query_hwrm_intf_version()