Home
last modified time | relevance | path

Searched refs:log_size (Results 1 – 15 of 15) sorted by relevance

/f-stack/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa_lm.c37 uint64_t log_size) in mlx5_vdpa_dirty_bitmap_set() argument
41 .size = log_size, in mlx5_vdpa_dirty_bitmap_set()
52 .dirty_bitmap_size = log_size, in mlx5_vdpa_dirty_bitmap_set()
63 log_size, IBV_ACCESS_LOCAL_WRITE); in mlx5_vdpa_dirty_bitmap_set()
H A Dmlx5_vdpa.c158 uint64_t log_base, log_size; in mlx5_vdpa_features_set() local
172 ret = rte_vhost_get_log_base(vid, &log_base, &log_size); in mlx5_vdpa_features_set()
177 ret = mlx5_vdpa_dirty_bitmap_set(priv, log_base, log_size); in mlx5_vdpa_features_set()
H A Dmlx5_vdpa.h379 uint64_t log_size);
/f-stack/dpdk/drivers/vdpa/ifc/base/
H A Difcvf.c282 ifcvf_enable_logging(struct ifcvf_hw *hw, u64 log_base, u64 log_size) in ifcvf_enable_logging() argument
295 (log_base + log_size) & IFCVF_32_BIT_MASK; in ifcvf_enable_logging()
298 ((log_base + log_size) >> 32) & IFCVF_32_BIT_MASK; in ifcvf_enable_logging()
H A Difcvf.h152 ifcvf_enable_logging(struct ifcvf_hw *hw, u64 log_base, u64 log_size);
/f-stack/dpdk/drivers/net/tap/
H A Dtap_bpf.h82 __u32 log_size; member
/f-stack/dpdk/drivers/vdpa/ifc/
H A Difcvf_vdpa.c314 uint64_t log_base = 0, log_size = 0; in vdpa_ifcvf_stop() local
330 rte_vhost_get_log_base(internal->vid, &log_base, &log_size); in vdpa_ifcvf_stop()
332 log_base, IFCVF_LOG_BASE, log_size); in vdpa_ifcvf_stop()
951 uint64_t log_base = 0, log_size = 0; in ifcvf_set_features() local
969 rte_vhost_get_log_base(vid, &log_base, &log_size); in ifcvf_set_features()
971 log_base, IFCVF_LOG_BASE, log_size); in ifcvf_set_features()
972 ifcvf_enable_logging(&internal->hw, IFCVF_LOG_BASE, log_size); in ifcvf_set_features()
/f-stack/dpdk/lib/librte_vhost/
H A Dvhost.c105 if (unlikely(dev->log_size <= ((addr + len - 1) / VHOST_LOG_PAGE / 8))) in __vhost_log_write()
213 if (unlikely(dev->log_size <= ((addr + len - 1) / VHOST_LOG_PAGE / 8))) in __vhost_log_cache_write()
1459 uint64_t *log_size) in rte_vhost_get_log_base() argument
1463 if (dev == NULL || log_base == NULL || log_size == NULL) in rte_vhost_get_log_base()
1467 *log_size = dev->log_size; in rte_vhost_get_log_base()
H A Drte_vhost.h914 rte_vhost_get_log_base(int vid, uint64_t *log_base, uint64_t *log_size);
H A Dvhost.h366 uint64_t log_size; member
H A Dvhost_user.c175 munmap((void *)(uintptr_t)dev->log_addr, dev->log_size); in vhost_backend_cleanup()
2127 munmap((void *)(uintptr_t)dev->log_addr, dev->log_size); in vhost_user_set_log_base()
2131 dev->log_size = size; in vhost_user_set_log_base()
/f-stack/freebsd/contrib/ena-com/
H A Dena_com.c1196 u16 log_size) in ena_com_indirect_table_allocate() argument
1208 if ((get_resp.u.ind_table.min_size > log_size) || in ena_com_indirect_table_allocate()
1209 (get_resp.u.ind_table.max_size < log_size)) { in ena_com_indirect_table_allocate()
1211 1 << log_size, in ena_com_indirect_table_allocate()
1217 tbl_size = (1ULL << log_size) * in ena_com_indirect_table_allocate()
1228 tbl_size = (1ULL << log_size) * sizeof(u16); in ena_com_indirect_table_allocate()
1234 rss->tbl_log_size = log_size; in ena_com_indirect_table_allocate()
1239 tbl_size = (1ULL << log_size) * in ena_com_indirect_table_allocate()
H A Dena_com.h669 int ena_com_rss_init(struct ena_com_dev *ena_dev, u16 log_size);
/f-stack/dpdk/drivers/net/ena/base/
H A Dena_com.c1146 u16 log_size) in ena_com_indirect_table_allocate() argument
1158 if ((get_resp.u.ind_table.min_size > log_size) || in ena_com_indirect_table_allocate()
1159 (get_resp.u.ind_table.max_size < log_size)) { in ena_com_indirect_table_allocate()
1161 1 << log_size, in ena_com_indirect_table_allocate()
1167 tbl_size = (1ULL << log_size) * in ena_com_indirect_table_allocate()
1178 tbl_size = (1ULL << log_size) * sizeof(u16); in ena_com_indirect_table_allocate()
1184 rss->tbl_log_size = log_size; in ena_com_indirect_table_allocate()
1189 tbl_size = (1ULL << log_size) * in ena_com_indirect_table_allocate()
H A Dena_com.h641 int ena_com_rss_init(struct ena_com_dev *ena_dev, u16 log_size);