Skip to content

Commit

Permalink
baseband/acc100: fix device minimum alignment
Browse files Browse the repository at this point in the history
[ upstream commit badb3b7 ]

Historical mistakes, there should be no 64B alignment requirement for
the buffer being processed. Any 1B alignment is sufficient.

Fixes: 9200ffa ("baseband/acc100: add info get function")

Signed-off-by: Hernan Vargas <hernan.vargas@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
  • Loading branch information
Hernanlv authored and kevintraynor committed Nov 7, 2022
1 parent 9d91b37 commit 752dea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/baseband/acc100/rte_acc100_pmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ acc100_dev_info_get(struct rte_bbdev *dev,
d->acc100_conf.q_ul_4g.num_qgroups - 1;
dev_info->default_queue_conf = default_queue_conf;
dev_info->cpu_flag_reqs = NULL;
dev_info->min_alignment = 64;
dev_info->min_alignment = 1;
dev_info->capabilities = bbdev_capabilities;
#ifdef ACC100_EXT_MEM
dev_info->harq_buffer_size = d->ddr_size;
Expand Down

0 comments on commit 752dea9

Please sign in to comment.