net/mlx5: support device removed query on Windows
[dpdk.git] / drivers / common / mlx5 / windows / mlx5_win_ext.h
index 0e74910..111af2e 100644 (file)
@@ -14,7 +14,7 @@ extern "C" {
 typedef struct mlx5_context {
        devx_device_ctx        *devx_ctx;
        struct devx_device mlx5_dev;
-
+       struct devx_shutdown_event shutdown_event_obj;
 } mlx5_context_st;
 
 typedef struct {
@@ -28,6 +28,18 @@ struct mlx5_devx_umem {
        uint32_t                umem_id;
 };
 
+struct mlx5_pd {
+       void                   *obj;
+       uint32_t                pdn;
+       devx_device_ctx        *devx_ctx;
+};
+
+struct mlx5_devx_clock {
+       void *p_iseg_internal_timer;
+       u64 clock_frequency_hz;
+       int is_stable_clock_frequency;
+};
+
 #define GET_DEVX_CTX(ctx) (((mlx5_context_st *)ctx)->devx_ctx)
 #define GET_OBJ_CTX(obj)  (((mlx5_devx_obj_st *)obj)->devx_ctx)