Home
last modified time | relevance | path

Searched refs:features (Results 1 – 25 of 326) sorted by relevance

12345678910>>...14

/dpdk/drivers/net/virtio/virtio_user/
H A Dvhost_kernel_tap.c130 vhost_kernel_tap_set_offload(int fd, uint64_t features) in vhost_kernel_tap_set_offload() argument
134 if (features & (1ULL << VIRTIO_NET_F_GUEST_CSUM)) { in vhost_kernel_tap_set_offload()
136 if (features & (1ULL << VIRTIO_NET_F_GUEST_TSO4)) in vhost_kernel_tap_set_offload()
138 if (features & (1ULL << VIRTIO_NET_F_GUEST_TSO6)) in vhost_kernel_tap_set_offload()
140 if (features & ((1ULL << VIRTIO_NET_F_GUEST_TSO4) | in vhost_kernel_tap_set_offload()
142 (features & (1ULL << VIRTIO_NET_F_GUEST_ECN))) in vhost_kernel_tap_set_offload()
144 if (features & (1ULL << VIRTIO_NET_F_GUEST_UFO)) in vhost_kernel_tap_set_offload()
167 vhost_kernel_tap_setup(int tapfd, int hdr_size, uint64_t features) in vhost_kernel_tap_setup() argument
187 ret = vhost_kernel_tap_set_offload(tapfd, features); in vhost_kernel_tap_setup()
H A Dvhost_kernel.c144 *features |= VHOST_KERNEL_GUEST_OFFLOADS_MASK; in vhost_kernel_get_features()
145 *features |= VHOST_KERNEL_HOST_OFFLOADS_MASK; in vhost_kernel_get_features()
152 *features |= (1ull << VIRTIO_NET_F_MQ); in vhost_kernel_get_features()
165 features &= ~(1ULL << VIRTIO_F_IOMMU_PLATFORM); in vhost_kernel_set_features()
167 features &= ~VHOST_KERNEL_GUEST_OFFLOADS_MASK; in vhost_kernel_set_features()
168 features &= ~VHOST_KERNEL_HOST_OFFLOADS_MASK; in vhost_kernel_set_features()
169 features &= ~(1ULL << VIRTIO_NET_F_MQ); in vhost_kernel_set_features()
552 if ((dev->features & (1ULL << VIRTIO_NET_F_MRG_RXBUF)) || in vhost_kernel_enable_queue_pair()
553 (dev->features & (1ULL << VIRTIO_F_VERSION_1))) in vhost_kernel_enable_queue_pair()
578 vhost_kernel_get_backend_features(uint64_t *features) in vhost_kernel_get_backend_features() argument
[all …]
H A Dvhost_vdpa.c114 return vhost_vdpa_ioctl(data->vhostfd, VHOST_GET_BACKEND_FEATURES, features); in vhost_vdpa_get_protocol_features()
118 vhost_vdpa_set_protocol_features(struct virtio_user_dev *dev, uint64_t features) in vhost_vdpa_set_protocol_features() argument
122 return vhost_vdpa_ioctl(data->vhostfd, VHOST_SET_BACKEND_FEATURES, &features); in vhost_vdpa_set_protocol_features()
126 vhost_vdpa_get_features(struct virtio_user_dev *dev, uint64_t *features) in vhost_vdpa_get_features() argument
131 ret = vhost_vdpa_ioctl(data->vhostfd, VHOST_GET_FEATURES, features); in vhost_vdpa_get_features()
138 *features &= ~(1ULL << VIRTIO_NET_F_MQ); in vhost_vdpa_get_features()
159 vhost_vdpa_set_features(struct virtio_user_dev *dev, uint64_t features) in vhost_vdpa_set_features() argument
164 features |= 1ULL << VIRTIO_F_IOMMU_PLATFORM; in vhost_vdpa_set_features()
166 return vhost_vdpa_ioctl(data->vhostfd, VHOST_SET_FEATURES, &features); in vhost_vdpa_set_features()
592 vhost_vdpa_get_backend_features(uint64_t *features) in vhost_vdpa_get_backend_features() argument
[all …]
H A Dvhost_user.c264 if (msg.size != sizeof(*features)) { in vhost_user_get_protocol_features()
269 *features = msg.payload.u64; in vhost_user_get_protocol_features()
286 .size = sizeof(features), in vhost_user_set_protocol_features()
287 .payload.u64 = features, in vhost_user_set_protocol_features()
322 if (msg.size != sizeof(*features)) { in vhost_user_get_features()
327 *features = msg.payload.u64; in vhost_user_get_features()
329 if (!(*features & (1ULL << VHOST_USER_F_PROTOCOL_FEATURES))) in vhost_user_get_features()
361 .size = sizeof(features), in vhost_user_set_features()
362 .payload.u64 = features, in vhost_user_set_features()
928 vhost_user_get_backend_features(uint64_t *features) in vhost_user_get_backend_features() argument
[all …]
H A Dvhost.h69 int (*get_backend_features)(uint64_t *features);
71 int (*get_features)(struct virtio_user_dev *dev, uint64_t *features);
72 int (*set_features)(struct virtio_user_dev *dev, uint64_t features);
/dpdk/doc/guides/eventdevs/
H A Doverview.rst7 Event device supported features
14 Ethernet Rx adapter supported features
21 Ethernet Tx adapter supported features
28 Crypto device adapter supported features
35 Timer adapter supported features
/dpdk/lib/vhost/
H A Drte_vhost.h152 uint64_t features; member
174 uint64_t features; member
283 int (*features_changed)(int vid, uint64_t features);
398 #define RTE_VHOST_NEED_LOG(features) ((features) & (1ULL << VHOST_F_LOG_ALL)) argument
498 int rte_vhost_driver_set_features(const char *path, uint64_t features);
515 int rte_vhost_driver_enable_features(const char *path, uint64_t features);
529 int rte_vhost_driver_disable_features(const char *path, uint64_t features);
541 int rte_vhost_driver_get_features(const char *path, uint64_t *features);
594 int rte_vhost_get_negotiated_features(int vid, uint64_t *features);
H A Dsocket.c54 uint64_t features; member
635 vsocket->features &= ~features; in rte_vhost_driver_disable_features()
649 if ((vsocket->supported_features & features) != features) { in rte_vhost_driver_enable_features()
657 vsocket->features |= features; in rte_vhost_driver_enable_features()
672 vsocket->supported_features = features; in rte_vhost_driver_set_features()
673 vsocket->features = features; in rte_vhost_driver_set_features()
703 *features = vsocket->features; in rte_vhost_driver_get_features()
713 *features = vsocket->features & vdpa_features; in rte_vhost_driver_get_features()
894 vsocket->features &= ~(1ULL << VHOST_F_LOG_ALL); in rte_vhost_driver_register()
915 vsocket->features &= ~seg_offload_features; in rte_vhost_driver_register()
[all …]
H A Dvhost.h445 uint64_t features; member
491 return dev->features & (1ull << VIRTIO_F_RING_PACKED); in vq_is_packed()
538 if (unlikely(dev->features & (1ULL << VHOST_F_LOG_ALL))) in vhost_log_write()
545 if (unlikely(dev->features & (1ULL << VHOST_F_LOG_ALL))) in vhost_log_cache_sync()
553 if (unlikely(dev->features & (1ULL << VHOST_F_LOG_ALL))) in vhost_log_cache_write()
584 if (likely(!(dev->features & (1ULL << VHOST_F_LOG_ALL)))) in vhost_log_cache_write_iova()
587 if (dev->features & (1ULL << VIRTIO_F_IOMMU_PLATFORM)) in vhost_log_cache_write_iova()
597 if (likely(!(dev->features & (1ULL << VHOST_F_LOG_ALL)))) in vhost_log_write_iova()
600 if (dev->features & (1ULL << VIRTIO_F_IOMMU_PLATFORM)) in vhost_log_write_iova()
812 if (!(dev->features & (1ULL << VIRTIO_F_IOMMU_PLATFORM))) in vhost_iova_to_vva()
[all …]
/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa_virtq.c133 priv->features = 0; in mlx5_vdpa_virtqs_release()
236 attr.virtio_version_1_0 = !!(priv->features & (1ULL << in mlx5_vdpa_virtq_setup()
238 attr.type = (priv->features & (1ULL << VIRTIO_F_RING_PACKED)) ? in mlx5_vdpa_virtq_setup()
425 if (priv->features & (1ULL << VIRTIO_F_RING_PACKED)) { in mlx5_vdpa_features_validate()
434 if (priv->features & (1ULL << VIRTIO_NET_F_HOST_TSO4)) { in mlx5_vdpa_features_validate()
442 if (priv->features & (1ULL << VIRTIO_NET_F_HOST_TSO6)) { in mlx5_vdpa_features_validate()
450 if (priv->features & (1ULL << VIRTIO_NET_F_CSUM)) { in mlx5_vdpa_features_validate()
458 if (priv->features & (1ULL << VIRTIO_NET_F_GUEST_CSUM)) { in mlx5_vdpa_features_validate()
466 if (priv->features & (1ULL << VIRTIO_F_VERSION_1)) { in mlx5_vdpa_features_validate()
488 if ((priv->features & (1ULL << VIRTIO_NET_F_CSUM)) == 0 && in mlx5_vdpa_virtqs_prepare()
[all …]
H A Dmlx5_vdpa.c101 *features = MLX5_VDPA_DEFAULT_FEATURES; in mlx5_vdpa_get_vdpa_features()
103 *features |= (1ULL << VIRTIO_F_RING_PACKED); in mlx5_vdpa_get_vdpa_features()
105 *features |= (1ULL << VIRTIO_NET_F_HOST_TSO4); in mlx5_vdpa_get_vdpa_features()
107 *features |= (1ULL << VIRTIO_NET_F_HOST_TSO6); in mlx5_vdpa_get_vdpa_features()
109 *features |= (1ULL << VIRTIO_NET_F_CSUM); in mlx5_vdpa_get_vdpa_features()
111 *features |= (1ULL << VIRTIO_NET_F_GUEST_CSUM); in mlx5_vdpa_get_vdpa_features()
113 *features |= (1ULL << VIRTIO_F_VERSION_1); in mlx5_vdpa_get_vdpa_features()
119 uint64_t *features) in mlx5_vdpa_get_protocol_features() argument
128 *features = MLX5_VDPA_PROTOCOL_FEATURES; in mlx5_vdpa_get_protocol_features()
161 uint64_t features; in mlx5_vdpa_features_set() local
[all …]
H A Dmlx5_vdpa_lm.c77 uint64_t features; in mlx5_vdpa_lm_log() local
78 int ret = rte_vhost_get_negotiated_features(priv->vid, &features); in mlx5_vdpa_lm_log()
85 if (!RTE_VHOST_NEED_LOG(features)) in mlx5_vdpa_lm_log()
/dpdk/drivers/net/virtio/
H A Dvirtio.c14 uint64_t features; in virtio_negotiate_features() local
20 features = host_features & hw->guest_features; in virtio_negotiate_features()
21 VIRTIO_OPS(hw)->set_features(hw, features); in virtio_negotiate_features()
23 return features; in virtio_negotiate_features()
/dpdk/
H A DMAINTAINERS616 F: doc/guides/nics/features/ena.ini
637 F: doc/guides/nics/features/ark.ini
645 F: doc/guides/nics/features/bnxt.ini
683 F: doc/guides/nics/features/enic.ini
751 F: doc/guides/nics/features/ice.ini
759 F: doc/guides/nics/features/igc.ini
839 F: doc/guides/nics/features/nfb.ini
881 F: doc/guides/nics/features/pfe.ini
910 F: doc/guides/nics/features/sfc.ini
966 F: doc/guides/nics/features/avp.ini
[all …]
/dpdk/doc/guides/nics/
H A Datlantic.rst12 Supported features
15 - Base L2 features
24 Experimental API features
H A Doverview.rst19 Thus some features may not be implemented.
25 More details about features can be found in :doc:`features`.
/dpdk/drivers/net/ionic/
H A Dionic_lif.c914 qti->features = rte_le_to_cpu_64(q_ident->features); in ionic_lif_queue_identify()
927 qtype, qti->features); in ionic_lif_queue_identify()
1421 .features = rte_cpu_to_le_64(lif->features), in ionic_lif_set_features()
1431 ctx.comp.lif_setattr.features); in ionic_lif_set_features()
1749 lif->features |= IONIC_ETH_HW_RX_SG; in ionic_lif_configure()
1752 lif->features &= ~IONIC_ETH_HW_RX_SG; in ionic_lif_configure()
1776 lif->features |= IONIC_ETH_HW_TX_SG; in ionic_lif_configure()
1778 lif->features &= ~IONIC_ETH_HW_TX_SG; in ionic_lif_configure()
1781 lif->features |= IONIC_ETH_HW_TSO; in ionic_lif_configure()
1785 lif->features &= ~IONIC_ETH_HW_TSO; in ionic_lif_configure()
[all …]
/dpdk/doc/guides/bbdevs/features/
H A Dnull.ini2 ; Supported features of the 'null' bbdev driver.
4 ; Refer to default.ini for the full list of available PMD features.
H A Dla12xx.ini2 ; Supported features of the 'la12xx' bbdev driver.
4 ; Refer to default.ini for the full list of available PMD features.
/dpdk/drivers/crypto/virtio/
H A Dvirtio_pci.c104 modern_set_features(struct virtio_crypto_hw *hw, uint64_t features) in modern_set_features() argument
107 rte_write32(features & ((1ULL << 32) - 1), in modern_set_features()
111 rte_write32(features >> 32, in modern_set_features()
260 uint64_t features; in vtpci_cryptodev_negotiate_features() local
266 features = host_features & hw->guest_features; in vtpci_cryptodev_negotiate_features()
267 VTPCI_OPS(hw)->set_features(hw, features); in vtpci_cryptodev_negotiate_features()
269 return features; in vtpci_cryptodev_negotiate_features()
/dpdk/doc/guides/nics/features/
H A Dafpacket.ini2 ; Supported features of the 'afpacket' network poll mode driver.
4 ; Refer to default.ini for the full list of available PMD features.
/dpdk/doc/guides/regexdevs/features/
H A Dmlx5.ini2 ; Supported features of the 'mlx5' RegEx driver.
4 ; Refer to default.ini for the full list of available driver features.
/dpdk/doc/guides/vdpadevs/features/
H A Difcvf.ini2 ; Supported features of the 'ifcvf' vDPA driver.
4 ; Refer to default.ini for the full list of available PMD features.
/dpdk/doc/guides/compressdevs/features/
H A Dzlib.ini2 ; Refer to default.ini for the full list of available PMD features.
4 ; Supported features of 'ZLIB' compression driver.
H A Docteontx.ini2 ; Refer to default.ini for the full list of available PMD features.
4 ; Supported features of 'OCTEON TX ZIP' compression driver.

12345678910>>...14