mlx4: Implement devlink interface
[deliverable/linux.git] / drivers / net / ethernet / mellanox / mlx4 / mlx4.h
index 7baef52db6b7586cf41df128c8ddecc581bc1568..ef9683101eada7081163b7f6bf1473c18bd63da2 100644 (file)
@@ -45,6 +45,7 @@
 #include <linux/workqueue.h>
 #include <linux/interrupt.h>
 #include <linux/spinlock.h>
+#include <net/devlink.h>
 
 #include <linux/mlx4/device.h>
 #include <linux/mlx4/driver.h>
@@ -828,6 +829,7 @@ struct mlx4_port_info {
        struct mlx4_roce_gid_table gid_table;
        int                     base_qpn;
        struct cpu_rmap         *rmap;
+       struct devlink_port     devlink_port;
 };
 
 struct mlx4_sense {
This page took 0.024362 seconds and 5 git commands to generate.