diff options
author | Tariq Toukan <tariqt@nvidia.com> | 2023-01-05 09:45:24 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-01-10 21:24:42 -0800 |
commit | 7cb5eb937231663d11f7817e366f6f86a142d6d3 (patch) | |
tree | fc317e0f4383b16bd920485797e94bc0c865f2c3 /drivers/net/ethernet/intel/igc/igc_main.c | |
parent | fe998a3c77b9f989a30a2a01fb00d3729a6d53a4 (diff) |
net/mlx5: Introduce and use opcode getter in command interface
Introduce an opcode getter in the FW command interface, and use it.
Initialize the entry's opcode field early in cmd_alloc_ent() and use it
when possible.
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions