drivers/net/ethernet/mellanox/mlx5/core/steering/hws/vport.h

Source file repositories/reference/linux-study-clean/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/vport.h

File Facts

System
Linux kernel
Corpus path
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/vport.h
Extension
.h
Size
405 bytes
Lines
14
Domain
Driver Families
Bucket
drivers/net
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef MLX5HWS_VPORT_H_
#define MLX5HWS_VPORT_H_

int mlx5hws_vport_init_vports(struct mlx5hws_context *ctx);

void mlx5hws_vport_uninit_vports(struct mlx5hws_context *ctx);

int mlx5hws_vport_get_gvmi(struct mlx5hws_context *ctx, u16 vport, u16 *vport_gvmi);

#endif /* MLX5HWS_VPORT_H_ */

Annotation

Implementation Notes