include/linux/mlx5/lag.h

Source file repositories/reference/linux-study-clean/include/linux/mlx5/lag.h

File Facts

System
Linux kernel
Corpus path
include/linux/mlx5/lag.h
Extension
.h
Size
697 bytes
Lines
22
Domain
Core OS
Bucket
Core Kernel Interface
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __MLX5_LAG_API_H__
#define __MLX5_LAG_API_H__

#include <linux/types.h>

struct mlx5_core_dev;
struct mlx5_flow_table;
struct mlx5_flow_table_attr;

int mlx5_lag_demux_init(struct mlx5_core_dev *dev,
			struct mlx5_flow_table_attr *ft_attr);
void mlx5_lag_demux_cleanup(struct mlx5_core_dev *dev);
int mlx5_lag_demux_rule_add(struct mlx5_core_dev *dev, u16 vport_num,
			    int vport_index);
void mlx5_lag_demux_rule_del(struct mlx5_core_dev *dev, int vport_index);
int mlx5_lag_get_dev_seq(struct mlx5_core_dev *dev);

#endif /* __MLX5_LAG_API_H__ */

Annotation

Implementation Notes