| /f-stack/dpdk/lib/librte_vhost/ |
| H A D | rte_vhost.h | 280 int (*new_connection)(int vid); 281 void (*destroy_connection)(int vid); 289 void (*guest_notified)(int vid); 600 int rte_vhost_get_mtu(int vid, uint16_t *mtu); 612 int rte_vhost_get_numa_node(int vid); 629 uint32_t rte_vhost_get_queue_num(int vid); 640 uint16_t rte_vhost_get_vring_num(int vid); 817 rte_vhost_set_last_inflight_io_split(int vid, 837 rte_vhost_set_last_inflight_io_packed(int vid, 989 rte_vhost_extern_callback_register(int vid, [all …]
|
| H A D | rte_vdpa_dev.h | 29 int (*dev_conf)(int vid); 32 int (*dev_close)(int vid); 35 int (*set_vring_state)(int vid, int vring, int state); 38 int (*set_features)(int vid); 41 int (*migration_done)(int vid); 44 int (*get_vfio_group_fd)(int vid); 47 int (*get_vfio_device_fd)(int vid); 50 int (*get_notify_area)(int vid, int qid, 118 rte_vhost_host_notifier_ctrl(int vid, uint16_t qid, bool enable); 135 rte_vdpa_relay_vring_used(int vid, uint16_t qid, void *vring_m);
|
| H A D | vhost.c | 667 dev->vid = i; in vhost_new_device() 727 dev = get_device(vid); in vhost_set_ifname() 815 RTE_SET_USED(vid); in rte_vhost_get_numa_node() 863 dev = get_device(vid); in rte_vhost_get_negotiated_features() 878 dev = get_device(vid); in rte_vhost_get_mem_table() 901 dev = get_device(vid); in rte_vhost_get_vhost_vring() 937 dev = get_device(vid); in rte_vhost_get_vhost_ring_inflight() 972 dev = get_device(vid); in rte_vhost_set_inflight_desc_split() 1012 dev = get_device(vid); in rte_vhost_set_inflight_desc_packed() 1076 dev = get_device(vid); in rte_vhost_clr_inflight_desc_split() [all …]
|
| H A D | rte_vhost_async.h | 64 uint32_t (*transfer_data)(int vid, uint16_t queue_id, 81 uint32_t (*check_completed_copies)(int vid, uint16_t queue_id, 133 int rte_vhost_async_channel_register(int vid, uint16_t queue_id, 147 int rte_vhost_async_channel_unregister(int vid, uint16_t queue_id); 166 uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id, 186 uint16_t rte_vhost_poll_enqueue_completed(int vid, uint16_t queue_id,
|
| H A D | rte_vhost_crypto.h | 55 rte_vhost_crypto_create(int vid, uint8_t cryptodev_id, 71 rte_vhost_crypto_free(int vid); 86 rte_vhost_crypto_set_zero_copy(int vid, enum rte_vhost_crypto_zero_copy option); 107 rte_vhost_crypto_fetch_requests(int vid, uint32_t qid,
|
| H A D | socket.c | 66 int vid; member 204 int vid; in vhost_user_add_connection() local 219 vid = vhost_new_device(); in vhost_user_add_connection() 220 if (vid == -1) { in vhost_user_add_connection() 232 vhost_enable_extbuf(vid); in vhost_user_add_connection() 235 vhost_enable_linearbuf(vid); in vhost_user_add_connection() 238 dev = get_device(vid); in vhost_user_add_connection() 258 conn->vid = vid; in vhost_user_add_connection() 280 vhost_destroy_device(vid); in vhost_user_add_connection() 320 vhost_destroy_device(conn->vid); in vhost_user_read_cb() [all …]
|
| H A D | vhost.h | 353 int vid; member 648 get_device(int vid) in get_device() argument 650 struct virtio_net *dev = vhost_devices[vid]; in get_device() 654 "(%d) device not found.\n", vid); in get_device() 672 void vhost_attach_vdpa_device(int vid, struct rte_vdpa_device *dev); 675 void vhost_set_builtin_virtio_net(int vid, bool enable); 676 void vhost_enable_extbuf(int vid); 677 void vhost_enable_linearbuf(int vid); 753 dev->notify_ops->guest_notified(dev->vid); in vhost_vring_call_split() 761 dev->notify_ops->guest_notified(dev->vid); in vhost_vring_call_split() [all …]
|
| /f-stack/dpdk/drivers/vdpa/ifc/ |
| H A D | ifcvf_vdpa.c | 58 int vid; member 267 int vid; in vdpa_ifcvf_start() local 271 vid = internal->vid; in vdpa_ifcvf_start() 312 int vid; in vdpa_ifcvf_stop() local 317 vid = internal->vid; in vdpa_ifcvf_stop() 596 vid = internal->vid; in m_ifcvf_start() 670 int vid; in m_ifcvf_stop() local 677 vid = internal->vid; in m_ifcvf_stop() 723 vid = internal->vid; in vring_relay() 836 int vid = internal->vid; in ifcvf_sw_fallback_switchover() local [all …]
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_vlan.c | 262 uint16_t vid; in ng_vlan_rcvmsg() local 279 if (vf->vid == 0 && vf->vid != vf->vlan) { in ng_vlan_rcvmsg() 280 vf->vid = vf->vlan; in ng_vlan_rcvmsg() 282 vf->vid != vf->vlan) { in ng_vlan_rcvmsg() 287 if (vf->vid & ~EVL_VLID_MASK || in ng_vlan_rcvmsg() 355 if (vid & ~EVL_VLID_MASK) { in ng_vlan_rcvmsg() 360 hook = priv->vlan_hook[vid]; in ng_vlan_rcvmsg() 375 vid)); in ng_vlan_rcvmsg() 378 priv->vlan_hook[vid] = NULL; in ng_vlan_rcvmsg() 419 vf->vid = i; in ng_vlan_rcvmsg() [all …]
|
| /f-stack/dpdk/examples/vhost/ |
| H A D | ioat.c | 33 int64_t vid, vring_id; in open_ioat() local 79 vid = strtol(start, &end, 0); in open_ioat() 87 &(dma_info + vid)->dmas[vring_id].addr) < 0) { in open_ioat() 92 rte_pci_device_name(&(dma_info + vid)->dmas[vring_id].addr, in open_ioat() 107 (dma_info + vid)->dmas[vring_id].dev_id = dev_id; in open_ioat() 108 (dma_info + vid)->dmas[vring_id].is_valid = true; in open_ioat() 126 ioat_transfer_data_cb(int vid, uint16_t queue_id, in ioat_transfer_data_cb() argument 131 int dev_id = dma_bind[vid].dmas[queue_id * 2 + VIRTIO_RXQ].dev_id; in ioat_transfer_data_cb() 175 ioat_check_completed_copies_cb(int vid, uint16_t queue_id, in ioat_check_completed_copies_cb() argument 186 int dev_id = dma_bind[vid].dmas[queue_id * 2 in ioat_check_completed_copies_cb()
|
| H A D | main.c | 737 vdev->vid); in link_vmdq() 750 vdev->vid, in link_vmdq() 762 vdev->vid); in link_vmdq() 856 if (vdev->vid == dst_vdev->vid) { in virtio_tx_local() 859 vdev->vid); in virtio_tx_local() 892 if (vdev->vid == dst_vdev->vid) { in find_local_dest() 909 vdev->vid, dst_vdev->vid, *vlan_tag); in find_local_dest() 1248 if (vdev->vid == vid) in destroy_device() 1285 vdev->vid); in destroy_device() 1307 vid); in new_device() [all …]
|
| H A D | ioat.h | 31 ioat_transfer_data_cb(int vid, uint16_t queue_id, 36 ioat_check_completed_copies_cb(int vid, uint16_t queue_id, 46 ioat_transfer_data_cb(int vid __rte_unused, uint16_t queue_id __rte_unused, in ioat_transfer_data_cb() 55 ioat_check_completed_copies_cb(int vid __rte_unused, in ioat_check_completed_copies_cb()
|
| /f-stack/dpdk/examples/vhost_blk/ |
| H A D | vhost_blk_compat.c | 69 extern_vhost_pre_msg_handler(int vid, void *_msg) in extern_vhost_pre_msg_handler() argument 76 ret = rte_vhost_get_ifname(vid, path, PATH_MAX); in extern_vhost_pre_msg_handler() 117 extern_vhost_post_msg_handler(int vid, void *_msg) in extern_vhost_post_msg_handler() argument 124 ret = rte_vhost_get_ifname(vid, path, PATH_MAX); in extern_vhost_post_msg_handler() 152 vhost_session_install_rte_compat_hooks(uint32_t vid) in vhost_session_install_rte_compat_hooks() argument 156 rc = rte_vhost_extern_callback_register(vid, &g_extern_vhost_ops, NULL); in vhost_session_install_rte_compat_hooks() 160 vid); in vhost_session_install_rte_compat_hooks()
|
| H A D | vhost_blk.c | 99 rte_vhost_vring_call(task->ctrlr->vid, vq->id); in enqueue_task() 134 rte_vhost_vring_call(task->ctrlr->vid, vq->id); in enqueue_task_packed() 601 new_device(int vid) in new_device() argument 626 ctrlr->vid = vid; in new_device() 641 assert(rte_vhost_get_vring_base(ctrlr->vid, i, in new_device() 650 ctrlr->vid, i, in new_device() 687 destroy_device(int vid) in destroy_device() argument 722 rte_vhost_set_vring_base(ctrlr->vid, i, in destroy_device() 734 new_connection(int vid) in new_connection() argument 737 vhost_session_install_rte_compat_hooks(vid); in new_connection() [all …]
|
| /f-stack/freebsd/x86/cpufreq/ |
| H A D | powernow.c | 213 int vid; member 292 ctl |= PN7_CTR_VID(vid); in pn7_setfidvid() 300 if (vid != cvid) in pn7_setfidvid() 332 WRITE_FIDVID(fid, vid, ctrl); in pn8_write_fidvid() 361 while (cvid > vid) { in pn8_setfidvid() 427 if (cvid != vid) { in pn8_setfidvid() 444 int fid, vid; in pn_set() local 460 vid = sc->powernow_states[i].vid; in pn_set() 570 state.vid = *p++; in decode_pst() 606 int vid = sc->powernow_states[i].vid; in decode_pst() local [all …]
|
| /f-stack/dpdk/drivers/net/fm10k/base/ |
| H A D | fm10k_vf.c | 202 if ((vid << 16 | vid) >> 28) in fm10k_update_vlan_vf() 207 vid |= FM10K_VLAN_CLEAR; in fm10k_update_vlan_vf() 229 u16 vid; in fm10k_msg_mac_vlan_vf() local 238 perm_addr, &vid); in fm10k_msg_mac_vlan_vf() 301 const u8 *mac, u16 vid, bool add, u8 flags) in fm10k_update_uc_addr_vf() argument 311 if (vid >= FM10K_VLAN_TABLE_VID_MAX) in fm10k_update_uc_addr_vf() 325 vid |= FM10K_VLAN_CLEAR; in fm10k_update_uc_addr_vf() 347 const u8 *mac, u16 vid, bool add) in fm10k_update_mc_addr_vf() argument 357 if (vid >= FM10K_VLAN_TABLE_VID_MAX) in fm10k_update_mc_addr_vf() 366 vid |= FM10K_VLAN_CLEAR; in fm10k_update_mc_addr_vf() [all …]
|
| H A D | fm10k_api.c | 181 s32 fm10k_update_vlan(struct fm10k_hw *hw, u32 vid, u8 idx, bool set) in fm10k_update_vlan() argument 183 return fm10k_call_func(hw, hw->mac.ops.update_vlan, (hw, vid, idx, set), in fm10k_update_vlan() 295 const u8 *mac, u16 vid, bool add, u8 flags) in fm10k_update_uc_addr() argument 298 (hw, lport, mac, vid, add, flags), in fm10k_update_uc_addr() 313 const u8 *mac, u16 vid, bool add) in fm10k_update_mc_addr() argument 316 (hw, lport, mac, vid, add), in fm10k_update_mc_addr()
|
| H A D | fm10k_api.h | 21 s32 fm10k_update_vlan(struct fm10k_hw *hw, u32 vid, u8 idx, bool set); 30 const u8 *mac, u16 vid, bool add, u8 flags); 32 const u8 *mac, u16 vid, bool add);
|
| H A D | fm10k_pf.c | 239 len = vid >> 16; in fm10k_update_vlan_pf() 240 vid = (vid << 17) >> 17; in fm10k_update_vlan_pf() 247 for (reg = FM10K_VLAN_TABLE(vsi, vid / 32), bit = vid % 32; in fm10k_update_vlan_pf() 340 vid &= ~FM10K_VLAN_CLEAR; in fm10k_update_xc_addr_pf() 731 FM10K_TXQCTL_VF | vid); in fm10k_iov_assign_resources_pf() 1217 if (!vid) in fm10k_iov_select_vid() 1222 return vid; in fm10k_iov_select_vid() 1244 u32 vid; in fm10k_iov_msg_mac_vlan_pf() local 1261 vid &= ~FM10K_VLAN_CLEAR; in fm10k_iov_msg_mac_vlan_pf() 1273 if (vid >> 16) { in fm10k_iov_msg_mac_vlan_pf() [all …]
|
| /f-stack/dpdk/drivers/vdpa/mlx5/ |
| H A D | mlx5_vdpa.c | 153 mlx5_vdpa_features_set(int vid) in mlx5_vdpa_features_set() argument 229 int ret = rte_vhost_get_mtu(priv->vid, &vhost_mtu); in mlx5_vdpa_mtu_set() 273 mlx5_vdpa_dev_close(int vid) in mlx5_vdpa_dev_close() argument 297 priv->vid = 0; in mlx5_vdpa_dev_close() 298 DRV_LOG(INFO, "vDPA device %d was closed.", vid); in mlx5_vdpa_dev_close() 303 mlx5_vdpa_dev_config(int vid) in mlx5_vdpa_dev_config() argument 313 if (priv->configured && mlx5_vdpa_dev_close(vid)) { in mlx5_vdpa_dev_config() 317 priv->vid = vid; in mlx5_vdpa_dev_config() 325 mlx5_vdpa_dev_close(vid); in mlx5_vdpa_dev_config() 334 mlx5_vdpa_get_device_fd(int vid) in mlx5_vdpa_get_device_fd() argument [all …]
|
| H A D | mlx5_vdpa_virtq.c | 173 "hw_used_index=%d", priv->vid, index, in mlx5_vdpa_virtq_query() 175 ret = rte_vhost_set_vring_base(priv->vid, index, in mlx5_vdpa_virtq_query() 184 priv->vid, index, attr.error_type); in mlx5_vdpa_virtq_query() 320 "virtq %d.", priv->vid, last_avail_idx, in mlx5_vdpa_virtq_setup() 366 priv->vid, index); in mlx5_vdpa_virtq_setup() 387 " capability.", priv->vid); in mlx5_vdpa_features_validate() 395 priv->vid); in mlx5_vdpa_features_validate() 403 priv->vid); in mlx5_vdpa_features_validate() 411 priv->vid); in mlx5_vdpa_features_validate() 419 "capability.", priv->vid); in mlx5_vdpa_features_validate() [all …]
|
| /f-stack/dpdk/drivers/net/vhost/ |
| H A D | rte_eth_vhost.c | 92 int vid; member 110 int vid; member 762 vq->vid = internal->vid; in queue_setup() 770 vq->vid = internal->vid; in queue_setup() 777 new_device(int vid) in new_device() argument 806 internal->vid = vid; in new_device() 868 vq->vid = -1; in destroy_device() 874 vq->vid = -1; in destroy_device() 1091 int vid = -1; in rte_eth_vhost_get_vid_from_port_id() local 1103 vid = vq->vid; in rte_eth_vhost_get_vid_from_port_id() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/extcon/ |
| H A D | extcon-palmas.txt | 6 * "ti,palmas-usb-vid". 7 * "ti,twl6035-usb-vid". 8 * "ti,palmas-usb" (DEPRECATED - use "ti,palmas-usb-vid"). 9 * "ti,twl6035-usb" (DEPRECATED - use "ti,twl6035-usb-vid").
|
| /f-stack/freebsd/netinet/ |
| H A D | toecore.c | 411 uint16_t vid, pcp; in toe_lle_event() local 436 vid = 0xfff; in toe_lle_event() 450 VLAN_TAG(ifp, &vid); in toe_lle_event() 454 tod->tod_l2_update(tod, ifp, sa, lladdr, EVL_MAKETAG(vid, pcp, 0)); in toe_lle_event() 467 uint16_t vid, pcp; in toe_l2_resolve() local 485 vid = 0xfff; in toe_l2_resolve() 488 VLAN_TAG(ifp, &vid); in toe_l2_resolve() 491 vid = 0; in toe_l2_resolve() 494 *vtag = EVL_MAKETAG(vid, pcp, 0); in toe_l2_resolve()
|
| /f-stack/tools/ifconfig/ |
| H A D | ifvlan.c | 130 int vid; in vlan_parse_ethervid() local 147 vid = *cp++ - '0'; in vlan_parse_ethervid() 149 vid = (vid * 10) + (*cp++ - '0'); in vlan_parse_ethervid() 150 if ((*cp != '\0') || (vid & ~0xFFF)) in vlan_parse_ethervid() 154 params.vlr_tag = (vid & 0xFFF); in vlan_parse_ethervid()
|