net/mlx4: New file for QoS related firmware commands
[deliverable/linux.git] / drivers / net / ethernet / mellanox / mlx4 / mlx4.h
index 1409d0cd6143e8554524c8377a018ccb1c3edba1..9e5236b1b5f80c0f6831b3288c09ce1e4e0ac707 100644 (file)
 
 #define INIT_HCA_TPT_MW_ENABLE          (1 << 7)
 
-struct mlx4_set_port_prio2tc_context {
-       u8 prio2tc[4];
-};
-
-struct mlx4_port_scheduler_tc_cfg_be {
-       __be16 pg;
-       __be16 bw_precentage;
-       __be16 max_bw_units; /* 3-100Mbps, 4-1Gbps, other values - reserved */
-       __be16 max_bw_value;
-};
-
-struct mlx4_set_port_scheduler_context {
-       struct mlx4_port_scheduler_tc_cfg_be tc[MLX4_NUM_TC];
-};
-
 enum {
        MLX4_HCR_BASE           = 0x80680,
        MLX4_HCR_SIZE           = 0x0001c,
@@ -175,7 +160,7 @@ enum mlx4_res_tracker_free_type {
 
 /*
  *Virtual HCR structures.
- * mlx4_vhcr is the sw representation, in machine endianess
+ * mlx4_vhcr is the sw representation, in machine endianness
  *
  * mlx4_vhcr_cmd is the formalized structure, the one that is passed
  * to FW to go through communication channel.
This page took 0.163069 seconds and 5 git commands to generate.