| /dpdk/lib/eal/common/ |
| H A D | hotplug_mp.c | 19 void *peer; member 63 const void *peer) in send_response_to_secondary() argument 76 ret = rte_mp_reply(&mp_resp, peer); in send_response_to_secondary() 178 free(bundle->peer); in __handle_secondary_request() 202 bundle->peer = strdup(peer); in handle_secondary_request() 203 if (bundle->peer == NULL) { in handle_secondary_request() 216 free(bundle->peer); in handle_secondary_request() 299 free(bundle->peer); in __handle_primary_request() 335 bundle->peer = (void *)strdup(peer); in handle_primary_request() 336 if (bundle->peer == NULL) { in handle_primary_request() [all …]
|
| H A D | eal_common_proc.c | 107 mp_send(struct rte_mp_msg *msg, const char *peer, int type); 734 mp_send(struct rte_mp_msg *msg, const char *peer, int type) in mp_send() argument 740 if (!peer && (rte_eal_process_type() == RTE_PROC_SECONDARY)) in mp_send() 741 peer = eal_mp_socket_path(); in mp_send() 743 if (peer) { in mp_send() 744 if (send_msg(peer, msg, type) < 0) in mp_send() 1231 rte_mp_reply(struct rte_mp_msg *msg, const char *peer) in rte_mp_reply() argument 1240 if (peer == NULL) { in rte_mp_reply() 1251 return mp_send(msg, peer, MP_REP); in rte_mp_reply()
|
| H A D | malloc_mp.c | 147 handle_sync(const struct rte_mp_msg *msg, const void *peer) in handle_sync() argument 173 return rte_mp_reply(&reply, peer); in handle_sync() 295 handle_request(const struct rte_mp_msg *msg, const void *peer __rte_unused) in handle_request() 599 handle_response(const struct rte_mp_msg *msg, const void *peer __rte_unused) in handle_response()
|
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_mp_os.c | 31 const void *peer) in mlx5_mp_os_handle_port_agnostic() argument 48 return rte_mp_reply(&mp_res, peer); in mlx5_mp_os_handle_port_agnostic() 53 return rte_mp_reply(&mp_res, peer); in mlx5_mp_os_handle_port_agnostic() 58 return rte_mp_reply(&mp_res, peer); in mlx5_mp_os_handle_port_agnostic() 97 ret = rte_mp_reply(&mp_res, peer); in mlx5_mp_os_primary_handle() 103 ret = rte_mp_reply(&mp_res, peer); in mlx5_mp_os_primary_handle() 109 ret = rte_mp_reply(&mp_res, peer); in mlx5_mp_os_primary_handle() 115 ret = rte_mp_reply(&mp_res, peer); in mlx5_mp_os_primary_handle() 121 ret = rte_mp_reply(&mp_res, peer); in mlx5_mp_os_primary_handle() 127 ret = rte_mp_reply(&mp_res, peer); in mlx5_mp_os_primary_handle() [all …]
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_utils.h | 597 typeof(elem) peer; \ 602 (peer) = mlx5_ipool_get(pool, *(head)); \ 603 if (peer) \ 604 (peer)->field.prev = (idx); \ 611 typeof(elem) peer; \ 615 (peer) = mlx5_ipool_get \ 617 if (peer) \ 618 (peer)->field.next = (elem)->field.next;\ 621 (peer) = mlx5_ipool_get \ 623 if (peer) \ [all …]
|
| H A D | mlx5_trigger.c | 731 struct rte_hairpin_peer_info peer = {0xffffff}; in mlx5_hairpin_bind_single_port() local 808 NULL, &peer, 1); in mlx5_hairpin_bind_single_port() 814 ret = mlx5_hairpin_queue_peer_bind(dev, i, &peer, 1); in mlx5_hairpin_bind_single_port()
|
| H A D | mlx5.h | 1113 uint16_t peer; /* The only peer port index could also use this CT. */ member 1844 const void *peer); 1846 const void *peer);
|
| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4_mp.c | 52 mp_primary_handle(const struct rte_mp_msg *mp_msg, const void *peer) in mp_primary_handle() argument 78 ret = rte_mp_reply(&mp_res, peer); in mp_primary_handle() 85 ret = rte_mp_reply(&mp_res, peer); in mp_primary_handle() 107 mp_secondary_handle(const struct rte_mp_msg *mp_msg, const void *peer) in mp_secondary_handle() argument 149 ret = rte_mp_reply(&mp_res, peer); in mp_secondary_handle() 158 ret = rte_mp_reply(&mp_res, peer); in mp_secondary_handle()
|
| /dpdk/lib/eal/windows/ |
| H A D | eal_mp.c | 74 rte_mp_reply(struct rte_mp_msg *msg, const char *peer) in rte_mp_reply() argument 77 RTE_SET_USED(peer); in rte_mp_reply()
|
| /dpdk/doc/guides/rawdevs/ |
| H A D | ntb.rst | 13 allocation for the peer to access and read/write allocated memory from peer. 14 Also, the PMD allows to use doorbell registers to notify the peer and share 137 buffers and writes used_ring and tx_tail to tell the peer which buffers 140 writes desc_ring and rx_tail to tell the peer about the new allocated
|
| /dpdk/lib/eal/include/ |
| H A D | rte_eal.h | 190 typedef int (*rte_mp_t)(const struct rte_mp_msg *msg, const void *peer); 345 rte_mp_reply(struct rte_mp_msg *msg, const char *peer);
|
| /dpdk/drivers/raw/ntb/ |
| H A D | ntb_hw_intel.c | 405 intel_ntb_spad_read(const struct rte_rawdev *dev, int spad, bool peer) in intel_ntb_spad_read() argument 418 reg_off = peer ? XEON_GEN3_B2B_SPAD_OFFSET : in intel_ntb_spad_read() 421 reg_off = peer ? XEON_GEN4_B2B_SPAD_OFFSET : in intel_ntb_spad_read() 435 bool peer, uint32_t spad_v) in intel_ntb_spad_write() argument 448 reg_off = peer ? XEON_GEN3_B2B_SPAD_OFFSET : in intel_ntb_spad_write() 451 reg_off = peer ? XEON_GEN4_B2B_SPAD_OFFSET : in intel_ntb_spad_write()
|
| H A D | ntb.h | 112 bool peer); 114 bool peer, uint32_t spad_v);
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_mp.c | 54 const void *peer __rte_unused) in mp_primary_handle() 71 mp_secondary_handle(const struct rte_mp_msg *mp_msg, const void *peer) in mp_secondary_handle() argument 117 ret = rte_mp_reply(&mp_res, peer); in mp_secondary_handle()
|
| /dpdk/lib/eal/linux/ |
| H A D | eal_vfio_mp_sync.c | 25 vfio_mp_primary(const struct rte_mp_msg *msg, const void *peer) in vfio_mp_primary() argument 104 ret = rte_mp_reply(&reply, peer); in vfio_mp_primary()
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | ntb.rst | 14 be polling to receive files from the peer and save the file as 87 * ``send [filepath]``: Send file to the peer host. Need to be in
|
| /dpdk/doc/guides/nics/ |
| H A D | memif.rst | 18 the shared memory. Each interface can be connected to one peer interface 19 at same time. The peer interface is identified by id parameter. Server 32 peer interface. If you are connecting multiple 41 "id=0", "Used to identify peer interface", "0", "uint32_t" 48 …et is an optional security option, which if specified, must be matched by peer", "", "string len 2…
|
| /dpdk/drivers/bus/vdev/ |
| H A D | vdev.c | 406 vdev_action(const struct rte_mp_msg *mp_msg, const void *peer) in vdev_action() argument 444 if (rte_mp_reply(&mp_resp, peer) < 0) in vdev_action()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | multi_proc_support.rst | 86 DPDK multi-process support can be used to create a set of peer processes where each process perform… 271 peer processes were active at the time of the request). 273 those peer processes that were active at the time of request, how many have 305 pointer ``msg``, and an opaque pointer ``peer``. Contents of ``msg`` will be 309 constructed and sent via ``rte_mp_reply()`` function, along with ``peer``
|
| /dpdk/lib/pdump/ |
| H A D | rte_pdump.c | 389 pdump_server(const struct rte_mp_msg *mp_msg, const void *peer) in pdump_server() argument 409 if (rte_mp_reply(&mp_resp, peer) < 0) { in pdump_server()
|
| /dpdk/doc/guides/testpmd_app_ug/ |
| H A D | run_app.rst | 137 Use a configuration file containing the Ethernet addresses of the peer ports. 144 * ``--eth-peer=N,XX:XX:XX:XX:XX:XX`` 146 Set the MAC address ``XX:XX:XX:XX:XX:XX`` of the peer port N,
|
| H A D | testpmd_funcs.rst | 897 RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01 899 RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00 921 RX P=0/Q=0 (socket 0) -> TX P=2/Q=0 (socket 0) peer=02:00:00:00:00:01 922 RX P=2/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00 923 RX P=1/Q=0 (socket 0) -> TX P=3/Q=0 (socket 0) peer=02:00:00:00:00:03 924 RX P=3/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:02 1430 set eth-peer 1433 Set the forwarding peer address for certain port:: 1435 testpmd> set eth-peer (port_id) (peer_addr) 1437 This is equivalent to the ``--eth-peer`` command-line option. [all …]
|
| /dpdk/app/test/ |
| H A D | test_cryptodev_asym.c | 1052 uint8_t peer[] = "01234567890123456789012345678901234567890123456789"; in test_dh_gen_shared_sec() local 1071 asym_op->dh.pub_key.data = (uint8_t *)peer; in test_dh_gen_shared_sec() 1072 asym_op->dh.pub_key.length = sizeof(peer); in test_dh_gen_shared_sec()
|
| /dpdk/drivers/net/tap/ |
| H A D | rte_eth_tap.c | 944 tap_mp_req_start_rxtx(const struct rte_mp_msg *request, __rte_unused const void *peer) in tap_mp_req_start_rxtx() argument 2424 tap_mp_sync_queues(const struct rte_mp_msg *request, const void *peer) in tap_mp_sync_queues() argument 2472 if (rte_mp_reply(&reply, peer) < 0) { in tap_mp_sync_queues()
|
| /dpdk/drivers/net/af_xdp/ |
| H A D | rte_eth_af_xdp.c | 1886 afxdp_mp_send_fds(const struct rte_mp_msg *request, const void *peer) in afxdp_mp_send_fds() argument 1927 if (rte_mp_reply(&reply, peer) < 0) { in afxdp_mp_send_fds()
|