Skip to content

Commit

Permalink
Oops mlxcx_cmd_access_register() needs to know about PDDR
Browse files Browse the repository at this point in the history
  • Loading branch information
danmcd committed Nov 1, 2023
1 parent 4c3d231 commit ff9ed4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions usr/src/uts/common/io/mlxcx/mlxcx_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1787,6 +1787,9 @@ mlxcx_cmd_access_register(mlxcx_t *mlxp, mlxcx_cmd_reg_opmod_t opmod,
case MLXCX_REG_PCAM:
dsize = sizeof (mlxcx_reg_pcam_t);
break;
case MLXCX_REG_PDDR:
dsize = sizeof (mlxcx_reg_pddr_t);
break;
case MLXCX_REG_PMTU:
dsize = sizeof (mlxcx_reg_pmtu_t);
break;
Expand Down

0 comments on commit ff9ed4b

Please sign in to comment.