[PATCH 6.1 017/112] net/mlx5: Introduce and use opcode getter in command interface