| /dpdk/drivers/net/pfe/ |
| H A D | pfe_hif_lib.c | 88 client->event_handler(client->priv, event_type, qno); in hif_lib_indicate_client() 144 client->rx_qbase = rte_malloc(NULL, client->rx_qn * q_size * in hif_lib_client_init_rx_buffers() 213 client->tx_qbase = rte_malloc(NULL, client->tx_qn * q_size * in hif_lib_client_init_tx_buffers() 258 if (hif_lib_client_init_rx_buffers(client, client->rx_qsize)) { in hif_lib_client_register() 263 if (hif_lib_client_init_tx_buffers(client, client->tx_qsize)) { in hif_lib_client_register() 269 if (!(client->pfe) || client->id >= HIF_CLIENTS_MAX || in hif_lib_client_register() 270 client->pfe->hif_client[client->id]) { in hif_lib_client_register() 298 client->id, 0); in hif_lib_client_register() 301 client, client->id, client->tx_qsize, client->rx_qsize); in hif_lib_client_register() 305 client->pfe->hif_client[client->id] = client; in hif_lib_client_register() [all …]
|
| H A D | pfe_ethdev.c | 242 struct hif_client_s *client; in pfe_eth_open() local 247 client = &priv->client; in pfe_eth_open() 249 if (client->pfe) { in pfe_eth_open() 257 memset(client, 0, sizeof(*client)); in pfe_eth_open() 261 client->priv = priv; in pfe_eth_open() 262 client->pfe = priv->pfe; in pfe_eth_open() 293 memset(client, 0, sizeof(*client)); in pfe_eth_open() 295 client->tx_qn = emac_txq_cnt; in pfe_eth_open() 297 client->priv = priv; in pfe_eth_open() 298 client->pfe = priv->pfe; in pfe_eth_open() [all …]
|
| H A D | pfe_hif_lib.h | 109 struct hif_client_shm client[HIF_CLIENTS_MAX]; member 163 int hif_lib_client_register(struct hif_client_s *client); 164 int hif_lib_client_unregister(struct hif_client_s *client); 165 void hif_lib_xmit_pkt(struct hif_client_s *client, unsigned int qno, 168 void hif_lib_indicate_client(struct hif_client_s *client, int event, int data); 169 int hif_lib_event_handler_start(struct hif_client_s *client, int event, int 171 void *hif_lib_tx_get_next_complete(struct hif_client_s *client, int qno,
|
| H A D | pfe_hif.c | 206 struct hif_client *client = &hif->client[client_id]; in pfe_hif_client_register() local 224 memset(client, 0, sizeof(struct hif_client)); in pfe_hif_client_register() 233 client->rx_qn = cnt; in pfe_hif_client_register() 236 rx_queue = &client->rx_q[i]; in pfe_hif_client_register() 249 client->tx_qn = cnt; in pfe_hif_client_register() 252 tx_queue = &client->tx_q[i]; in pfe_hif_client_register() 408 if (hif->client[hif->client_id].rx_qn <= hif->qno) { in pfe_hif_rx_process() 416 client_put_rxpacket(&hif->client[hif->client_id].rx_q[hif->qno], in pfe_hif_rx_process() 487 struct hif_tx_queue *queue = &hif->client[client_id].tx_q[q_no]; in client_ack_txpacket() 634 hif_client_shm *)&hif->shm->client[client_id]); in hif_process_client_req()
|
| H A D | pfe_eth.h | 58 struct hif_client_s client; member
|
| H A D | pfe_hif.h | 107 struct hif_client client[HIF_CLIENTS_MAX]; member
|
| /dpdk/examples/multi_process/client_server_mp/mp_server/ |
| H A D | main.c | 197 flush_rx_queue(uint16_t client) in flush_rx_queue() argument 200 struct client *cl; in flush_rx_queue() 202 if (cl_rx_buf[client].count == 0) in flush_rx_queue() 205 cl = &clients[client]; in flush_rx_queue() 207 cl_rx_buf[client].count, NULL) == 0){ in flush_rx_queue() 215 cl_rx_buf[client].count = 0; in flush_rx_queue() 224 cl_rx_buf[client].buffer[cl_rx_buf[client].count++] = buf; in enqueue_rx_packet() 237 static uint8_t client; in process_packets() local 240 enqueue_rx_packet(client, pkts[i]); in process_packets() 242 if (++client == num_clients) in process_packets() [all …]
|
| H A D | init.h | 17 struct client { struct 31 extern struct client *clients; argument
|
| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | tf_session.c | 163 client = cparms.mem_va; in tf_session_create() 279 if (client) { in tf_session_client_create() 311 client = cparms.mem_va; in tf_session_client_create() 386 if (client == NULL) { in tf_session_client_destroy() 419 tfp_free(client); in tf_session_client_destroy() 533 if (!client) { in tf_session_close_session() 617 tfp_free(client); in tf_session_close_session() 646 if (client->fw_fid == fid) in tf_session_is_fid_supported() 743 return client; in tf_session_get_session_client() 767 return client; in tf_session_find_session_client_by_name() [all …]
|
| /dpdk/doc/guides/nics/ |
| H A D | memif.rst | 8 Shared memory packet interface (memif) PMD allows for DPDK and any other client 16 Memif works in two roles: server and client. Client connects to server over an 20 creates the socket and listens for any client connection requests. The socket 36 client. 42 "role=server", "Set memif role", "client", "server|client" 49 …"zero-copy=yes", "Enable/disable zero-copy client mode. Only relevant to client, requires '--singl… 55 ``client`` role. It is not possible to connect two interfaces in a single 100 created by memif client and provided to server at connection establishment. 175 Zero-copy client 219 Now create ``client`` interface (server must be already running so the client will connect):: [all …]
|
| H A D | atlantic.rst | 10 <https://www.aquantia.com/products/client-connectivity/>`_.
|
| /dpdk/usertools/ |
| H A D | dpdk-telemetry-client.py | 124 client = Client() variable 125 client.getFilepath(file_path) 126 client.register() 127 client.interactiveMenu(sleep_time)
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | pipeline.rst | 44 remote TCP based client (telnet, netcat, etc.) for connection. 53 …This port number should be used by remote TCP client (such as telnet, netcat, etc.) to connect to … 75 To run remote client (e.g. telnet) to communicate with the application: 81 When running a telnet client as above, command prompt is displayed: 93 Once application and telnet client start running, messages can be sent from client to application.
|
| H A D | multi_process.rst | 139 such as a client-server mode of operation seen in the next example, 235 use a client-server type multi-process design to do packet processing. 237 distributes these packets using round-robin ordering among a set of client processes, 241 The following diagram shows the data-flow through the application, using two client processes. 269 the only application parameter needed by a client process is its client instance ID. 281 …If the server application dies and needs to be restarted, all client applications also need to be … 283 Any client processes that need restarting can be restarted without affecting the server process. 294 the client processes are designed to be run as secondary instances only. 302 distributing those packets to the client queues (software rings, one for each client process) in ro… 308 In both the server and the client processes, outgoing packets are buffered before being sent, [all …]
|
| H A D | vdpa.rst | 32 ./dpdk-vdpa [EAL options] -- [--client] [--interactive|-i] or [--iface SOCKET_PATH] 36 * --client means running vdpa app in client mode, in the client mode, QEMU needs
|
| H A D | ip_pipeline.rst | 24 …* Any standard TCP client (e.g. telnet, netcat, custom script, etc) is typically able to connect t… 57 remote TCP based client (telnet, netcat, etc.) for connection. 66 …This port number should be used by remote TCP client (such as telnet, netcat, etc.) to connect to … 88 To run remote client (e.g. telnet) to communicate with the ip pipeline application: 94 When running a telnet client as above, command prompt is displayed: 106 Once application and telnet client start running, messages can be sent from client to application. 107 At any stage, telnet client can be terminated using the quit command.
|
| H A D | intro.rst | 85 * :doc:`Precision Time Protocol (PTP) client<ptpclient>`: The PTP 86 client is another minimal implementation of a real world application. 87 In this case the application is a PTP client that communicates with a PTP
|
| H A D | vhost.rst | 42 -- --socket-file /tmp/sock0 --client \ 109 **--client** 110 DPDK vhost-user will act as the client mode when such option is given. 111 In the client mode, QEMU will create the socket file. Otherwise, DPDK
|
| H A D | ptpclient.rst | 7 The PTP (Precision Time Protocol) client sample application is a simple 21 a PTP client using the DPDK IEEE1588 API. 190 implementation of the PTP slave client:
|
| /dpdk/examples/multi_process/client_server_mp/mp_client/ |
| H A D | client.c | 68 parse_client_num(const char *client) in parse_client_num() argument 73 if (client == NULL || *client == '\0') in parse_client_num() 76 temp = strtoul(client, &end, 10); in parse_client_num()
|
| H A D | meson.build | 13 'client.c',
|
| H A D | Makefile | 8 SRCS-y := client.c
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | rcu_lib.rst | 218 …ed here assigns different parts of this process to client libraries and applications. The term 'cl… 223 * the application has to register the same RCU variable with the client library. 226 The client library will handle 'Reclaiming Resources' part of the process. The 227 client libraries will make use of the writer thread context to execute the memory 230 * client library should provide an API to register a RCU variable that it will use. It should call … 231 * client library should use ``rte_rcu_qsbr_dq_enqueue`` to enqueue the deleted resources on the FIF… 235 client library. 237 … unregister the reader threads from the QSBR variable before calling the client library's shutdown… 239 * client library should call ``rte_rcu_qsbr_dq_delete`` to reclaim any remaining resources and free… 241 Integrating the resource reclamation with client libraries removes the burden from [all …]
|
| H A D | telemetry_lib.rst | 9 connection, taking requests from a connected client and replying with the JSON 84 into a JSON response before sending to the client. 100 The resulting response to the client shows the list data provided above 121 The resulting response to the client shows the key/value data provided above 138 Giving the following response to the client::
|
| /dpdk/doc/guides/howto/ |
| H A D | telemetry.rst | 18 telemetry version, the latest is v2. For example, a client would connect to a 41 and query information using the telemetry client python script. 47 #. Launch the telemetry client script::
|