Skip to contentSkip to conversation

raw/cnxk_bphy: fix missing doxygen comments

PATCH Applied Akhil Goyal 3 participants 3 messages Aug 7 – Sep 14

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 raw/cnxk_bphy: fix missing doxygen comments

Documentation build for raw driver cnxk_bphy,
if included in doc/api/doxy-api.conf.in,
fails because of missing dozygen comments.
Added comments to fix the doc build.

Bugzilla ID: 1962

Fixes 2e8bd307fae3 ("common/cnxk: support switching CPRI/ETH back and forth")
Fixes bd2fd34ab86f ("common/cnxk: sync eth mode change command with firmware")
---
 doc/api/doxy-api.conf.in             | 1 +
 drivers/raw/cnxk_bphy/rte_pmd_bphy.h | 2 ++
 2 files changed, 3 insertions(+)
doc/api/doxy-api.conf.in +1 -0
index bedd944681..94096ee710 100644
@@ -24,6 +24,7 @@ INPUT                   = @TOPDIR@/doc/api/doxy-api-index.md \
                           @TOPDIR@/drivers/net/intel/ixgbe \
                           @TOPDIR@/drivers/net/mlx5 \
                           @TOPDIR@/drivers/net/softnic \
+                          @TOPDIR@/drivers/raw/cnxk_bphy \
                           @TOPDIR@/drivers/raw/dpaa2_cmdif \
                           @TOPDIR@/drivers/raw/ifpga \
                           @TOPDIR@/lib/eal/include \
drivers/raw/cnxk_bphy/rte_pmd_bphy.h +2 -0
index f668e6ea82..99504dc496 100644
@@ -174,6 +174,7 @@ enum cnxk_bphy_cgx_eth_link_mode {
 	__CNXK_BPHY_CGX_ETH_LINK_MODE_MAX
 };
 
