Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 225) sorted by relevance

123456789

/dpdk/drivers/net/ngbe/base/
H A Dngbe_mng.c175 memset(&command, 0, sizeof(command)); in ngbe_hic_sr_read()
218 memset(&command, 0, sizeof(command)); in ngbe_hic_sr_write()
251 memset(&command, 0, sizeof(command)); in ngbe_hic_pcie_read()
253 command.hdr.buf_len = sizeof(command) - sizeof(command.hdr); in ngbe_hic_pcie_read()
256 command.addr = addr; in ngbe_hic_pcie_read()
283 memset(&command, 0, sizeof(command)); in ngbe_hic_pcie_write()
285 command.hdr.buf_len = sizeof(command) - sizeof(command.hdr); in ngbe_hic_pcie_write()
313 command.length = 0; in ngbe_hic_check_cap()
317 sizeof(command), in ngbe_hic_check_cap()
350 command.length = 0; in ngbe_phy_led_oem_chk()
[all …]
H A Dngbe_phy.c253 u32 command, data; in ngbe_read_phy_reg_mdi() local
256 command = NGBE_MDIOSCA_REG(reg_addr) | in ngbe_read_phy_reg_mdi()
259 wr32(hw, NGBE_MDIOSCA, command); in ngbe_read_phy_reg_mdi()
261 command = NGBE_MDIOSCD_CMD_READ | in ngbe_read_phy_reg_mdi()
264 wr32(hw, NGBE_MDIOSCD, command); in ngbe_read_phy_reg_mdi()
319 u32 command; in ngbe_write_phy_reg_mdi() local
322 command = NGBE_MDIOSCA_REG(reg_addr) | in ngbe_write_phy_reg_mdi()
325 wr32(hw, NGBE_MDIOSCA, command); in ngbe_write_phy_reg_mdi()
327 command = NGBE_MDIOSCD_CMD_WRITE | in ngbe_write_phy_reg_mdi()
331 wr32(hw, NGBE_MDIOSCD, command); in ngbe_write_phy_reg_mdi()
/dpdk/drivers/crypto/caam_jr/
H A Dcaam_jr_desc.h47 (descriptor)->deschdr.command.word = 0xB0801C0D; \
66 (descriptor)->load_dpovrd.command.word = 0x16870004; \
94 ((descriptor)->seq_in.command.field.sgf = 1)
101 ((descriptor)->seq_out.command.field.sgf = 1)
109 (descriptor))->command.sd.desclen : \
165 } __rte_packed command; member
186 } __rte_packed command; member
201 } __rte_packed command; member
222 } __rte_packed command; member
241 } __rte_packed command; member
[all …]
/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_mng.c192 struct txgbe_hic_read_shadow_ram command; in txgbe_hic_sr_read() local
199 memset(&command, 0, sizeof(command)); in txgbe_hic_sr_read()
201 command.hdr.req.buf_lenh = 0; in txgbe_hic_sr_read()
204 command.address = cpu_to_be32(addr); in txgbe_hic_sr_read()
205 command.length = cpu_to_be16(len); in txgbe_hic_sr_read()
235 struct txgbe_hic_write_shadow_ram command; in txgbe_hic_sr_write() local
242 memset(&command, 0, sizeof(command)); in txgbe_hic_sr_write()
244 command.hdr.req.buf_lenh = 0; in txgbe_hic_sr_write()
247 command.address = cpu_to_be32(addr); in txgbe_hic_sr_write()
248 command.length = cpu_to_be16(len); in txgbe_hic_sr_write()
[all …]
/dpdk/examples/vm_power_manager/
H A Dchannel_monitor.c178 pkt->command = RTE_POWER_PKT_POLICY; in parse_json_to_pkt()
199 char command[32]; in parse_json_to_pkt() local
201 if (!strcmp(command, "power")) { in parse_json_to_pkt()
202 pkt->command = RTE_POWER_CPU_POWER; in parse_json_to_pkt()
204 pkt->command = RTE_POWER_PKT_POLICY; in parse_json_to_pkt()
213 char command[32]; in parse_json_to_pkt() local
215 if (!strcmp(command, "TIME")) { in parse_json_to_pkt()
233 char command[32]; in parse_json_to_pkt() local
235 if (!strcmp(command, "HIGH")) { in parse_json_to_pkt()
812 uint32_t command) in send_ack_for_received_cmd() argument
[all …]
/dpdk/drivers/net/ark/
H A Dark_mpu.c56 mpu->cfg.command = MPU_CMD_STOP; in ark_mpu_stop()
62 mpu->cfg.command = MPU_CMD_RUN; in ark_mpu_start()
70 mpu->cfg.command = MPU_CMD_RESET; in ark_mpu_reset()
73 while (mpu->cfg.command != MPU_CMD_IDLE) { in ark_mpu_reset()
78 if (mpu->cfg.command != MPU_CMD_IDLE) { in ark_mpu_reset()
79 mpu->cfg.command = MPU_CMD_FORCE_RESET; in ark_mpu_reset()
83 return mpu->cfg.command != MPU_CMD_IDLE; in ark_mpu_reset()
H A Dark_ddm.c49 ddm->cfg.command = 1; in ark_ddm_start()
57 ddm->cfg.command = 2; in ark_ddm_stop()
79 ddm->cfg.command = 4; in ark_ddm_reset()
82 ddm->cfg.command = 3; in ark_ddm_reset()
H A Dark_udm.c37 udm->cfg.command = 2; in ark_udm_stop()
58 udm->cfg.command = 4; in ark_udm_reset()
60 udm->cfg.command = 3; in ark_udm_reset()
66 udm->cfg.command = 3; in ark_udm_reset()
76 udm->cfg.command = 1; in ark_udm_start()
/dpdk/doc/guides/sample_app_ug/
H A Dcmd_line.rst14 demonstrates the use of the command line interface in the DPDK.
51 To run the application in linux environment, issue the following command:
76 Then, a new command line object is created and started to interact with the user through the consol…
80 :start-after: Creating a new command line object. 8<
81 :end-before: >8 End of creating a new command line object.
97 Each command (of type cmdline_parse_inst_t) is defined statically.
98 It contains a pointer to a callback function that is executed when the command is parsed,
114 For example, the cmd_obj_del_show command is defined as shown below:
121 This command is composed of two tokens:
125 * The second token is an object that was previously added using the add command in the global_obj…
[all …]
H A Dvm_power_management.rst177 Linux command line:
305 Manager using the command:
607 In addition to the command line interface for the host command, and a
614 libjansson-dev`` command to install the development package. The command
657 "command": "create",
670 "command": "destroy",
679 "command": "power",
686 Before using this command, please enable responses via the set_query command on the host.
725 - `command`_
769 command subsection
[all …]
H A Dbbdev_app.rst44 The application accepts a number of command line options:
65 issue the command:
74 This command creates one virtual bbdev devices ``baseband_turbo_sw`` where the
96 Executing the command below will generate traffic on the two allowed ethernet
/dpdk/doc/guides/tools/
H A Dtesteventdev.rst17 The application has a number of command line options:
42 The following are the application command-line options:
261 Supported application command line options are following::
278 Example command to run order queue test:
324 Supported application command line options are following::
341 Example command to run order ``all types queue`` test:
390 command line arguments respectively.
445 Example command to run perf queue test:
555 Example command to run perf ``all types queue`` test:
679 Example command to run pipeline queue test:
[all …]
H A Dtestregex.rst12 be selected using command-line options.
93 The tool has a number of command line options. Here is the sample command line::
/dpdk/doc/guides/howto/
H A Dvfd.rst107 Run a testpmd runtime command on the PF to set TX loopback::
126 This testpmd runtime command will change the MAC address of the VF port to
134 Run a testpmd runtime command on the PF to enable/disable the MAC
146 Run a testpmd runtime command on the PF to enable/disable the VLAN
158 Run a testpmd runtime command on the PF to set the VLAN insertion for a VF
184 Run a testpmd runtime command on the PF to set the VLAN filtering for a VF
205 Run a testpmd runtime command on the PF to enable/disable the all queues
232 Run a testpmd runtime command on the PF to all queues' rate limit for a
320 Run a testpmd runtime command on the PF to enable/disable MAC multicast
329 Run a testpmd runtime command on the PF to enable/disable MAC unicast
[all …]
H A Dtelemetry.rst73 For commands that expect a parameter, use "," to separate the command
84 * Get the help text for a command. This will indicate what parameters are
85 required. Pass the command as a parameter::
108 One would use the telemetry script command::
/dpdk/examples/vm_power_manager/guest_cli/
H A Dvm_power_cli_guest.c105 pkt->command = RTE_POWER_PKT_POLICY; in set_policy_defaults()
168 if (pkt_freq_list->command != RTE_POWER_FREQ_LIST) { in receive_freq_list()
202 pkt.command = RTE_POWER_QUERY_FREQ_LIST; in cmd_query_freq_list_parsed()
213 pkt.command = RTE_POWER_QUERY_FREQ; in cmd_query_freq_list_parsed()
278 if (pkt_caps_list->command != RTE_POWER_CAPS_LIST) { in receive_capabilities()
312 pkt.command = RTE_POWER_QUERY_CAPS_LIST; in cmd_query_caps_list_parsed()
323 pkt.command = RTE_POWER_QUERY_CAPS; in cmd_query_caps_list_parsed()
386 switch (pkt.command) { in check_response_cmd()
/dpdk/lib/power/
H A Drte_power_guest_channel.h85 uint32_t command; /**< Power, IO, etc */ member
103 uint32_t command; /**< Power, IO, etc */ member
113 uint32_t command; /**< Power, IO, etc */ member
/dpdk/doc/guides/prog_guide/
H A Dtelemetry_lib.rst50 parameter is then used in a comparison to decide which command was requested,
69 /* Build up port data requested for command 1 */
71 /* Build up port data requested for command 2 */
150 available via the Telemetry library. This involves providing a string command
151 in the required format ("/library/command"), the callback function that
153 command. An example command being registered is shown below:
/dpdk/drivers/net/ixgbe/
H A Drte_pmd_ixgbe.c1055 u32 i, data, command; in rte_pmd_ixgbe_mdio_unlocked_read() local
1067 command = (reg_addr << IXGBE_MSCA_DEV_TYPE_SHIFT) | in rte_pmd_ixgbe_mdio_unlocked_read()
1072 IXGBE_WRITE_REG(hw, IXGBE_MSCA, command); in rte_pmd_ixgbe_mdio_unlocked_read()
1081 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in rte_pmd_ixgbe_mdio_unlocked_read()
1082 if (!(command & IXGBE_MSCA_MDI_COMMAND)) in rte_pmd_ixgbe_mdio_unlocked_read()
1085 if (command & IXGBE_MSCA_MDI_COMMAND) in rte_pmd_ixgbe_mdio_unlocked_read()
1101 u32 i, command; in rte_pmd_ixgbe_mdio_unlocked_write() local
1122 IXGBE_WRITE_REG(hw, IXGBE_MSCA, command); in rte_pmd_ixgbe_mdio_unlocked_write()
1131 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in rte_pmd_ixgbe_mdio_unlocked_write()
1132 if (!(command & IXGBE_MSCA_MDI_COMMAND)) in rte_pmd_ixgbe_mdio_unlocked_write()
[all …]
/dpdk/app/test/
H A Dcommands.c67 if (!strcmp(res->autotest, t->command)) in cmd_autotest_parsed()
365 commands_len += strlen(t->command) + 1; in commands_init()
373 strlcat(commands, t->command, commands_len); in commands_init()
387 if (strcmp(t->command, cmd) == 0) in command_valid()
/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_phy.c571 u32 i, data, command; in ixgbe_read_phy_reg_mdi() local
579 IXGBE_WRITE_REG(hw, IXGBE_MSCA, command); in ixgbe_read_phy_reg_mdi()
589 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_read_phy_reg_mdi()
590 if ((command & IXGBE_MSCA_MDI_COMMAND) == 0) in ixgbe_read_phy_reg_mdi()
610 IXGBE_WRITE_REG(hw, IXGBE_MSCA, command); in ixgbe_read_phy_reg_mdi()
620 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_read_phy_reg_mdi()
679 u32 i, command; in ixgbe_write_phy_reg_mdi() local
690 IXGBE_WRITE_REG(hw, IXGBE_MSCA, command); in ixgbe_write_phy_reg_mdi()
700 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_write_phy_reg_mdi()
719 IXGBE_WRITE_REG(hw, IXGBE_MSCA, command); in ixgbe_write_phy_reg_mdi()
[all …]
/dpdk/doc/guides/nics/
H A Dfail_safe.rst33 Using the Fail-safe PMD from the EAL command line
44 Fail-safe command line parameters
60 on the EAL command line, the fail-safe PMD will use the device with the
63 When trying to use a PCI device automatically probed by the command line,
68 - **exec(<shell command>)** parameter
70 This parameter allows the user to provide a command to the fail-safe PMD to
76 If the command fails or output an incorrect string, the sub-device is not
78 All commas within the ``shell command`` are replaced by spaces before
79 executing the command. This helps using scripts to specify devices.
/dpdk/kernel/linux/kni/
H A Dmeson.build17 command: ['touch', '@OUTPUT@'])
28 command: ['make', '-j4', '-C', kernel_build_dir,
/dpdk/app/test-bbdev/
H A Dmain.h94 const char *command; member
107 .command = RTE_STR(name), \
/dpdk/app/test-pmd/
H A Dcmdline_flow.c6573 if (!out->command) { in parse_ia()
6629 if (!out->command || out->command == INDIRECT_ACTION) { in parse_ia_destroy()
6667 if (!out->command) { in parse_qia()
6720 if (!out->command || out->command == QUEUE) { in parse_qia_destroy()
6771 if (!out->command) { in parse_mp()
6814 if (!out->command) { in parse_vc()
6868 if ((out->command == VALIDATE || out->command == CREATE) && in parse_vc()
8916 if (!out->command || out->command == TABLE) { in parse_table_destroy()
9014 if (!out->command || out->command == QUEUE) { in parse_qo_destroy()
9731 if (!out->command) in parse_set_raw_encap_decap()
[all …]

123456789