From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BF8EBA0524; Sat, 20 Feb 2021 01:16:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C6E740696; Sat, 20 Feb 2021 01:16:25 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id E6AB340141 for ; Sat, 20 Feb 2021 01:16:22 +0100 (CET) IronPort-SDR: uErafhhD91MGqWY/g+G6I2w8BviT+SvmjX6tLVovuxBZGFMpW0+xgZLnMUY081k9zT9jCmhurZ 7mIQRP2Qdsjw== X-IronPort-AV: E=McAfee;i="6000,8403,9900"; a="203304762" X-IronPort-AV: E=Sophos;i="5.81,191,1610438400"; d="scan'208";a="203304762" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Feb 2021 16:16:20 -0800 IronPort-SDR: N01AXwwl/Vl4dnKlovvBJYCDn2ACPZZtC8ry+QxkVJiIfY9WDaKp6rGuJEh8TlJnEROHeDYrSe LLHc6wTfuIJA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,191,1610438400"; d="scan'208";a="440484041" Received: from skx-5gnr-sc12-4.sc.intel.com ([172.25.69.210]) by orsmga001.jf.intel.com with ESMTP; 19 Feb 2021 16:16:10 -0800 From: Nicolas Chautru To: dev@dpdk.org, akhil.goyal@nxp.com, thomas@monjalon.net, trix@redhat.com Cc: Nicolas Chautru Date: Fri, 19 Feb 2021 16:15:04 -0800 Message-Id: <1613780105-110079-1-git-send-email-nicolas.chautru@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH v1] bbdev: adding explicit enum for code block mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Minor change suggested by Tom Rix in earlier review. Avoiding magic number for code_block_mode and use explicit enum at bbdev level. PMDs updated in same commit. Nicolas Chautru (1): bbdev: adding explicit enum for code block mode app/test-bbdev/test_bbdev_perf.c | 16 ++++----- app/test-bbdev/test_bbdev_vector.c | 16 ++++----- drivers/baseband/acc100/rte_acc100_pmd.c | 42 +++++++++++----------- drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 10 +++--- drivers/baseband/fpga_lte_fec/fpga_lte_fec.c | 24 +++++++------ drivers/baseband/turbo_sw/bbdev_turbo_software.c | 18 +++++----- lib/librte_bbdev/rte_bbdev_op.h | 10 +++++- 7 files changed, 73 insertions(+), 63 deletions(-) -- 1.8.3.1