+/** Available CPRI modes */
 enum cnxk_bphy_cgx_eth_mode_cpri {
 	/** 2.4G Lane Rate */
 	CNXK_BPHY_CGX_ETH_MODE_CPRI_2_4G_BIT,
@@ -191,6 +192,7 @@ enum cnxk_bphy_cgx_eth_mode_cpri {
 	CNXK_BPHY_CGX_ETH_MODE_CPRI_24_3G_BIT,
 };
 
+/** Available mode groups */
 enum cnxk_bphy_cgx_mode_group {
 	/** ETH group */
 	CNXK_BPHY_CGX_MODE_GROUP_ETH,
Signature · 1 line
2.43.0
Acked-by Tested-by on v1 1/1
#1 lore raw
Quoted 13 lines

-----Original Message-----
From: Akhil Goyal <[email protected]>
Sent: Friday 7 August 2026 11:17
To: [email protected]
Cc: [email protected]; [email protected]; [email protected]; [email protected]; Akhil Goyal <[email protected]>; [email protected]; Marat Khalili <[email protected]>
Subject: [PATCH] raw/cnxk_bphy: fix missing doxygen comments

Documentation build for raw driver cnxk_bphy,
if included in doc/api/doxy-api.conf.in,
fails because of missing dozygen comments.
Added comments to fix the doc build.

Quoted 7 lines

Bugzilla ID: 1962

Fixes 2e8bd307fae3 ("common/cnxk: support switching CPRI/ETH back and forth")
Fixes bd2fd34ab86f ("common/cnxk: sync eth mode change command with firmware")

Thank you for handling this!

Quoted 40 lines
---
 doc/api/doxy-api.conf.in             | 1 +
 drivers/raw/cnxk_bphy/rte_pmd_bphy.h | 2 ++
 2 files changed, 3 insertions(+)
doc/api/doxy-api.conf.in +1 -0
index bedd944681..94096ee710 100644
@@ -24,6 +24,7 @@ INPUT                   = @TOPDIR@/doc/api/doxy-api-index.md \
                           @TOPDIR@/drivers/net/intel/ixgbe \
                           @TOPDIR@/drivers/net/mlx5 \
                           @TOPDIR@/drivers/net/softnic \
+                          @TOPDIR@/drivers/raw/cnxk_bphy \
                           @TOPDIR@/drivers/raw/dpaa2_cmdif \
                           @TOPDIR@/drivers/raw/ifpga \
                           @TOPDIR@/lib/eal/include \
drivers/raw/cnxk_bphy/rte_pmd_bphy.h +2 -1
index f668e6ea82..99504dc496 100644
@@ -174,6 +174,7 @@ enum cnxk_bphy_cgx_eth_link_mode {
 	__CNXK_BPHY_CGX_ETH_LINK_MODE_MAX
 };
 
+/** Available CPRI modes */
 enum cnxk_bphy_cgx_eth_mode_cpri {
 	/** 2.4G Lane Rate */
 	CNXK_BPHY_CGX_ETH_MODE_CPRI_2_4G_BIT,
@@ -191,6 +192,7 @@ enum cnxk_bphy_cgx_eth_mode_cpri {
 	CNXK_BPHY_CGX_ETH_MODE_CPRI_24_3G_BIT,
 };
 
+/** Available mode groups */
 enum cnxk_bphy_cgx_mode_group {
 	/** ETH group */
 	CNXK_BPHY_CGX_MODE_GROUP_ETH,
--

2.43.0

Applied
#2 lore raw
Quoted 22 lines · Marat Khalili
Quoted 5 lines

-----Original Message-----
From: Akhil Goyal <[email protected]>
Sent: Friday 7 August 2026 11:17
To: [email protected]
Cc: [email protected]; [email protected]; [email protected];

[email protected]; Akhil Goyal

Quoted 1 line

<[email protected]>; [email protected]; Marat Khalili <

[email protected]>

Quoted 9 lines

Subject: [PATCH] raw/cnxk_bphy: fix missing doxygen comments

Documentation build for raw driver cnxk_bphy, if included in doc/api/doxy-api.conf.in, fails because of missing dozygen comments. Added comments to fix the doc build.

Bugzilla ID: 1962

Fixes 2e8bd307fae3 ("common/cnxk: support switching CPRI/ETH back and

forth")

Quoted 1 line
Fixes bd2fd34ab86f ("common/cnxk: sync eth mode change command with

firmware")

Quoted 2 lines
Quoted 9 lines
Quoted 2 lines

Thank you for handling this!

Applied to dpdk-next-net-mrvl/for-main. Thanks

Quoted 44 lines

doc/api/doxy-api.conf.in INPUT = @TOPDIR@/doc/api/doxy-api-index.md

Quoted 10 lines
---
 doc/api/doxy-api.conf.in             | 1 +
 drivers/raw/cnxk_bphy/rte_pmd_bphy.h | 2 ++
 2 files changed, 3 insertions(+)
doc/api/doxy-api.conf.in +0 -0
index bedd944681..94096ee710 100644
@@ -24,6 +24,7 @@ INPUT                   = @TOPDIR@/doc/api/doxy-api-index.md

\

Review

Quoted 8 lines
doc/api/doxy-api.conf.in +1 -0
                           @TOPDIR@/drivers/net/intel/ixgbe \
                           @TOPDIR@/drivers/net/mlx5 \
                           @TOPDIR@/drivers/net/softnic \
+                          @TOPDIR@/drivers/raw/cnxk_bphy \
                           @TOPDIR@/drivers/raw/dpaa2_cmdif \
                           @TOPDIR@/drivers/raw/ifpga \
                           @TOPDIR@/lib/eal/include \
(quoted diff) +0 -0

b/drivers/raw/cnxk_bphy/rte_pmd_bphy.h

Quoted 22 lines

index f668e6ea82..99504dc496 100644

drivers/raw/cnxk_bphy/rte_pmd_bphy.h +2 -1
@@ -174,6 +174,7 @@ enum cnxk_bphy_cgx_eth_link_mode {
      __CNXK_BPHY_CGX_ETH_LINK_MODE_MAX
 };
 
+/** Available CPRI modes */
 enum cnxk_bphy_cgx_eth_mode_cpri {
      /** 2.4G Lane Rate */
      CNXK_BPHY_CGX_ETH_MODE_CPRI_2_4G_BIT,
@@ -191,6 +192,7 @@ enum cnxk_bphy_cgx_eth_mode_cpri {
      CNXK_BPHY_CGX_ETH_MODE_CPRI_24_3G_BIT,
 };
 
+/** Available mode groups */
 enum cnxk_bphy_cgx_mode_group {
      /** ETH group */
      CNXK_BPHY_CGX_MODE_GROUP_ETH,
--

2.43.0