Browse Source

[hermon] Update PRM file with latest changes

Signed-off-by: Itay Gazit <itaygazit@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Itay Gazit 14 years ago
parent
commit
399be05865
1 changed files with 18 additions and 20 deletions
  1. 18
    20
      src/drivers/infiniband/MT25408_PRM.h

+ 18
- 20
src/drivers/infiniband/MT25408_PRM.h View File

@@ -606,7 +606,8 @@ struct hermonprm_multicastparam_st {	/* Little Endian */
606 606
     pseudo_bit_t	mc_hash_fn[0x00003];   /* Multicast hash function
607 607
                                                  0 - Default hash function
608 608
                                                  other - reserved */
609
-    pseudo_bit_t	reserved5[0x00005];
609
+    pseudo_bit_t	uc_group_steering[0x00001];
610
+    pseudo_bit_t	reserved5[0x00004];
610 611
 /* -------------- */
611 612
     pseudo_bit_t	reserved6[0x00020];
612 613
 /* -------------- */
@@ -896,7 +897,7 @@ struct hermonprm_queue_pair_ee_context_entry_st {	/* Little Endian */
896 897
     pseudo_bit_t	reserved28[0x00005];
897 898
     pseudo_bit_t	rra_max[0x00003];      /* Maximum number of outstanding RDMA-read/Atomic operations allowed on receive queue is 2^RRA_Max. 
898 899
                                                  Must be 0 for EE context. */
899
-    pseudo_bit_t	reserved29[0x00008];
900
+    pseudo_bit_t	physical_function[0x00008];
900 901
 /* -------------- */
901 902
     pseudo_bit_t	next_rcv_psn[0x00018]; /* Next (expected) PSN on receive */
902 903
     pseudo_bit_t	min_rnr_nak[0x00005];  /* Minimum RNR NAK timer value (TTTTT field encoding according to the IB spec Vol1 9.7.5.2.8). 
@@ -1982,11 +1983,13 @@ struct hermonprm_query_dev_cap_st {	/* Little Endian */
1982 1983
                                                  The reserved resources are numbered from 0 to 2^log2_rsrvd_cqs-1 */
1983 1984
     pseudo_bit_t	reserved7[0x00004];
1984 1985
     pseudo_bit_t	log_max_cq_sz[0x00008];/* Log2 of the Maximum CQEs allowed in a CQ */
1985
-    pseudo_bit_t	reserved8[0x00008];
1986
+    pseudo_bit_t	num_rsvd_eqs[0x00008]; /* The number of EQs reserved for firmware use
1987
+                                                 The reserved resources are numbered from 0 to num_rsvd_eqs-1
1988
+                                                 If 0 - no resources are reserved. */
1986 1989
 /* -------------- */
1987 1990
     pseudo_bit_t	log_max_eq[0x00004];   /* Log2 of the Maximum number of EQs */
1988 1991
     pseudo_bit_t	reserved9[0x00004];
1989
-    pseudo_bit_t	num_rsvd_eqs[0x00004]; /* The number of EQs reserved for firmware use
1992
+    pseudo_bit_t	log2_rsvd_eqs[0x00004]; /* The number of EQs reserved for firmware use
1990 1993
                                                  The reserved resources are numbered from 0 to num_rsvd_eqs-1
1991 1994
                                                  If 0 - no resources are reserved. */
1992 1995
     pseudo_bit_t	reserved10[0x00004];
@@ -2019,20 +2022,8 @@ struct hermonprm_query_dev_cap_st {	/* Little Endian */
2019 2022
     pseudo_bit_t	reserved19[0x0001f];
2020 2023
 /* -------------- */
2021 2024
     pseudo_bit_t	num_ports[0x00004];    /* Number of IB ports. */
2022
-    pseudo_bit_t	max_vl_ib[0x00004];    /* Maximum VLs supported on each port, excluding VL15 */
2023
-    pseudo_bit_t	ib_port_width[0x00004];/* IB Port Width
2024
-                                                 1   - 1x
2025
-                                                 3   - 1x, 4x
2026
-                                                 11 - 1x, 4x or 12x
2027
-                                                 else - Reserved */
2028
-    pseudo_bit_t	ib_mtu[0x00004];       /* Maximum MTU Supported
2029
-                                                 0x0 - Reserved
2030
-                                                 0x1 - 256
2031
-                                                 0x2 - 512
2032
-                                                 0x3 - 1024
2033
-                                                 0x4 - 2048
2034
-                                                 0x5 - 4096
2035
-                                                 0x6-0xF Reserved */
2025
+    pseudo_bit_t	reserved47[0x00004];
2026
+    pseudo_bit_t	pci_pf_num[0x00008];    /* Number of supported physical functions */
2036 2027
     pseudo_bit_t	local_ca_ack_delay[0x00005];/* The Local CA ACK Delay. This is the value recommended to be returned in Query HCA verb.
2037 2028
                                                  The delay value in microseconds is computed using 4.096us * 2^(local_ca_ack_delay). */
2038 2029
     pseudo_bit_t	port_type[0x00004];    /* Hermon New. bit per port. bit0 is first port. value '1' is ehternet. '0' is IB */
@@ -2057,7 +2048,12 @@ struct hermonprm_query_dev_cap_st {	/* Little Endian */
2057 2048
                                                  bit 2 - 1/8 bw
2058 2049
                                                  bit 3 - 1/2 bw; */
2059 2050
 /* -------------- */
2060
-    pseudo_bit_t	reserved26[0x00020];
2051
+    pseudo_bit_t	reserved26[0x00008];
2052
+    pseudo_bit_t	rss_udp[0x00001];
2053
+    pseudo_bit_t	vep_uc_steering[0x00001];
2054
+    pseudo_bit_t	vep_mc_steering[0x00001];
2055
+    pseudo_bit_t	reserved27[0x00015];
2056
+
2061 2057
 /* -------------- */
2062 2058
     pseudo_bit_t	rc[0x00001];           /* RC Transport supported */
2063 2059
     pseudo_bit_t	uc[0x00001];           /* UC Transport Supported */
@@ -2985,7 +2981,9 @@ struct hermonprm_mcg_hdr_st {	/* Little Endian */
2985 2981
     pseudo_bit_t	next_mcg[0x0001a];
2986 2982
 /* -------------- */
2987 2983
     pseudo_bit_t	members_count[0x00018];
2988
-    pseudo_bit_t	reserved1[0x00008];
2984
+    pseudo_bit_t	member_remove[0x00001];
2985
+    pseudo_bit_t	reserved1[0x00005];
2986
+    pseudo_bit_t	protocol[0x00002];
2989 2987
 /* -------------- */
2990 2988
     pseudo_bit_t	reserved2[0x00020];
2991 2989
 /* -------------- */

Loading…
Cancel
Save