projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/mlx5: Introduce access functions to modify/query vport vlans
[cascardo/linux.git]
/
include
/
linux
/
mlx5
/
vport.h
diff --git
a/include/linux/mlx5/vport.h
b/include/linux/mlx5/vport.h
index
dbbaed9
..
638f2ca
100644
(file)
--- a/
include/linux/mlx5/vport.h
+++ b/
include/linux/mlx5/vport.h
@@
-77,5
+77,12
@@
int mlx5_modify_nic_vport_promisc(struct mlx5_core_dev *mdev,
int promisc_uc,
int promisc_mc,
int promisc_all);
int promisc_uc,
int promisc_mc,
int promisc_all);
+int mlx5_query_nic_vport_vlans(struct mlx5_core_dev *dev,
+ u32 vport,
+ u16 vlans[],
+ int *size);
+int mlx5_modify_nic_vport_vlans(struct mlx5_core_dev *dev,
+ u16 vlans[],
+ int list_size);
#endif /* __MLX5_VPORT_H__ */
#endif /* __MLX5_VPORT_H__ */