Lines Matching refs:xn_params
781 struct idpf_vc_xn_params xn_params = {}; in idpf_send_ver_msg() local
795 xn_params.vc_op = VIRTCHNL2_OP_VERSION; in idpf_send_ver_msg()
796 xn_params.send_buf.iov_base = &vvi; in idpf_send_ver_msg()
797 xn_params.send_buf.iov_len = sizeof(vvi); in idpf_send_ver_msg()
798 xn_params.recv_buf = xn_params.send_buf; in idpf_send_ver_msg()
799 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_ver_msg()
801 reply_sz = idpf_vc_xn_exec(adapter, &xn_params); in idpf_send_ver_msg()
843 struct idpf_vc_xn_params xn_params = {}; in idpf_send_get_caps_msg() local
901 xn_params.vc_op = VIRTCHNL2_OP_GET_CAPS; in idpf_send_get_caps_msg()
902 xn_params.send_buf.iov_base = ∩︀ in idpf_send_get_caps_msg()
903 xn_params.send_buf.iov_len = sizeof(caps); in idpf_send_get_caps_msg()
904 xn_params.recv_buf.iov_base = &adapter->caps; in idpf_send_get_caps_msg()
905 xn_params.recv_buf.iov_len = sizeof(adapter->caps); in idpf_send_get_caps_msg()
906 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_get_caps_msg()
908 reply_sz = idpf_vc_xn_exec(adapter, &xn_params); in idpf_send_get_caps_msg()
1244 struct idpf_vc_xn_params xn_params = {}; in idpf_send_create_vport_msg() local
1287 xn_params.vc_op = VIRTCHNL2_OP_CREATE_VPORT; in idpf_send_create_vport_msg()
1288 xn_params.send_buf.iov_base = vport_msg; in idpf_send_create_vport_msg()
1289 xn_params.send_buf.iov_len = buf_size; in idpf_send_create_vport_msg()
1290 xn_params.recv_buf.iov_base = adapter->vport_params_recvd[idx]; in idpf_send_create_vport_msg()
1291 xn_params.recv_buf.iov_len = IDPF_CTLQ_MAX_BUF_LEN; in idpf_send_create_vport_msg()
1292 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_create_vport_msg()
1293 reply_sz = idpf_vc_xn_exec(adapter, &xn_params); in idpf_send_create_vport_msg()
1364 struct idpf_vc_xn_params xn_params = {}; in idpf_send_destroy_vport_msg() local
1370 xn_params.vc_op = VIRTCHNL2_OP_DESTROY_VPORT; in idpf_send_destroy_vport_msg()
1371 xn_params.send_buf.iov_base = &v_id; in idpf_send_destroy_vport_msg()
1372 xn_params.send_buf.iov_len = sizeof(v_id); in idpf_send_destroy_vport_msg()
1373 xn_params.timeout_ms = IDPF_VC_XN_MIN_TIMEOUT_MSEC; in idpf_send_destroy_vport_msg()
1374 reply_sz = idpf_vc_xn_exec(vport->adapter, &xn_params); in idpf_send_destroy_vport_msg()
1388 struct idpf_vc_xn_params xn_params = {}; in idpf_send_enable_vport_msg() local
1394 xn_params.vc_op = VIRTCHNL2_OP_ENABLE_VPORT; in idpf_send_enable_vport_msg()
1395 xn_params.send_buf.iov_base = &v_id; in idpf_send_enable_vport_msg()
1396 xn_params.send_buf.iov_len = sizeof(v_id); in idpf_send_enable_vport_msg()
1397 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_enable_vport_msg()
1398 reply_sz = idpf_vc_xn_exec(vport->adapter, &xn_params); in idpf_send_enable_vport_msg()
1412 struct idpf_vc_xn_params xn_params = {}; in idpf_send_disable_vport_msg() local
1418 xn_params.vc_op = VIRTCHNL2_OP_DISABLE_VPORT; in idpf_send_disable_vport_msg()
1419 xn_params.send_buf.iov_base = &v_id; in idpf_send_disable_vport_msg()
1420 xn_params.send_buf.iov_len = sizeof(v_id); in idpf_send_disable_vport_msg()
1421 xn_params.timeout_ms = IDPF_VC_XN_MIN_TIMEOUT_MSEC; in idpf_send_disable_vport_msg()
1422 reply_sz = idpf_vc_xn_exec(vport->adapter, &xn_params); in idpf_send_disable_vport_msg()
1438 struct idpf_vc_xn_params xn_params = {}; in idpf_send_config_tx_queues_msg() local
1521 xn_params.vc_op = VIRTCHNL2_OP_CONFIG_TX_QUEUES; in idpf_send_config_tx_queues_msg()
1522 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_config_tx_queues_msg()
1530 xn_params.send_buf.iov_base = ctq; in idpf_send_config_tx_queues_msg()
1531 xn_params.send_buf.iov_len = buf_sz; in idpf_send_config_tx_queues_msg()
1532 reply_sz = idpf_vc_xn_exec(vport->adapter, &xn_params); in idpf_send_config_tx_queues_msg()
1557 struct idpf_vc_xn_params xn_params = {}; in idpf_send_config_rx_queues_msg() local
1673 xn_params.vc_op = VIRTCHNL2_OP_CONFIG_RX_QUEUES; in idpf_send_config_rx_queues_msg()
1674 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_config_rx_queues_msg()
1682 xn_params.send_buf.iov_base = crq; in idpf_send_config_rx_queues_msg()
1683 xn_params.send_buf.iov_len = buf_sz; in idpf_send_config_rx_queues_msg()
1684 reply_sz = idpf_vc_xn_exec(vport->adapter, &xn_params); in idpf_send_config_rx_queues_msg()
1712 struct idpf_vc_xn_params xn_params = {}; in idpf_send_ena_dis_queues_msg() local
1814 xn_params.vc_op = VIRTCHNL2_OP_ENABLE_QUEUES; in idpf_send_ena_dis_queues_msg()
1815 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_ena_dis_queues_msg()
1817 xn_params.vc_op = VIRTCHNL2_OP_DISABLE_QUEUES; in idpf_send_ena_dis_queues_msg()
1818 xn_params.timeout_ms = IDPF_VC_XN_MIN_TIMEOUT_MSEC; in idpf_send_ena_dis_queues_msg()
1828 xn_params.send_buf.iov_base = eq; in idpf_send_ena_dis_queues_msg()
1829 xn_params.send_buf.iov_len = buf_sz; in idpf_send_ena_dis_queues_msg()
1830 reply_sz = idpf_vc_xn_exec(vport->adapter, &xn_params); in idpf_send_ena_dis_queues_msg()
1857 struct idpf_vc_xn_params xn_params = {}; in idpf_send_map_unmap_queue_vector_msg() local
1942 xn_params.vc_op = VIRTCHNL2_OP_MAP_QUEUE_VECTOR; in idpf_send_map_unmap_queue_vector_msg()
1943 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_map_unmap_queue_vector_msg()
1945 xn_params.vc_op = VIRTCHNL2_OP_UNMAP_QUEUE_VECTOR; in idpf_send_map_unmap_queue_vector_msg()
1946 xn_params.timeout_ms = IDPF_VC_XN_MIN_TIMEOUT_MSEC; in idpf_send_map_unmap_queue_vector_msg()
1951 xn_params.send_buf.iov_base = vqvm; in idpf_send_map_unmap_queue_vector_msg()
1952 xn_params.send_buf.iov_len = buf_sz; in idpf_send_map_unmap_queue_vector_msg()
1957 reply_sz = idpf_vc_xn_exec(vport->adapter, &xn_params); in idpf_send_map_unmap_queue_vector_msg()
2045 struct idpf_vc_xn_params xn_params = {}; in idpf_send_delete_queues_msg() local
2073 xn_params.vc_op = VIRTCHNL2_OP_DEL_QUEUES; in idpf_send_delete_queues_msg()
2074 xn_params.timeout_ms = IDPF_VC_XN_MIN_TIMEOUT_MSEC; in idpf_send_delete_queues_msg()
2075 xn_params.send_buf.iov_base = eq; in idpf_send_delete_queues_msg()
2076 xn_params.send_buf.iov_len = buf_size; in idpf_send_delete_queues_msg()
2077 reply_sz = idpf_vc_xn_exec(vport->adapter, &xn_params); in idpf_send_delete_queues_msg()
2115 struct idpf_vc_xn_params xn_params = {}; in idpf_send_add_queues_msg() local
2136 xn_params.vc_op = VIRTCHNL2_OP_ADD_QUEUES; in idpf_send_add_queues_msg()
2137 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_add_queues_msg()
2138 xn_params.send_buf.iov_base = &aq; in idpf_send_add_queues_msg()
2139 xn_params.send_buf.iov_len = sizeof(aq); in idpf_send_add_queues_msg()
2140 xn_params.recv_buf.iov_base = vc_msg; in idpf_send_add_queues_msg()
2141 xn_params.recv_buf.iov_len = IDPF_CTLQ_MAX_BUF_LEN; in idpf_send_add_queues_msg()
2142 reply_sz = idpf_vc_xn_exec(vport->adapter, &xn_params); in idpf_send_add_queues_msg()
2175 struct idpf_vc_xn_params xn_params = {}; in idpf_send_alloc_vectors_msg() local
2187 xn_params.vc_op = VIRTCHNL2_OP_ALLOC_VECTORS; in idpf_send_alloc_vectors_msg()
2188 xn_params.send_buf.iov_base = ∾ in idpf_send_alloc_vectors_msg()
2189 xn_params.send_buf.iov_len = sizeof(ac); in idpf_send_alloc_vectors_msg()
2190 xn_params.recv_buf.iov_base = rcvd_vec; in idpf_send_alloc_vectors_msg()
2191 xn_params.recv_buf.iov_len = IDPF_CTLQ_MAX_BUF_LEN; in idpf_send_alloc_vectors_msg()
2192 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_alloc_vectors_msg()
2193 reply_sz = idpf_vc_xn_exec(adapter, &xn_params); in idpf_send_alloc_vectors_msg()
2229 struct idpf_vc_xn_params xn_params = {}; in idpf_send_dealloc_vectors_msg() local
2235 xn_params.vc_op = VIRTCHNL2_OP_DEALLOC_VECTORS; in idpf_send_dealloc_vectors_msg()
2236 xn_params.send_buf.iov_base = vcs; in idpf_send_dealloc_vectors_msg()
2237 xn_params.send_buf.iov_len = buf_size; in idpf_send_dealloc_vectors_msg()
2238 xn_params.timeout_ms = IDPF_VC_XN_MIN_TIMEOUT_MSEC; in idpf_send_dealloc_vectors_msg()
2239 reply_sz = idpf_vc_xn_exec(adapter, &xn_params); in idpf_send_dealloc_vectors_msg()
2270 struct idpf_vc_xn_params xn_params = {}; in idpf_send_set_sriov_vfs_msg() local
2274 xn_params.vc_op = VIRTCHNL2_OP_SET_SRIOV_VFS; in idpf_send_set_sriov_vfs_msg()
2275 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_set_sriov_vfs_msg()
2276 xn_params.send_buf.iov_base = &svi; in idpf_send_set_sriov_vfs_msg()
2277 xn_params.send_buf.iov_len = sizeof(svi); in idpf_send_set_sriov_vfs_msg()
2278 reply_sz = idpf_vc_xn_exec(adapter, &xn_params); in idpf_send_set_sriov_vfs_msg()
2294 struct idpf_vc_xn_params xn_params = {}; in idpf_send_get_stats_msg() local
2304 xn_params.vc_op = VIRTCHNL2_OP_GET_STATS; in idpf_send_get_stats_msg()
2305 xn_params.send_buf.iov_base = &stats_msg; in idpf_send_get_stats_msg()
2306 xn_params.send_buf.iov_len = sizeof(stats_msg); in idpf_send_get_stats_msg()
2307 xn_params.recv_buf = xn_params.send_buf; in idpf_send_get_stats_msg()
2308 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_get_stats_msg()
2310 reply_sz = idpf_vc_xn_exec(vport->adapter, &xn_params); in idpf_send_get_stats_msg()
2349 struct idpf_vc_xn_params xn_params = {}; in idpf_send_get_set_rss_lut_msg() local
2364 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_get_set_rss_lut_msg()
2365 xn_params.send_buf.iov_base = rl; in idpf_send_get_set_rss_lut_msg()
2366 xn_params.send_buf.iov_len = buf_size; in idpf_send_get_set_rss_lut_msg()
2372 xn_params.vc_op = VIRTCHNL2_OP_GET_RSS_LUT; in idpf_send_get_set_rss_lut_msg()
2373 xn_params.recv_buf.iov_base = recv_rl; in idpf_send_get_set_rss_lut_msg()
2374 xn_params.recv_buf.iov_len = IDPF_CTLQ_MAX_BUF_LEN; in idpf_send_get_set_rss_lut_msg()
2380 xn_params.vc_op = VIRTCHNL2_OP_SET_RSS_LUT; in idpf_send_get_set_rss_lut_msg()
2382 reply_sz = idpf_vc_xn_exec(vport->adapter, &xn_params); in idpf_send_get_set_rss_lut_msg()
2424 struct idpf_vc_xn_params xn_params = {}; in idpf_send_get_set_rss_key_msg() local
2438 xn_params.send_buf.iov_base = rk; in idpf_send_get_set_rss_key_msg()
2439 xn_params.send_buf.iov_len = buf_size; in idpf_send_get_set_rss_key_msg()
2440 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_get_set_rss_key_msg()
2446 xn_params.vc_op = VIRTCHNL2_OP_GET_RSS_KEY; in idpf_send_get_set_rss_key_msg()
2447 xn_params.recv_buf.iov_base = recv_rk; in idpf_send_get_set_rss_key_msg()
2448 xn_params.recv_buf.iov_len = IDPF_CTLQ_MAX_BUF_LEN; in idpf_send_get_set_rss_key_msg()
2454 xn_params.vc_op = VIRTCHNL2_OP_SET_RSS_KEY; in idpf_send_get_set_rss_key_msg()
2457 reply_sz = idpf_vc_xn_exec(vport->adapter, &xn_params); in idpf_send_get_set_rss_key_msg()
2555 struct idpf_vc_xn_params xn_params = {}; in idpf_send_get_rx_ptype_msg() local
2580 xn_params.vc_op = VIRTCHNL2_OP_GET_PTYPE_INFO; in idpf_send_get_rx_ptype_msg()
2581 xn_params.send_buf.iov_base = get_ptype_info; in idpf_send_get_rx_ptype_msg()
2582 xn_params.send_buf.iov_len = sizeof(*get_ptype_info); in idpf_send_get_rx_ptype_msg()
2583 xn_params.recv_buf.iov_base = ptype_info; in idpf_send_get_rx_ptype_msg()
2584 xn_params.recv_buf.iov_len = IDPF_CTLQ_MAX_BUF_LEN; in idpf_send_get_rx_ptype_msg()
2585 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_get_rx_ptype_msg()
2597 reply_sz = idpf_vc_xn_exec(adapter, &xn_params); in idpf_send_get_rx_ptype_msg()
2767 struct idpf_vc_xn_params xn_params = {}; in idpf_send_ena_dis_loopback_msg() local
2774 xn_params.vc_op = VIRTCHNL2_OP_LOOPBACK; in idpf_send_ena_dis_loopback_msg()
2775 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_send_ena_dis_loopback_msg()
2776 xn_params.send_buf.iov_base = &loopback; in idpf_send_ena_dis_loopback_msg()
2777 xn_params.send_buf.iov_len = sizeof(loopback); in idpf_send_ena_dis_loopback_msg()
2778 reply_sz = idpf_vc_xn_exec(vport->adapter, &xn_params); in idpf_send_ena_dis_loopback_msg()
3591 struct idpf_vc_xn_params xn_params = {}; in idpf_add_del_mac_filters() local
3598 xn_params.vc_op = add ? VIRTCHNL2_OP_ADD_MAC_ADDR : in idpf_add_del_mac_filters()
3600 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_add_del_mac_filters()
3601 xn_params.async = async; in idpf_add_del_mac_filters()
3602 xn_params.async_handler = idpf_mac_filter_async_handler; in idpf_add_del_mac_filters()
3677 xn_params.send_buf.iov_base = ma_list; in idpf_add_del_mac_filters()
3678 xn_params.send_buf.iov_len = buf_size; in idpf_add_del_mac_filters()
3679 reply_sz = idpf_vc_xn_exec(adapter, &xn_params); in idpf_add_del_mac_filters()
3704 struct idpf_vc_xn_params xn_params = {}; in idpf_set_promiscuous() local
3717 xn_params.vc_op = VIRTCHNL2_OP_CONFIG_PROMISCUOUS_MODE; in idpf_set_promiscuous()
3718 xn_params.timeout_ms = IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC; in idpf_set_promiscuous()
3719 xn_params.send_buf.iov_base = &vpi; in idpf_set_promiscuous()
3720 xn_params.send_buf.iov_len = sizeof(vpi); in idpf_set_promiscuous()
3722 xn_params.async = true; in idpf_set_promiscuous()
3723 reply_sz = idpf_vc_xn_exec(adapter, &xn_params); in idpf_set_promiscuous()