| /dpdk/lib/power/ |
| H A D | guest_channel.c | 162 struct pollfd fds; in power_guest_channel_read_msg() local 178 fds.fd = global_fds[lcore_id]; in power_guest_channel_read_msg() 179 fds.events = POLLIN; in power_guest_channel_read_msg() 181 ret = poll(&fds, 1, TIMEOUT); in power_guest_channel_read_msg()
|
| /dpdk/lib/eal/linux/ |
| H A D | eal_vfio_mp_sync.c | 55 reply.fds[0] = fd; in vfio_mp_primary() 66 reply.fds[0] = fd; in vfio_mp_primary() 77 reply.fds[0] = fd; in vfio_mp_primary()
|
| H A D | eal_memalloc.c | 261 fd = fd_list[list_idx].fds[seg_idx]; in get_seg_memfd() 272 fd_list[list_idx].fds[seg_idx] = fd; in get_seg_memfd() 730 fd_list[list_idx].fds[seg_idx] = -1; in alloc_seg() 1510 fd_list[list_idx].fds = data; in alloc_list() 1513 fd_list[list_idx].fds = NULL; in alloc_list() 1531 int *fds = fd_list[list_idx].fds; in destroy_list() local 1535 if (fds[i] >= 0) { in destroy_list() 1536 close(fds[i]); in destroy_list() 1537 fds[i] = -1; in destroy_list() 1540 free(fds); in destroy_list() [all …]
|
| H A D | eal_vfio.c | 409 vfio_group_fd = mp_rep->fds[0]; in vfio_open_group_fd() 1182 container_fd = mp_rep->fds[0]; in vfio_get_default_container_fd() 1318 vfio_container_fd = mp_rep->fds[0]; in rte_vfio_get_container_fd()
|
| /dpdk/lib/vhost/ |
| H A D | vhost_user.h | 158 int fds[VHOST_MEMORY_MAX_NREGIONS]; member 173 int read_fd_message(char *ifname, int sockfd, char *buf, int buflen, int *fds, int max_fds, 175 int send_fd_message(char *ifname, int sockfd, char *buf, int buflen, int *fds, int fd_num);
|
| H A D | socket.c | 102 read_fd_message(char *ifname, int sockfd, char *buf, int buflen, int *fds, int max_fds, in read_fd_message() argument 142 memcpy(fds, CMSG_DATA(cmsg), got_fds * sizeof(int)); in read_fd_message() 149 fds[got_fds++] = -1; in read_fd_message() 155 send_fd_message(char *ifname, int sockfd, char *buf, int buflen, int *fds, int fd_num) in send_fd_message() argument 172 if (fds && fd_num > 0) { in send_fd_message() 184 memcpy(CMSG_DATA(cmsg), fds, fdsize); in send_fd_message()
|
| H A D | vhost_user.c | 76 int fd = ctx->fds[i]; in close_msg_fds() 81 ctx->fds[i] = -1; in close_msg_fds() 1357 ctx->fds[i] = -1; in vhost_user_set_mem_table() 1652 fd = ctx->fds[0]; in vhost_user_set_inflight_fd() 1754 file.fd = ctx->fds[0]; in vhost_user_set_vring_call() 1785 close(ctx->fds[0]); in vhost_user_set_vring_err() 2008 file.fd = ctx->fds[0]; in vhost_user_set_vring_kick() 2212 int fd = ctx->fds[0]; in vhost_user_set_log_base() 2308 close(ctx->fds[0]); in vhost_user_set_log_fd() 2376 int fd = ctx->fds[0]; in vhost_user_set_req_fd() [all …]
|
| /dpdk/drivers/raw/ifpga/base/ |
| H A D | ifpga_feature_dev.c | 364 unsigned int count, s32 *fds) in vfio_msix_enable_block() argument 385 opae_memcpy(fd_ptr, fds, sizeof(int) * count); in vfio_msix_enable_block() 395 unsigned int count, s32 *fds) in fpga_msix_set_block() argument 406 ctx[start].idx, count, fds); in fpga_msix_set_block() 409 ctx[i].eventfd = fds[i]; in fpga_msix_set_block()
|
| H A D | ifpga_feature_dev.h | 204 unsigned int count, s32 *fds);
|
| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4_mp.c | 83 mp_res.fds[0] = priv->ctx->cmd_fd; in mp_primary_handle() 139 ret = mlx4_tx_uar_init_secondary(dev, mp_msg->fds[0]); in mp_secondary_handle() 200 mp_req.fds[0] = priv->ctx->cmd_fd; in mp_req_on_rxtx() 332 ret = mp_res->fds[0]; in mlx4_mp_req_verbs_cmd_fd()
|
| /dpdk/drivers/net/virtio/virtio_user/ |
| H A D | vhost_user.c | 106 vhost_user_write(int fd, struct vhost_user_msg *msg, int *fds, int fd_num) in vhost_user_write() argument 130 memcpy(CMSG_DATA(cmsg), fds, fd_size); in vhost_user_write() 378 int *fds; member 409 if (wa->fds[i] != fd) in update_memory_region() 439 wa->fds[i] = fd; in update_memory_region() 460 int fds[VHOST_MEMORY_MAX_NREGIONS]; in vhost_user_set_memory_table() local 473 wa.fds = fds; in vhost_user_set_memory_table() 491 ret = vhost_user_write(data->vhostfd, &msg, fds, fd_num); in vhost_user_set_memory_table()
|
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_mp_os.c | 95 mp_res.fds[0] = ((struct ibv_context *)cdev->ctx)->cmd_fd; in mlx5_mp_os_primary_handle() 182 ret = mlx5_tx_uar_init_secondary(dev, mp_msg->fds[0]); in mlx5_mp_os_secondary_handle() 242 mp_req.fds[0] = in mp_req_on_rxtx()
|
| /dpdk/lib/eal/include/ |
| H A D | rte_eal.h | 168 int fds[RTE_MP_MAX_FD_NUM]; member
|
| /dpdk/lib/eal/common/ |
| H A D | eal_common_proc.c | 268 char control[CMSG_SPACE(sizeof(m->msg.fds))]; in read_msg() 270 int buflen = sizeof(*m) - sizeof(m->msg.fds); in read_msg() 308 memcpy(m->msg.fds, CMSG_DATA(cmsg), sizeof(m->msg.fds)); in read_msg() 698 iov.iov_len = sizeof(m) - sizeof(msg->fds); in send_msg() 711 memcpy(CMSG_DATA(cmsg), msg->fds, fd_size); in send_msg()
|
| /dpdk/drivers/net/af_xdp/ |
| H A D | rte_eth_af_xdp.c | 122 struct pollfd fds[1]; member 302 (void)poll(&rxq->fds[0], 1, 1000); in af_xdp_rx_zc() 374 (void)poll(rxq->fds, 1, 1000); in af_xdp_rx_cp() 1430 rxq->fds[0].fd = xsk_socket__fd(rxq->xsk); in eth_rx_queue_setup() 1431 rxq->fds[0].events = POLLIN; in eth_rx_queue_setup() 1433 process_private->rxq_xsk_fds[rx_queue_id] = rxq->fds[0].fd; in eth_rx_queue_setup() 1878 process_private->rxq_xsk_fds[i] = reply->fds[i]; in afxdp_mp_request_fds() 1918 reply.fds[reply.num_fds++] = process_private->rxq_xsk_fds[i]; in afxdp_mp_send_fds()
|
| /dpdk/drivers/net/tap/ |
| H A D | rte_eth_tap.c | 899 msg.fds[fd_iterator++] = process_private->txq_fds[i]; in tap_mp_req_on_rxtx() 904 msg.fds[fd_iterator++] = process_private->rxq_fds[i]; in tap_mp_req_on_rxtx() 964 process_private->txq_fds[queue] = request->fds[fd_iterator++]; in tap_mp_req_start_rxtx() 966 process_private->rxq_fds[queue] = request->fds[fd_iterator++]; in tap_mp_req_start_rxtx() 2415 process_private->rxq_fds[queue] = reply->fds[fd_iterator++]; in tap_mp_attach_queues() 2417 process_private->txq_fds[queue] = reply->fds[fd_iterator++]; in tap_mp_attach_queues() 2455 reply.fds[reply.num_fds++] = process_private->rxq_fds[queue]; in tap_mp_sync_queues() 2462 reply.fds[reply.num_fds++] = process_private->txq_fds[queue]; in tap_mp_sync_queues()
|
| /dpdk/drivers/common/mlx5/ |
| H A D | mlx5_common_mp.c | 184 ret = mp_res->fds[0]; in mlx5_mp_req_verbs_cmd_fd()
|
| /dpdk/drivers/crypto/dpaa_sec/ |
| H A D | dpaa_sec_raw_dp.c | 786 struct qm_fd fds[DPAA_SEC_BURST], *fd; in dpaa_sec_raw_enqueue_burst() local 821 fd = &fds[loop]; in dpaa_sec_raw_enqueue_burst() 847 loop += qman_enqueue_multi_fq(&inq[loop], &fds[loop], in dpaa_sec_raw_enqueue_burst()
|
| H A D | dpaa_sec.c | 1895 struct qm_fd fds[DPAA_SEC_BURST], *fd; in dpaa_sec_enqueue_burst() local 2055 fd = &fds[loop]; in dpaa_sec_enqueue_burst() 2091 loop += qman_enqueue_multi_fq(&inq[loop], &fds[loop], in dpaa_sec_enqueue_burst()
|
| /dpdk/doc/guides/nics/ |
| H A D | af_xdp.rst | 165 as this is the maximum number of fds that can be sent through the IPC APIs as
|
| /dpdk/drivers/net/memif/ |
| H A D | rte_eth_memif.c | 106 reply.fds[0] = proc_private->regions[msg_param->idx]->fd; in memif_mp_send_region() 173 r->fd = reply->fds[0]; in memif_mp_request_regions()
|
| /dpdk/doc/guides/rel_notes/ |
| H A D | release_19_02.rst | 163 fds (such as in-memory or no-huge mode)
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | multi_proc_support.rst | 248 * ``fds`` - file descriptors to pass long with the data (up to 8 fd's).
|