On 8/30/2016 11:24 PM, Or Gerlitz wrote:
On Tue, Aug 30, 2016 at 2:29 PM, Saeed Mahameed <sae...@mellanox.com> wrote:
From: Huy Nguyen <h...@mellanox.com>
+++ b/include/linux/mlx5/device.h
@@ -543,6 +544,15 @@ struct mlx5_eqe_vport_change {
__be32 rsvd1[6];
} __packed;
+struct mlx5_eqe_port_module {
+ u8 rsvd0[1];
+ u8 module;
+ u8 rsvd1[1];
+ u8 module_status;
+ u8 rsvd2[2];
+ u8 error_type;
+};
+
Saeed, any reason for this struct and friends not to be @ the FW IFC file?
Yes, those structures are accessed from irq context, we need to keep it
as fast as possible,
although for this case it is not that critical. But in order to keep the
code uniform, all eqes are built this way.