| /dpdk/drivers/net/dpaa2/mc/ |
| H A D | dprtc.c | 36 struct mc_command cmd = { 0 }; in dprtc_open() local 72 struct mc_command cmd = { 0 }; in dprtc_close() local 107 struct mc_command cmd = { 0 }; in dprtc_create() local 149 struct mc_command cmd = { 0 }; in dprtc_destroy() local 174 struct mc_command cmd = { 0 }; in dprtc_enable() local 196 struct mc_command cmd = { 0 }; in dprtc_disable() local 222 struct mc_command cmd = { 0 }; in dprtc_is_enabled() local 253 struct mc_command cmd = { 0 }; in dprtc_reset() local 280 struct mc_command cmd = { 0 }; in dprtc_get_attributes() local 319 struct mc_command cmd = { 0 }; in dprtc_set_clock_offset() local [all …]
|
| H A D | dpdmux.c | 38 struct mc_command cmd = { 0 }; in dpdmux_open() local 75 struct mc_command cmd = { 0 }; in dpdmux_close() local 114 struct mc_command cmd = { 0 }; in dpdmux_create() local 165 struct mc_command cmd = { 0 }; in dpdmux_destroy() local 191 struct mc_command cmd = { 0 }; in dpdmux_enable() local 214 struct mc_command cmd = { 0 }; in dpdmux_disable() local 239 struct mc_command cmd = { 0 }; in dpdmux_is_enabled() local 272 struct mc_command cmd = { 0 }; in dpdmux_reset() local 307 struct mc_command cmd = { 0 }; in dpdmux_set_resetable() local 342 struct mc_command cmd = { 0 }; in dpdmux_get_resetable() local [all …]
|
| H A D | dpni.c | 34 struct mc_command cmd = { 0 }; in dpni_open() local 72 struct mc_command cmd = { 0 }; in dpni_close() local 112 struct mc_command cmd = { 0 }; in dpni_create() local 165 struct mc_command cmd = { 0 }; in dpni_destroy() local 196 struct mc_command cmd = { 0 }; in dpni_set_pools() local 234 struct mc_command cmd = { 0 }; in dpni_enable() local 257 struct mc_command cmd = { 0 }; in dpni_disable() local 282 struct mc_command cmd = { 0 }; in dpni_is_enabled() local 315 struct mc_command cmd = { 0 }; in dpni_reset() local 347 struct mc_command cmd = { 0 }; in dpni_set_irq_enable() local [all …]
|
| /dpdk/drivers/bus/fslmc/mc/ |
| H A D | dpio.c | 35 struct mc_command cmd = { 0 }; in dpio_open() local 68 struct mc_command cmd = { 0 }; in dpio_close() local 108 struct mc_command cmd = { 0 }; in dpio_create() local 153 struct mc_command cmd = { 0 }; in dpio_destroy() local 180 struct mc_command cmd = { 0 }; in dpio_enable() local 203 struct mc_command cmd = { 0 }; in dpio_disable() local 229 struct mc_command cmd = { 0 }; in dpio_is_enabled() local 260 struct mc_command cmd = { 0 }; in dpio_reset() local 286 struct mc_command cmd = { 0 }; in dpio_get_attributes() local 331 struct mc_command cmd = { 0 }; in dpio_set_stashing_destination() local [all …]
|
| H A D | dpbp.c | 35 struct mc_command cmd = { 0 }; in dpbp_open() local 70 struct mc_command cmd = { 0 }; in dpbp_close() local 104 struct mc_command cmd = { 0 }; in dpbp_create() local 139 struct mc_command cmd = { 0 }; in dpbp_destroy() local 164 struct mc_command cmd = { 0 }; in dpbp_enable() local 186 struct mc_command cmd = { 0 }; in dpbp_disable() local 211 struct mc_command cmd = { 0 }; in dpbp_is_enabled() local 242 struct mc_command cmd = { 0 }; in dpbp_reset() local 267 struct mc_command cmd = { 0 }; in dpbp_get_attributes() local 302 struct mc_command cmd = { 0 }; in dpbp_get_api_version() local [all …]
|
| H A D | dpcon.c | 34 struct mc_command cmd = { 0 }; in dpcon_open() local 46 err = mc_send_command(mc_io, &cmd); in dpcon_open() 71 struct mc_command cmd = { 0 }; in dpcon_close() local 110 struct mc_command cmd = { 0 }; in dpcon_create() local 146 struct mc_command cmd = { 0 }; in dpcon_destroy() local 171 struct mc_command cmd = { 0 }; in dpcon_enable() local 194 struct mc_command cmd = { 0 }; in dpcon_disable() local 220 struct mc_command cmd = { 0 }; in dpcon_is_enabled() local 252 struct mc_command cmd = { 0 }; in dpcon_reset() local 277 struct mc_command cmd = { 0 }; in dpcon_get_attributes() local [all …]
|
| H A D | dpci.c | 35 struct mc_command cmd = { 0 }; in dpci_open() local 71 struct mc_command cmd = { 0 }; in dpci_close() local 111 struct mc_command cmd = { 0 }; in dpci_create() local 153 struct mc_command cmd = { 0 }; in dpci_destroy() local 178 struct mc_command cmd = { 0 }; in dpci_enable() local 201 struct mc_command cmd = { 0 }; in dpci_disable() local 227 struct mc_command cmd = { 0 }; in dpci_is_enabled() local 258 struct mc_command cmd = { 0 }; in dpci_reset() local 284 struct mc_command cmd = { 0 }; in dpci_get_attributes() local 325 struct mc_command cmd = { 0 }; in dpci_set_rx_queue() local [all …]
|
| H A D | dpdmai.c | 33 struct mc_command cmd = { 0 }; in dpdmai_open() local 69 struct mc_command cmd = { 0 }; in dpdmai_close() local 108 struct mc_command cmd = { 0 }; in dpdmai_create() local 153 struct mc_command cmd = { 0 }; in dpdmai_destroy() local 178 struct mc_command cmd = { 0 }; in dpdmai_enable() local 201 struct mc_command cmd = { 0 }; in dpdmai_disable() local 227 struct mc_command cmd = { 0 }; in dpdmai_is_enabled() local 259 struct mc_command cmd = { 0 }; in dpdmai_reset() local 285 struct mc_command cmd = { 0 }; in dpdmai_get_attributes() local 331 struct mc_command cmd = { 0 }; in dpdmai_set_rx_queue() local [all …]
|
| H A D | dprc.c | 32 struct mc_command cmd = { 0 }; in dprc_open() local 37 cmd.header = mc_encode_cmd_header(DPRC_CMDID_OPEN, cmd_flags, in dprc_open() 39 cmd_params = (struct dprc_cmd_open *)cmd.params; in dprc_open() 43 err = mc_send_command(mc_io, &cmd); in dprc_open() 48 *token = mc_cmd_hdr_read_token(&cmd); in dprc_open() 68 struct mc_command cmd = { 0 }; in dprc_close() local 75 return mc_send_command(mc_io, &cmd); in dprc_close() 100 struct mc_command cmd = { 0 }; in dprc_get_connection() local 109 cmd_params = (struct dprc_cmd_get_connection *)cmd.params; in dprc_get_connection() 116 err = mc_send_command(mc_io, &cmd); in dprc_get_connection() [all …]
|
| H A D | dpmng.c | 25 struct mc_command cmd = { 0 }; in mc_get_version() local 30 cmd.header = mc_encode_cmd_header(DPMNG_CMDID_GET_VERSION, in mc_get_version() 35 err = mc_send_command(mc_io, &cmd); in mc_get_version() 40 rsp_params = (struct dpmng_rsp_get_version *)cmd.params; in mc_get_version() 65 struct mc_command cmd = { 0 }; in mc_get_soc_version() local 69 cmd.header = mc_encode_cmd_header(DPMNG_CMDID_GET_SOC_VERSION, in mc_get_soc_version() 74 err = mc_send_command(mc_io, &cmd); in mc_get_soc_version() 79 rsp_params = (struct dpmng_rsp_get_soc_version *)cmd.params; in mc_get_soc_version()
|
| H A D | fsl_mc_cmd.h | 86 int mc_send_command(struct fsl_mc_io *mc_io, struct mc_command *cmd); 103 static inline uint16_t mc_cmd_hdr_read_token(struct mc_command *cmd) in mc_cmd_hdr_read_token() argument 105 struct mc_cmd_header *hdr = (struct mc_cmd_header *)&cmd->header; in mc_cmd_hdr_read_token() 111 static inline uint32_t mc_cmd_read_object_id(struct mc_command *cmd) in mc_cmd_read_object_id() argument 115 rsp_params = (struct mc_rsp_create *)cmd->params; in mc_cmd_read_object_id() 119 static inline enum mc_cmd_status mc_cmd_read_status(struct mc_command *cmd) in mc_cmd_read_status() argument 121 struct mc_cmd_header *hdr = (struct mc_cmd_header *)&cmd->header; in mc_cmd_read_status() 134 struct mc_command *cmd) in mc_write_command() argument 136 struct mc_cmd_header *cmd_header = (struct mc_cmd_header *)&cmd->header; in mc_write_command() 142 iowrite64(cmd->params[i], &portal->params[i]); in mc_write_command()
|
| /dpdk/drivers/crypto/dpaa2_sec/mc/ |
| H A D | dpseci.c | 36 struct mc_command cmd = { 0 }; in dpseci_open() local 72 struct mc_command cmd = { 0 }; in dpseci_close() local 112 struct mc_command cmd = { 0 }; in dpseci_create() local 160 struct mc_command cmd = { 0 }; in dpseci_destroy() local 185 struct mc_command cmd = { 0 }; in dpseci_enable() local 208 struct mc_command cmd = { 0 }; in dpseci_disable() local 234 struct mc_command cmd = { 0 }; in dpseci_is_enabled() local 266 struct mc_command cmd = { 0 }; in dpseci_reset() local 292 struct mc_command cmd = { 0 }; in dpseci_get_attributes() local 334 struct mc_command cmd = { 0 }; in dpseci_set_rx_queue() local [all …]
|
| /dpdk/drivers/net/ionic/ |
| H A D | ionic_dev.c | 104 ionic_opcode_to_str(cmd->cmd.opcode), cmd->cmd.opcode); in ionic_dev_cmd_go() 107 iowrite32(cmd->words[i], &idev->dev_cmd->cmd.words[i]); in ionic_dev_cmd_go() 118 union ionic_dev_cmd cmd = { in ionic_dev_cmd_identify() local 129 union ionic_dev_cmd cmd = { in ionic_dev_cmd_init() local 140 union ionic_dev_cmd cmd = { in ionic_dev_cmd_reset() local 152 union ionic_dev_cmd cmd = { in ionic_dev_cmd_port_identify() local 163 union ionic_dev_cmd cmd = { in ionic_dev_cmd_port_init() local 175 union ionic_dev_cmd cmd = { in ionic_dev_cmd_port_reset() local 186 union ionic_dev_cmd cmd = { in ionic_dev_cmd_port_state() local 199 union ionic_dev_cmd cmd = { in ionic_dev_cmd_port_speed() local [all …]
|
| H A D | ionic_main.c | 131 name = ionic_opcode_to_str(ctx->cmd.cmd.opcode); in ionic_adminq_check_err() 137 ctx->cmd.cmd.opcode, in ionic_adminq_check_err() 143 IONIC_PRINT(DEBUG, "%s (%d) succeeded", name, ctx->cmd.cmd.opcode); in ionic_adminq_check_err() 212 memcpy(q_desc, &ctx->cmd, sizeof(ctx->cmd)); in ionic_adminq_post() 264 ionic_opcode_to_str(ctx->cmd.cmd.opcode), ctx->cmd.cmd.opcode); in ionic_adminq_post_wait() 269 ctx->cmd.cmd.opcode, err); in ionic_adminq_post_wait() 293 ioread8(&idev->dev_cmd->cmd.cmd.opcode), in ionic_dev_cmd_wait() 304 ioread8(&idev->dev_cmd->cmd.cmd.opcode), in ionic_dev_cmd_wait()
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_acl.c | 20 struct ice_aqc_acl_alloc_table *cmd; in ice_aq_alloc_acl_tbl() local 44 cmd = &desc.params.alloc_table; in ice_aq_alloc_acl_tbl() 75 cmd = &desc.params.tbl_actpair; in ice_aq_dealloc_acl_tbl() 85 struct ice_aqc_acl_entry *cmd; in ice_aq_acl_entry() local 94 cmd->tcam_index = tcam_idx; in ice_aq_acl_entry() 148 cmd = &desc.params.tbl_actpair; in ice_aq_actpair_a_d() 197 struct ice_aqc_acl_actpair *cmd; in ice_aq_actpair_p_q() local 206 cmd->act_mem_index = act_mem_idx; in ice_aq_actpair_p_q() 393 cmd->bank_alloc = cntrs->bank; in ice_aq_alloc_acl_cntrs() 433 cmd->bank_alloc = cntrs->bank; in ice_aq_dealloc_acl_cntrs() [all …]
|
| H A D | ice_nvm.c | 28 struct ice_aqc_nvm *cmd; in ice_aq_read_nvm() local 32 cmd = &desc.params.nvm; in ice_aq_read_nvm() 48 cmd->length = CPU_TO_LE16(length); in ice_aq_read_nvm() 1067 cmd = &desc.params.nvm_checksum; in ice_nvm_validate_checksum() 1098 cmd = &desc.params.nvm_checksum; in ice_nvm_recalculate_checksum() 1192 offset = cmd->offset; in ice_validate_nvm_rw_reg() 1254 cmd->offset); in ice_nvm_access_read() 1284 switch (cmd->offset) { in ice_nvm_access_write() 1293 cmd->offset, data->regval); in ice_nvm_access_write() 1331 switch (cmd->command) { in ice_handle_nvm_access() [all …]
|
| /dpdk/drivers/net/cxgbe/base/ |
| H A D | t4vf_hw.c | 274 memset(&cmd, 0, sizeof(cmd)); in t4vf_fw_reset() 361 memset(&cmd, 0, sizeof(cmd)); in t4vf_query_params() 457 memset(&cmd, 0, sizeof(cmd)); in t4vf_set_params() 497 memset(&cmd, 0, sizeof(cmd)); in t4vf_get_rss_glb_config() 501 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4vf_get_rss_glb_config() 502 v = t4vf_wr_mbox(adapter, &cmd, sizeof(cmd), &rpl); in t4vf_get_rss_glb_config() 569 memset(&cmd, 0, sizeof(cmd)); in t4vf_get_vfres() 573 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4vf_get_vfres() 632 memset(&cmd, 0, sizeof(cmd)); in t4vf_get_port_stats_fw() 721 memset(&cmd, 0, sizeof(cmd)); in t4vf_alloc_vi() [all …]
|
| /dpdk/drivers/net/i40e/base/ |
| H A D | i40e_nvm.c | 905 cmd->command, cmd->config, cmd->offset, cmd->data_size); in i40e_nvmupd_command() 1407 cmd->data_size); in i40e_nvmupd_validate_command() 1547 if (cmd->offset) in i40e_nvmupd_exec_aq() 1563 if (cmd->offset) { in i40e_nvmupd_exec_aq() 1603 if (cmd->data_size > (aq_total_len - cmd->offset)) { in i40e_nvmupd_get_aq_result() 1617 __func__, cmd->offset, cmd->offset + len); in i40e_nvmupd_get_aq_result() 1700 status = i40e_aq_read_nvm(hw, module, cmd->offset, (u16)cmd->data_size, in i40e_nvmupd_nvm_read() 1705 module, cmd->offset, cmd->data_size); in i40e_nvmupd_nvm_read() 1739 status = i40e_aq_erase_nvm(hw, module, cmd->offset, (u16)cmd->data_size, in i40e_nvmupd_nvm_erase() 1744 module, cmd->offset, cmd->data_size); in i40e_nvmupd_nvm_erase() [all …]
|
| H A D | i40e_common.c | 1804 *cmd = *config; in i40e_aq_set_phy_config() 1930 cmd->params |= in i40e_aq_set_mac_config() 3148 cmd->seid[1] = 0; in i40e_prepare_add_macvlan() 3149 cmd->seid[2] = 0; in i40e_prepare_add_macvlan() 3258 cmd->seid[1] = 0; in i40e_aq_remove_macvlan() 3259 cmd->seid[2] = 0; in i40e_aq_remove_macvlan() 3307 cmd->seid[1] = 0; in i40e_aq_remove_macvlan_v2() 3308 cmd->seid[2] = 0; in i40e_aq_remove_macvlan_v2() 3475 cmd->seid[1] = 0; in i40e_aq_add_vlan() 3476 cmd->seid[2] = 0; in i40e_aq_add_vlan() [all …]
|
| /dpdk/drivers/bus/fslmc/qbman/ |
| H A D | qbman_portal.h | 121 void qbman_swp_mc_submit(struct qbman_swp *p, void *cmd, uint8_t cmd_verb); 122 void qbman_swp_mc_submit_cinh(struct qbman_swp *p, void *cmd, uint8_t cmd_verb); 127 static inline void *qbman_swp_mc_complete(struct qbman_swp *swp, void *cmd, in qbman_swp_mc_complete() argument 132 qbman_swp_mc_submit(swp, cmd, cmd_verb); in qbman_swp_mc_complete() 134 cmd = qbman_swp_mc_result(swp); in qbman_swp_mc_complete() 135 } while (!cmd && loopvar--); in qbman_swp_mc_complete() 138 return cmd; in qbman_swp_mc_complete() 146 qbman_swp_mc_submit_cinh(swp, cmd, cmd_verb); in qbman_swp_mc_complete_cinh() 148 cmd = qbman_swp_mc_result_cinh(swp); in qbman_swp_mc_complete_cinh() 149 } while (!cmd && loopvar--); in qbman_swp_mc_complete_cinh() [all …]
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_bypass_api.h | 89 if ((cmd >> (31 - i)) & 0x01) { in ixgbe_bypass_rw_generic() 206 u32 cmd, verify; in ixgbe_bypass_set_generic() local 211 if (ixgbe_bypass_rw_generic(hw, cmd, &by_ctl)) in ixgbe_bypass_set_generic() 215 cmd = (by_ctl & ~event) | BYPASS_WE | action; in ixgbe_bypass_set_generic() 216 if (ixgbe_bypass_rw_generic(hw, cmd, &by_ctl)) in ixgbe_bypass_set_generic() 220 if ((cmd & BYPASS_PAGE_M) == BYPASS_PAGE_CTL0) { in ixgbe_bypass_set_generic() 246 u32 cmd; in ixgbe_bypass_rd_eep_generic() local 251 cmd = BYPASS_PAGE_CTL2 | BYPASS_WE; in ixgbe_bypass_rd_eep_generic() 253 if (ixgbe_bypass_rw_generic(hw, cmd, &status)) in ixgbe_bypass_rd_eep_generic() 260 cmd &= ~BYPASS_WE; in ixgbe_bypass_rd_eep_generic() [all …]
|
| H A D | ixgbe_bypass.c | 113 u32 cmd; in ixgbe_bypass_state_show() local 120 cmd = BYPASS_PAGE_CTL0; in ixgbe_bypass_state_show() 164 u32 cmd; in ixgbe_bypass_event_show() local 171 cmd = BYPASS_PAGE_CTL0; in ixgbe_bypass_event_show() 282 u32 cmd; in ixgbe_bypass_ver_show() local 290 cmd = BYPASS_PAGE_CTL2 | BYPASS_WE; in ixgbe_bypass_ver_show() 301 cmd &= ~BYPASS_WE; in ixgbe_bypass_ver_show() 317 u32 cmd; in ixgbe_bypass_wd_timeout_show() local 325 cmd = BYPASS_PAGE_CTL0; in ixgbe_bypass_wd_timeout_show() 341 u32 cmd; in ixgbe_bypass_wd_reset() local [all …]
|
| /dpdk/lib/telemetry/ |
| H A D | telemetry.c | 35 char cmd[MAX_CMD_LEN]; member 75 if (strlen(cmd) >= MAX_CMD_LEN || fn == NULL || cmd[0] != '/' in rte_telemetry_register_cmd() 87 while (i < num_callbacks && strcmp(cmd, callbacks[i].cmd) > 0) in rte_telemetry_register_cmd() 94 strlcpy(callbacks[i].cmd, cmd, MAX_CMD_LEN); in rte_telemetry_register_cmd() 232 MAX_CMD_LEN, cmd ? cmd : "none"); in output_json() 236 MAX_CMD_LEN, cmd, in output_json() 241 MAX_CMD_LEN, cmd); in output_json() 288 MAX_CMD_LEN, cmd); in output_json() 336 MAX_CMD_LEN, cmd ? cmd : "none"); in perform_command() 374 if (cmd && strlen(cmd) < MAX_CMD_LEN) { in client_handler() [all …]
|
| /dpdk/drivers/net/bnx2x/ |
| H A D | ecore_sp.c | 1472 enum ecore_vlan_mac_cmd cmd = elem->cmd_data.vlan_mac.cmd; in ecore_vlan_mac_get_registry_elem() local 1543 cmd = elem->cmd_data.vlan_mac.cmd; in ecore_execute_vlan_mac() 1593 cmd = elem->cmd_data.vlan_mac.cmd; in ecore_execute_vlan_mac() 1616 cmd = elem->cmd_data.vlan_mac.cmd; in ecore_execute_vlan_mac() 2302 switch (cmd) { in ecore_mcast_enqueue_cmd() 3673 enum ecore_queue_cmd cmd = params->cmd, bit; in ecore_queue_set_pending() local 3681 bit = cmd; in ecore_queue_set_pending() 4407 enum ecore_queue_cmd cmd = params->cmd; in ecore_queue_chk_transition() local 4589 enum ecore_queue_cmd cmd = params->cmd; in ecore_queue_chk_fwd_transition() local 4769 enum ecore_func_cmd cmd = params->cmd; in ecore_func_chk_transition() local [all …]
|
| /dpdk/drivers/net/hinic/base/ |
| H A D | hinic_pmd_mgmt.c | 108 u8 cmd, u32 msg_id) in prepare_header() argument 120 HINIC_MSG_HEADER_SET(cmd, CMD) | in prepare_header() 272 enum hinic_mod_type mod, u8 cmd, in send_msg_to_mgmt_async() argument 284 direction, cmd, resp_msg_id); in send_msg_to_mgmt_async() 310 enum hinic_mod_type mod, u8 cmd, in send_msg_to_mgmt_sync() argument 331 direction, cmd, resp_msg_id); in send_msg_to_mgmt_sync() 442 if (mod == recv_msg->mod && cmd == recv_msg->cmd && in hinic_pf_to_mgmt_sync() 449 pf_to_mgmt->rx_aeq->q_id, mod, cmd, in hinic_pf_to_mgmt_sync() 451 recv_msg->cmd, recv_msg->msg_id); in hinic_pf_to_mgmt_sync() 564 recv_msg->cmd, recv_msg->msg, in hinic_mgmt_recv_msg_handler() [all …]
|