Lines Matching +full:un +full:- +full:approved

1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2007-2017 QLogic Corporation. All rights reserved.
145 /* Up to 16 bytes of NULL-terminated string */
164 (if multiple found, priority order is: NC-SI, UMP, IPMI) */
169 /* Use SPIO4 as an arbiter between: 0-NC_SI, 1-IPMI
170 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */
172 /* Use SPIO4 as an arbiter between: 0-UMP, 1-IPMI
173 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */
175 /* Use SPIO4 as an arbiter between: 0-NC-SI, 1-UMP
176 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */
305 /* Reserved bits: 226-230 */
422 /* Default values: 2P-64, 4P-32 */
499 * The input pin I_FAULT which indicate over-current has occurred.
527 /* Set non-default values for TXFIR in SFP mode. */
531 /* Set non-default values for IPREDRIVER in SFP mode. */
535 /* Set non-default values for POST2 in SFP mode. */
588 /* Reserved bits: 2272-2336 For storing FCOE mac on shared memory */
592 /* number of vfs per PF, if 0 - sriov disabled */
596 /* Enable RJ45 magjack pair swapping on 10GBase-T PHY (0=default),
632 KR-compliant, this parameter determine what is the trigger for it.
635 forced speed in with another parameter. Note when force-1G is
1000 /* Check the optic vendor via i2c against a list of approved modules
1275 /* Sensor interface - Disabled / BSC / In the future - SMBUS */
1310 /* Reserved bits: 75-76 */
1437 /* Allowable port enablement (bitmask for ports 3-1) */
1459 /* Currently enabled port(s) (bitmask for ports 3-1) */
1572 * pulse to determine when to switch to an OS-absent mode. */
1578 * running and there won't be any firmware-driver synchronization during a
1589 * Driver <-> FW Mailbox *
1850 * (year-2001)*12*32 + month*32 + day.
1855 * OS-absent when it is not getting driver pulse.
1923 * Multi-Function configuration *
1971 /* 0 - low priority, 3 - high priority */
1977 /* value range - 0..100, increments in 100Mbps */
1997 /* afex default VLAN ID - 12 bits */
2011 /* number of vfs in function, if 0 - sriov disabled */
2062 * Extended configuration per function - this array does not exist and
2153 * array with individual bit-filed elements accessed using shifts and masks.
2158 #define SHMEM_ARRAY_MASK(eb) ((1<<(eb))-1)
2161 /* the bit-position macro allows the used to flip the order of the arrays
2186 ((((32/(fb)) - 1 - ((i)/((fb)/(eb))) % (32/(fb))) * (fb)) + \
2227 * For Admin MIB - is this feature supported by the
2228 * driver | For Local MIB - should this feature be enabled.
2374 /* ADMIN MIB - DCBX local machine default configuration. */
2395 /* REMOTE MIB - remote machine DCBX configuration. */
2414 /* LOCAL MIB - operational DCBX configuration - transmitted on Tx LLDPDU. */
2434 /* APP TLV extension - 16 more entries for negotiation results*/
2530 CURR_CFG_MET_VC_CLP = 4, /* C-Class SM-CLP */
2624 * bits 0-2 - function number / instance of driver to perform request
2625 * bits 3-5 - op code / is_ack?
2626 * bits 6-63 - data
2728 /* the status of EEE auto-negotiation
2729 * bits 15:0 the configured tx-lpi entry timer value. Depends on bit 31.
2784 uint32_t link_change_count[PORT_MAX]; /* Offset 0x160-0x164 */
2813 /* For PCP values 0-3 use the map lower */
2814 /* 0xFF000000 - PCP 0, 0x00FF0000 - PCP 1,
2815 * 0x0000FF00 - PCP 2, 0x000000FF PCP 3
2819 /* For PCP values 4-7 use the map upper */
2820 /* 0xFF000000 - PCP 4, 0x00FF0000 - PCP 5,
2821 * 0x0000FF00 - PCP 6, 0x000000FF PCP 7
2835 * MM - Major, mm - Minor, bb - Build ,dd - Drop
3503 uint32_t wol_support; /* WoL Support (i.e. Non-Zero if WOL supported ) */
3507 uint32_t rx_errors; /* RX Errors. Physical Port Stats L95, All PFs and NC-SI.
3605 …<23) /* BitField agg_vars1Various aggregative variables 0-NOP, 1-EQ, 2-NEQ, 3-GT, 4-GE, 5-LS, 6-LE…
3607 … (0x3<<26) /* BitField agg_vars1Various aggregative variables 0-NOP, 1-EQ, 2-NEQ */
3609 … (0x3<<28) /* BitField agg_vars1Various aggregative variables 0-NOP, 1-EQ, 2-NEQ */
3611 … (0x3<<30) /* BitField agg_vars1Various aggregative variables 0-NOP, 1-EQ, 2-NEQ */
3733 …/* BitField opcode Whether the source is the PCIe or the GRC. 0- The source is the PCIe 1- The sou…
3735 … (0x3<<1) /* BitField opcode The destination of the DMA can be: 0-None 1-PCIe 2-GRC 3-None */
3737 … (0x1<<3) /* BitField opcode The destination of the completion: 0-PCIe 1-GRC */
3739 …to write a completion word to the completion destination: 0-Do not write a completion word 1-Write…
3741 …ode Whether to write a CRC word to the completion destination 0-Do not write a CRC word 1-Write a …
3759 …9) /* BitField opcode E2 and onwards which function gets the completion src_vn(e1hvn)-0 dst_vn-1 */
3761 …what to do when theres a completion and a PCI error regular-0 error indication-1 no completion-2 */
3773 …ode_iovE2 and onward, set to 0 for backward compatibility selects the source function PF-0, VF-1 */
3779 …ovE2 and onward, set to 0 for backward compatibility selects the destination function PF-0, VF-1 */
3789 …ode_iovE2 and onward, set to 0 for backward compatibility selects the source function PF-0, VF-1 */
3795 …ovE2 and onward, set to 0 for backward compatibility selects the destination function PF-0, VF-1 */
3913 * 5 lines. slow-path status block $$KEEP_ENDIANNESS$$
3940 … (0x1F<<0) /* BitField sb_id_and_flags 0-15: non default statu…
3942 … (0x7<<5) /* BitField sb_id_and_flags 0-3:storm id, 4: attn s…
3954 … (0x1F<<0) /* BitField sb_id_and_flags 0-15: non default statu…
3956 … (0x7<<5) /* BitField sb_id_and_flags 0-3:storm id, 4: attn s…
3978 … (0x7<<21) /* BitField sb_id_and_flags 0-3:storm id, 4: attn s…
4000 … (0x7<<21) /* BitField sb_id_and_flags 21-23 (use enum igu_seg_…
4114 … (0x1<<0) /* BitField flagscontext flags 0=non-unicast, 1=unicast (u…
4120 … (0x3<<3) /* BitField flagscontext flags 0=un-known, 1=Ipv4, 2=Ipv6,3=LLC SNAP un-kn…
4124 … (0x1<<6) /* BitField flagscontext flags 0=non-fragmented, 1=fragmen…
4126 … (0x3<<7) /* BitField flagscontext flags 0=un-known, 1=TCP, 2=UDP …
4128 … (0x1<<9) /* BitField flagscontext flags 0=packet with data, 1=pure-ACK (use enum prs_fla…
4164 * Parsing flags for over-ethernet protocol
4176 * Parsing flags for over-IP protocol
5021 …) /* BitField agg_vars2various aggregation variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
5059 …) /* BitField agg_vars2various aggregation variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
5165 …) /* BitField agg_vars2various aggregation variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
5203 …) /* BitField agg_vars2various aggregation variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
5427 uint8_t __agg_val8_th /* aggregated value 8 - threshold */;
5485 uint8_t __agg_val8_th /* aggregated value 8 - threshold */;
5518 uint32_t __agg_val10_th /* aggregated value 10 - threshold */;
5593 … (0x3<<5) /* BitField agg_vars2Various aggregative variables 0-NOP,1-EQ,2-NEQ */
5607 … (0x3<<5) /* BitField agg_vars2Various aggregative variables 0-NOP,1-EQ,2-NEQ */
5622 … (0x3<<0) /* BitField agg_vars5Various aggregative variables 0-NOP,1-EQ,2-NEQ */
5628 … (0x3<<14) /* BitField agg_vars5Various aggregative variables 0-NOP,1-EQ,2-NEQ */
5634 … (0x3<<0) /* BitField agg_vars5Various aggregative variables 0-NOP,1-EQ,2-NEQ */
5640 … (0x3<<14) /* BitField agg_vars5Various aggregative variables 0-NOP,1-EQ,2-NEQ */
5646 …) /* BitField agg_vars7Various aggregative variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
5652 … (0x3<<6) /* BitField agg_vars7Various aggregative variables 0-NOP,1-EQ,2-NEQ */
5668 uint8_t agg_val3_th /* Aggregated value 3 - threshold */;
5670 …) /* BitField agg_vars6Various aggregative variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
5672 …) /* BitField agg_vars6Various aggregative variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
5674 … (0x3<<6) /* BitField agg_vars6Various aggregative variables 0-NOP,1-EQ,2-NEQ */
5678 …) /* BitField agg_vars6Various aggregative variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
5680 …) /* BitField agg_vars6Various aggregative variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
5682 … (0x3<<6) /* BitField agg_vars6Various aggregative variables 0-NOP,1-EQ,2-NEQ */
5684 uint8_t agg_val3_th /* Aggregated value 3 - threshold */;
5686 …) /* BitField agg_vars7Various aggregative variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
5692 … (0x3<<6) /* BitField agg_vars7Various aggregative variables 0-NOP,1-EQ,2-NEQ */
5710 uint16_t __agg_val11_th /* aggregated value 11 - threshold */;
5714 uint16_t __agg_val11_th /* aggregated value 11 - threshold */;
5718 uint8_t __agg_val6_th /* aggregated value 6 - threshold */;
5722 uint8_t __agg_val6_th /* aggregated value 6 - threshold */;
5727 uint16_t confq_prod /* CONFQ Producer, updated by Ustorm - AggVal2 */;
5729 uint16_t confq_prod /* CONFQ Producer, updated by Ustorm - AggVal2 */;
5747 uint8_t agg_val5_th /* Aggregated value 5 - threshold */;
5751 uint8_t agg_val5_th /* Aggregated value 5 - threshold */;
5807 uint8_t __agg_val8_th /* aggregated value 8 - threshold */;
5865 uint8_t __agg_val8_th /* aggregated value 8 - threshold */;
5872 uint16_t __agg_val7_th /* aggregated value 7 - threshold */;
5876 uint16_t __agg_val7_th /* aggregated value 7 - threshold */;
5942 uint32_t __agg_val10_th /* aggregated value 10 - threshold */;
6017 … (0x3<<5) /* BitField agg_vars2Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6031 … (0x3<<5) /* BitField agg_vars2Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6046 … (0x3<<0) /* BitField agg_vars5Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6052 … (0x3<<14) /* BitField agg_vars5Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6054 uint16_t sq_cons /* aggregated value 4 - threshold */;
6056 uint16_t sq_cons /* aggregated value 4 - threshold */;
6058 … (0x3<<0) /* BitField agg_vars5Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6064 … (0x3<<14) /* BitField agg_vars5Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6070 …) /* BitField agg_vars7Various aggregative variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
6076 … (0x3<<6) /* BitField agg_vars7Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6092 uint8_t agg_val3_th /* Aggregated value 3 - threshold */;
6094 …) /* BitField agg_vars6Various aggregative variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
6096 …) /* BitField agg_vars6Various aggregative variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
6098 … (0x3<<6) /* BitField agg_vars6Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6102 …) /* BitField agg_vars6Various aggregative variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
6104 …) /* BitField agg_vars6Various aggregative variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
6106 … (0x3<<6) /* BitField agg_vars6Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6108 uint8_t agg_val3_th /* Aggregated value 3 - threshold */;
6110 …) /* BitField agg_vars7Various aggregative variables 0-NOP,1-EQ,2-NEQ,3-GT_CYC,4-GT_ABS,5-LT_CYC,6
6116 … (0x3<<6) /* BitField agg_vars7Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6134 uint16_t __agg_val11_th /* aggregated value 11 - threshold */;
6138 uint16_t __agg_val11_th /* aggregated value 11 - threshold */;
6142 uint8_t __agg_val6_th /* aggregated value 6 - threshold */;
6146 uint8_t __agg_val6_th /* aggregated value 6 - threshold */;
6150 …producer threashold to compare the HQ consumer, which is the current HQ producer +1 - AggVal2Th */;
6151 uint16_t hq_cons /* HQ Consumer, updated by Cstorm - AggVal2 */;
6153 uint16_t hq_cons /* HQ Consumer, updated by Cstorm - AggVal2 */;
6154 …producer threashold to compare the HQ consumer, which is the current HQ producer +1 - AggVal2Th */;
6171 uint8_t agg_val5_th /* Aggregated value 5 - threshold */;
6175 uint8_t agg_val5_th /* Aggregated value 5 - threshold */;
6231 uint8_t __agg_val8_th /* aggregated value 8 - threshold */;
6289 uint8_t __agg_val8_th /* aggregated value 8 - threshold */;
6296 uint16_t __agg_val7_th /* aggregated value 7 - threshold */;
6300 uint16_t __agg_val7_th /* aggregated value 7 - threshold */;
6366 uint32_t __agg_val10_th /* aggregated value 10 - threshold */;
6441 … (0x3<<5) /* BitField agg_vars2Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6455 … (0x3<<5) /* BitField agg_vars2Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6470 … (0x3<<0) /* BitField agg_vars5Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6476 … (0x3<<14) /* BitField agg_vars5Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6478 uint16_t __agg_val4_th /* aggregated value 4 - threshold */;
6480 uint16_t __agg_val4_th /* aggregated value 4 - threshold */;
6482 … (0x3<<0) /* BitField agg_vars5Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6488 … (0x3<<14) /* BitField agg_vars5Various aggregative variables 0-NOP,1-EQ,2-NEQ */
6494 uint8_t __agg_val3_th /* Aggregated value 3 - threshold */;
6498 uint8_t __agg_val3_th /* Aggregated value 3 - threshold */;
6502 uint16_t __agg_val11_th /* aggregated value 11 - threshold */;
6506 uint16_t __agg_val11_th /* aggregated value 11 - threshold */;
6510 uint8_t __agg_val6_th /* aggregated value 6 - threshold */;
6514 uint8_t __agg_val6_th /* aggregated value 6 - threshold */;
6518 uint16_t __agg_val2_th /* Aggregated value 2 - threshold */;
6522 uint16_t __agg_val2_th /* Aggregated value 2 - threshold */;
6535 uint8_t __agg_val5_th /* Aggregated value 5 - threshold */;
6539 uint8_t __agg_val5_th /* Aggregated value 5 - threshold */;
6592 uint32_t lo /* low word for reg-pair */;
6593 uint32_t hi /* high word for reg-pair */;
6599 uint32_t lo /* low word for reg-pair */;
6600 uint32_t hi /* high word for reg-pair */;
6611 CLASSIFY_RULE_OPCODE_PAIR /* Add/remove a MAC-VLAN pair */,
6612 CLASSIFY_RULE_OPCODE_IMAC_VNI /* Add/remove an Inner MAC-VNI pair entry */,
6635 …uint8_t activate_flg /* if 0 - the client is deactivate else the client is activate client (1 bit …
6639 uint8_t func_id /* PCI function ID (0-71) */;
6706 uint16_t cqe_pause_thr_high /* number of remaining cqes above which, we send un-pause message */;
6708 uint16_t bd_pause_thr_high /* number of remaining bds above which, we send un-pause message */;
6710 uint16_t sge_pause_thr_high /* number of remaining sges above which, we send un-pause message */;
6747 …so_pcsum_location /* In case of non-Lso encapsulated packets with L4 checksum offload, the pseudo …
6748 …csum_location /* In case of non-Lso encapsulated packets with outer L3 ip checksum offload, the ps…
6768 uint8_t func_id /* PCI function ID this client belongs to (0-71) */;
6775 …uint8_t activate_flg /* if 0 - the client is deactivate else the client is activate client (1 bit …
6806 uint32_t regpair0_lo /* low word for reg-pair0 */;
6807 uint32_t regpair0_hi /* high word for reg-pair0 */;
6808 uint32_t regpair1_lo /* low word for reg-pair1 */;
6809 uint32_t regpair1_hi /* high word for reg-pair1 */;
6869 * Command for adding/removing a Inner-MAC/VNI classification rule $$KEEP_ENDIANNESS$$
6898 * Command for adding/removing a MAC-VLAN pair classification rule $$KEEP_ENDIANNESS$$
7001 …uint16_t sgl[8] /* Scatter-gather list of SGEs used by this packet. This list includes the indices…
7068 …uint16_t pkt_len_or_gro_seg_len /* Packet length (for non-TPA CQE) or GRO Segment Length (for TPA …
7198 uint8_t ip_hdr_start_inner_w /* Inner IP header offset in WORDs (16-bit) from start of packet */;
7231 uint8_t bin_id /* the bin to add this function to (0-255) */;
7288 ETH_RSS_MODE_REGULAR /* Regular (ndis-like) RSS */,
7290 ETH_RSS_MODE_VLAN_PRI /* RSS based on inner-vlan priority field (E1/E1h Only) */,
7291 ETH_RSS_MODE_E1HOV_PRI /* RSS based on outer-vlan priority field (E1/E1h Only) */,
7304 …) /* BitField capabilitiesFunction RSS capabilities configuration of the IpV4 2-tuple capability */
7306 …* BitField capabilitiesFunction RSS capabilities configuration of the IpV4 4-tuple capability for …
7308 …* BitField capabilitiesFunction RSS capabilities configuration of the IpV4 4-tuple capability for …
7310 …* BitField capabilitiesFunction RSS capabilities configuration of the IpV4 4-tuple capability for …
7312 …) /* BitField capabilitiesFunction RSS capabilities configuration of the IpV6 2-tuple capability */
7314 …* BitField capabilitiesFunction RSS capabilities configuration of the IpV6 4-tuple capability for …
7316 …* BitField capabilitiesFunction RSS capabilities configuration of the IpV6 4-tuple capability for …
7318 …* BitField capabilitiesFunction RSS capabilities configuration of the IpV6 4-tuple capability for …
7326 …uint8_t rss_result_mask /* The mask for the lower byte of RSS result - defines which section of th…
7355 * Eth Rx Cqe structure- general structure for ramrods $$KEEP_ENDIANNESS$$
7371 … (0xFF<<24) /* BitField conn_and_cmd_data command id of the ramrod- use RamrodCommandIdE…
7417 ETH_FP_CQE_REGULAR /* Regular CQE- no extra data */,
7418 ETH_FP_CQE_RAW /* Extra data is raw data- iscsi OOO */,
7440 … (0xFFUL<<24) /* BitField conn_and_cmd_data command id of the ramrod- use enum common_spqe…
7487 RAMROD_CMD_ID_ETH_EMPTY /* Empty ramrod - used to synchronize iSCSI OOO */,
7552 uint16_t total_pkt_bytes /* Size of the entire packet, valid for non-LSO packets */;
7568 … (0x3<<2) /* BitField as_bitfield 00 - no vlan; 01 - inband Vlan; …
7635 … (0x1<<6) /* BitField tcp_flagsState flags ECN-Echo */
7672 … (0xF<<0) /* BitField global_data Outer IP header offset in WORDs (16-bit) from start of pa…
7682 … (0x1F<<8) /* BitField global_data Outer IP header length in WORDs (16-bit). Valid only for …
7705 … (0x1<<6) /* BitField tcp_flagsState flags ECN-Echo */
7788 …uint16_t lsb_mac_addr /* 2 LSB of MAC address (should be given in big endien - driver should do ht…
7789 …uint16_t middle_mac_addr /* 2 middle bytes of MAC address (should be given in big endien - driver …
7790 …uint16_t msb_mac_addr /* 2 MSB of MAC address (should be given in big endien - driver should do ht…
7800 … (0x1<<4) /* BitField flags BitField flags 0 - cant remove vlan 1 - can remove…
7802 … (0x1<<5) /* BitField flags BitField flags 0 - not broadcast 1 - broadcast. …
7821 * Set-MAC command type (in E1x)
7858 uint16_t sge_pause_thr_high /* number of remaining sges above which, we send un-pause message */;
7863 * approximate-match multicast filtering for E1H per function in Tstorm
7877 …d config_flagsGeneral configuration flags configuration of the port RSS IpV4 2-tupple capability */
7879 …d config_flagsGeneral configuration flags configuration of the port RSS IpV4 4-tupple capability */
7881 …d config_flagsGeneral configuration flags configuration of the port RSS IpV4 2-tupple capability */
7883 …d config_flagsGeneral configuration flags configuration of the port RSS IpV6 4-tupple capability */
7887 …(0x1<<7) /* BitField config_flagsGeneral configuration flags 0 - Dont filter by vlan, 1 - Filter a…
7891 …uint8_t rss_result_mask /* The mask for the lower byte of RSS result - defines which section of th…
8193 union fcoe_kcqe_params params /* command-specific parameters */;
8199 … (0x1<<3) /* BitField flags Everest only - indicates whether th…
8230 uint32_t task_list_pbl_addr_lo /* Lower 32-bit of Task List page table */;
8231 uint32_t task_list_pbl_addr_hi /* Higher 32-bit of Task List page table */;
8232 uint32_t dummy_buffer_addr_lo /* Lower 32-bit of dummy buffer */;
8233 uint32_t dummy_buffer_addr_hi /* Higher 32-bit of dummy buffer */;
8257 uint32_t hash_tbl_pbl_addr_lo /* Lower 32-bit of Hash table PBL */;
8258 uint32_t hash_tbl_pbl_addr_hi /* Higher 32-bit of Hash table PBL */;
8259 uint32_t t2_hash_tbl_addr_lo /* Lower 32-bit of T2 Hash table */;
8260 uint32_t t2_hash_tbl_addr_hi /* Higher 32-bit of T2 Hash table */;
8261 uint32_t t2_ptr_hash_tbl_addr_lo /* Lower 32-bit of T2 ptr Hash table */;
8262 uint32_t t2_ptr_hash_tbl_addr_hi /* Higher 32-bit of T2 ptr Hash table */;
8285 …uint16_t fcoe_conn_id /* Drivers connection ID. Should be sent in KCQEs to speed-up drivers access…
8287 uint32_t sq_addr_lo /* Lower 32-bit of SQ */;
8288 uint32_t sq_addr_hi /* Higher 32-bit of SQ */;
8289 uint32_t rq_pbl_addr_lo /* Lower 32-bit of RQ page table */;
8290 uint32_t rq_pbl_addr_hi /* Higher 32-bit of RQ page table */;
8291 uint32_t rq_first_pbe_addr_lo /* Lower 32-bit of first RQ pbe */;
8292 uint32_t rq_first_pbe_addr_hi /* Higher 32-bit of first RQ pbe */;
8302 …uint16_t tx_max_fc_pay_len /* The maximum acceptable FC payload size (Buffer-to-buffer Receive Dat…
8304 uint32_t cq_addr_lo /* Lower 32-bit of CQ */;
8305 uint32_t cq_addr_hi /* Higher 32-bit of CQ */;
8306 uint32_t xferq_addr_lo /* Lower 32-bit of XFERQ */;
8307 uint32_t xferq_addr_hi /* Higher 32-bit of XFERQ */;
8308 uint32_t conn_db_addr_lo /* Lower 32-bit of Conn DB (RQ prod and CQ arm bit) */;
8309 uint32_t conn_db_addr_hi /* Higher 32-bit of Conn DB (RQ prod and CQ arm bit) */;
8332 … (0x1<<1) /* BitField flags E_D_TOV resolution (0 - msec, 1 - nsec), negotiat…
8347 uint32_t confq_first_pbe_addr_lo /* The first page used when handling CONFQ - low address */;
8348 uint32_t confq_first_pbe_addr_hi /* The first page used when handling CONFQ - high address */;
8350 …uint16_t rx_max_fc_pay_len /* The maximum acceptable FC payload size (Buffer-to-buffer Receive Dat…
8364 uint8_t src_mac_addr_lo[2] /* Lower 16-bit of source MAC address */;
8365 uint8_t src_mac_addr_mid[2] /* Mid 16-bit of source MAC address */;
8366 uint8_t src_mac_addr_hi[2] /* Higher 16-bit of source MAC address */;
8367 uint8_t dst_mac_addr_hi[2] /* Higher 16-bit of destination MAC address */;
8368 uint8_t dst_mac_addr_lo[2] /* Lower 16-bit destination MAC address */;
8369 uint8_t dst_mac_addr_mid[2] /* Mid 16-bit destination MAC address */;
8370 uint32_t lcq_addr_lo /* Lower 32-bit of LCQ */;
8371 uint32_t lcq_addr_hi /* Higher 32-bit of LCQ */;
8383 uint8_t src_mac_addr_lo[2] /* Lower 16-bit of source MAC address (HBAs MAC address) */;
8384 uint8_t src_mac_addr_mid[2] /* Mid 16-bit of source MAC address (HBAs MAC address) */;
8385 uint8_t src_mac_addr_hi[2] /* Higher 16-bit of source MAC address (HBAs MAC address) */;
8393 uint8_t dst_mac_addr_lo[2] /* Lower 16-bit of destination MAC address (FCFs MAC address) */;
8394 uint8_t dst_mac_addr_mid[2] /* Mid 16-bit of destination MAC address (FCFs MAC address) */;
8395 uint8_t dst_mac_addr_hi[2] /* Higher 16-bit of destination MAC address (FCFs MAC address) */;
8470 * Data-In/ELS/BLS information $$KEEP_ENDIANNESS$$
8485 … (0x1<<0) /* BitField flags Active Sequence indication (0 - not avtive; 1 - active) */
8489 …BitField flags ABTS (on Sequence) protocol complete indication (0 - not completed; 1 -completed by…
8495 … (0x1<<5) /* BitField flags ACK (EOFt) transmitted indication (0 - not tranmitted; 1 - transmitte…
8555 struct fcoe_read_flow_info read_info /* Data-In/ELS/BLS information */;
8611 struct fcoe_fc_frame tx_frame /* Middle-path/ABTS/Data-Out information */;
8625 … (0x7<<0) /* BitField init_flags Task type - Write / Read / Middl…
8631 … (0x3<<5) /* BitField init_flags Num of cached sge (0 - not cached sge) */
8695 struct fcoe_fcp_xfr_rdy_payload fcp_xfr_rdy /* Data-In/ELS/BLS information */;
8830 … (0x1<<1) /* BitField flags E_D_TOV resolution (0 - msec, 1 - nsec), negotiat…
8850 … (0x1<<1) /* BitField flags E_D_TOV resolution (0 - msec, 1 - nsec), negotiat…
8881 …uint16_t rx_max_fc_pay_len /* The maximum acceptable FC payload size (Buffer-to-buffer Receive Dat…
8883 …uint16_t rx_max_fc_pay_len /* The maximum acceptable FC payload size (Buffer-to-buffer Receive Dat…
8898 * FCoE 16-bits index structure
8910 * FCoE 16-bits index union
9041 * The FCoE non-aggregative context of Tstorm
9109 * Flags used in FCoE context section - 1 byte
9126 … (0x1<<7) /* BitField flags Are we using VNTag inner vlan - in this case we have…
9181 * Continuation of Flags used in FCoE context section - 1 byte
9211 * FCoE 16-bits vlan structure
9225 * FCoE 16-bits vlan union
9234 * FCoE 16-bits vlan, vif union
9263 …uint16_t tx_max_fc_pay_len /* The maximum acceptable FC payload size (Buffer-to-buffer Receive Dat…
9265 …uint16_t tx_max_fc_pay_len /* The maximum acceptable FC payload size (Buffer-to-buffer Receive Dat…
9297 uint8_t dcb_val /* DCB val - let us know if dcb info changes */;
9301 uint8_t dcb_val /* DCB val - let us know if dcb info changes */;
9469 union iscsi_kcqe_params params /* command-specific parameters */;
9474 … (0x1<<3) /* BitField flags Everest only - indicates whether th…
9488 … (0x1<<3) /* BitField flags Everest only - indicates whether th…
9538 uint32_t dummy_buffer_addr_lo /* Lower 32-bit of dummy buffer - Teton only */;
9539 uint32_t dummy_buffer_addr_hi /* Higher 32-bit of dummy buffer - Teton only */;
9619 …uint16_t iscsi_conn_id /* Drivers connection ID. Should be sent in KCQEs to speed-up drivers acces…
9621 …uint16_t iscsi_conn_id /* Drivers connection ID. Should be sent in KCQEs to speed-up drivers acces…
9624 uint32_t sq_page_table_addr_lo /* Lower 32-bit of the SQs page table address */;
9625 uint32_t sq_page_table_addr_hi /* Higher 32-bit of the SQs page table address */;
9626 uint32_t cq_page_table_addr_lo /* Lower 32-bit of the CQs page table address */;
9627 uint32_t cq_page_table_addr_hi /* Higher 32-bit of the CQs page table address */;
9652 uint32_t rq_page_table_addr_lo /* Lower 32-bits of the RQs page table address */;
9653 uint32_t rq_page_table_addr_hi /* Higher 32-bits of the RQs page table address */;
9656 …uint32_t num_additional_wqes /* Everest specific - number of offload3 KWQEs that will follow this …
9660 * Everest specific - Initial iSCSI connection offload request 3
9737 …uint16_t iscsi_conn_id /* Drivers connection ID. Should be sent in KCQEs to speed-up drivers acces…
9739 …uint16_t iscsi_conn_id /* Drivers connection ID. Should be sent in KCQEs to speed-up drivers acces…
10020 …F<<24) /* BitField place_db_bitfield_1place_db_bitfield_1 Temp task context - determines the CQ in…
10046 uint32_t rem_rcv_len /* Temp task context - Remaining bytes to end of task */;
10119 … (0x3<<29) /* BitField negotiated_rx_and_flags Task type: 0 = slow-path (non-RW) 1 = read 2 =…
10164 … (0x1<<30) /* BitField flags2various state flags possible blind-in-window RST attack de…
10166 … (0x1<<31) /* BitField flags2various state flags possible blind-in-window SYN attack de…
10200 uint8_t snd_wnd_scale /* 4b only, Far-end window (Snd.Wind.Scale) scale */;
10204 uint8_t snd_wnd_scale /* 4b only, Far-end window (Snd.Wind.Scale) scale */;
10211 uint32_t isle_start_seq /* First Out-of-order isle start sequence */;
10212 uint32_t isle_end_seq /* First Out-of-order isle end sequence */;
10221 …uint8_t max_isles_ever_happened /* for statistics only - max number of isles ever happened on this…
10227 …uint8_t max_isles_ever_happened /* for statistics only - max number of isles ever happened on this…
10231 uint16_t lsb_mac_address /* TX source MAC LSB-16 */;
10232 uint16_t vlan_id /* Connection-configured VLAN ID */;
10234 uint16_t vlan_id /* Connection-configured VLAN ID */;
10235 uint16_t lsb_mac_address /* TX source MAC LSB-16 */;
10238 uint16_t msb_mac_address /* TX source MAC MSB-16 */;
10239 uint16_t mid_mac_address /* TX source MAC MID-16 */;
10241 uint16_t mid_mac_address /* TX source MAC MID-16 */;
10242 uint16_t msb_mac_address /* TX source MAC MSB-16 */;
10244 uint32_t rightmost_received_seq /* The maximum sequence ever received - used for The New Patent */;
10270 uint32_t nalPayload /* Non-aligned payload */;
10285 …CTION_NALLEN (0x3<<5) /* BitField flags Non-aligned length */
10303 …CTION_NALLEN (0x3<<5) /* BitField flags Non-aligned length */
10323 * The iSCSI non-aggregative context of Tstorm
10639 uint32_t tx_r2t_sn /* Xstorm increments for every data-out seq sent. */;
10674 uint8_t task_pbl_cache_idx /* All-ones value stands for PBL not cached */;
10676 uint8_t task_pbl_cache_idx /* All-ones value stands for PBL not cached */;
10686 uint32_t exp_data_transfer_len_ttt /* Overloaded with ttt in multi-pdu sequences flow. */;
10765 * PDU header of an iSCSI DATA-OUT
10983 * PDU header of an iSCSI Nop-Out
11023 …struct iscsi_cmd_pdu_hdr_little_endian command_pdu_hdr /* PDU header of an iSCSI command - read,wr…
11024 …data_pdu_hdr_little_endian data_out_pdu_hdr /* PDU header of an iSCSI DATA-IN and DATA-OUT PDU */;
11029 struct iscsi_nop_out_hdr_little_endian nop_out_pdu_hdr /* PDU header of an iSCSI Nop-Out */;
11172 * per-port SAFC demo variables
11192 * per-port rate shaping variables
11201 * per-port fairness variables
11206 uint32_t fair_threshold /* almost-empty threshold */;
11212 * per-port SAFC variables
11230 * Per-port congestion management variables
11248 uint16_t rate /* Vnic/Protocol rate in units of Mega-bits/sec */;
11250 uint16_t rate /* Vnic/Protocol rate in units of Mega-bits/sec */;
11256 * per-vnic rate shaping variables
11260 struct rate_shaping_counter vn_counter /* per-vnic counter */;
11264 * per-vnic fairness variables
11307 * Protocol-common command ID for slow path elements
11326 * Per-protocol connection types
11338 NONE_CONNECTION_TYPE /* General- used for common slow path */,
11362 * zone A per-queue data
11372 * Vf-PF channel data in cstorm ram (non-triggered zone)
11381 * zone for VF non-triggered data
11385 struct vf_pf_channel_zone_data vf_pf_channel /* vf-pf channel zone data */;
11389 * Vf-PF channel trigger zone in cstorm ram
11393 …uint8_t addr_valid /* indicates that a vf-pf message is pending. MUST be set AFTER the message add…
11397 * zone that triggers the in-bound interrupt
11414 * zone B per-VF data
11418 struct non_trigger_vf_zone non_trigger /* zone for VF non-triggered data */;
11419 struct trigger_vf_zone trigger /* zone that triggers the in-bound interrupt */;
11506 * pf-vf event data $$KEEP_ENDIANNESS$$
11510 uint8_t vf_id /* VF ID (0-63) */;
11522 uint8_t vf_id /* VF ID (0-63) */;
11534 uint8_t vf_id /* VF ID (0-63) */;
11570 struct vf_pf_event_data vf_pf_event /* vf-pf event data */;
11697 …uint8_t allow_npar_tx_switching /* If set, inter-pf tx switching is allowed in Switch Independent …
11698 uint16_t sd_vlan_tag /* value of Vlan in case of switch depended multi-function mode */;
11699 uint16_t vif_id /* value of VIF id in case of NIV multi-function mode */;
11712 …uint8_t sd_accept_mf_clss_fail /* If set, accept packets that fail Multi-Function Switch-Dependent…
11715 …uint16_t sd_vlan_eth_type /* Value of ether-type to use in the case of switch dependent multi-func…
11734 uint16_t vif_id /* value of VIF id in case of NIV multi-function mode */;
11756 uint16_t sd_vlan_tag /* New value of Outer Vlan in case of switch depended multi-function mode */;
11757 …uint16_t sd_vlan_eth_type /* New value of ether-type in the case of switch dependent multi-functio…
11782 … (0x1<<1) /* BitField flags if set, this is big-endien ASM */
11784 … (0x3<<2) /* BitField flags 0 - E1, 1 - E1H */
11792 * Dynamic Host-Coalescing - Driver(host) counters
11832 * HC state-machine
11851 * hold PCI identification variables- used in various places in firmware
11857 uint8_t vf_id /* VF ID (0-63). Value of 0xFF means VF not valid */;
11858 uint8_t vnic_id /* Virtual NIC ID (0-3) */;
11859 uint8_t pf_id /* PCI physical function number (0-7). The LSB of this field is the port ID */;
11861 uint8_t pf_id /* PCI physical function number (0-7). The LSB of this field is the port ID */;
11862 uint8_t vnic_id /* Virtual NIC ID (0-3) */;
11863 uint8_t vf_id /* VF ID (0-63). Value of 0xFF means VF not valid */;
11869 * The fast-path status block meta-data, common to all chips
11880 uint8_t same_igu_sb_1b /* Indicate that both state-machines acts like single sm */;
11882 uint8_t same_igu_sb_1b /* Indicate that both state-machines acts like single sm */;
11902 * The fast-path status block meta-data
11923 * The fast-path status block meta-data
11928 struct hc_sb_data common /* The fast-path status block meta-data, common to all chips */;
11933 * The fast-path status block meta-data
11938 struct hc_sb_data common /* The fast-path status block meta-data, common to all chips */;
11948 HC_IGU_NBC_MODE /* Non-backward compatible mode */,
11997 * Multi-function modes
12009 * Protocol-common statistics collected by the Tstorm (per pf) $$KEEP_ENDIANNESS$$
12026 * Protocol-common statistics collected by the Tstorm (per port) $$KEEP_ENDIANNESS$$
12034 uint32_t packet_drop /* general packet drop conter- incremented for every packet drop */;
12048 * Protocol-common statistics collected by the Tstorm (per client) $$KEEP_ENDIANNESS$$
12067 * Protocol-common statistics collected by the Ustorm (per client) $$KEEP_ENDIANNESS$$
12084 * Protocol-common statistics collected by the Xstorm (per client) $$KEEP_ENDIANNESS$$
12122 … (0x1<<3) /* BitField flags if set, this is big-endien ASM */
12124 …RSION (0x3<<4) /* BitField flags 0 - E1, 1 - E1H */
12177 * Protocol-common statistics counter $$KEEP_ENDIANNESS$$
12279 * zone A per-queue data
12288 * zone B per-VF data
12307 * Drift-Adjust Commands for Set Timesync Ramrod
12311 TS_DRIFT_ADJUST_KEEP /* Keep Drift-Adjust at current values */,
12312 TS_DRIFT_ADJUST_SET /* Set Drift-Adjust */,
12313 TS_DRIFT_ADJUST_RESET /* Reset Drift-Adjust */,
12371 uint16_t num_reads /* Number of reads - Used for Average */;
12373 uint16_t num_reads /* Number of reads - Used for Average */;
12376 struct regpair_t sum_time_ns /* Sum of all the reads (in ns) - Used for Average */;
12381 * zone A per-queue data
12391 * zone B per-VF data
12400 * data per VF-PF channel
12418 * State of VF-PF channel
12440 * zone A per-queue data
12449 * zone B per-VF data
12458 * Out-of-order states
12527 uint32_t __addr_lo /* receive payload base address - Single continuous buffer (page) pointer */;
12528 uint32_t __addr_hi /* receive payload base address - Single continuous buffer (page) pointer */;
12531 uint8_t __isle_num /* isle_number of the pre-fetched BD */;
12535 uint8_t __isle_num /* isle_number of the pre-fetched BD */;
12563 uint32_t __addr_lo /* receive payload base address - Single continuous buffer (page) pointer */;
12564 uint32_t __addr_hi /* receive payload base address - Single continuous buffer (page) pointer */;
12600 …uint32_t pen_grq_placed_bytes /* The number of in-order bytes (peninsula) that were placed in the …
12638 …uint32_t __bytes_cons /* the last rq_available_bytes producer that was read from host - used to kn…
12639 …d_grq_bytes /* the last rq_available_bytes producer that was read from host - used to know how man…
12640 …uint32_t prev_rcv_win_right_edge /* siquence of the last bytes that can be received - used to know…
12641 uint32_t rcv_nxt /* Receive sequence: next expected - of the right most received packet */;
12674 * The TOE non-aggregative context of Tstorm
12683 * The TOE non-aggregative aligned context of Tstorm
12838 uint32_t addr_lo /* receive payload base address - Single continuous buffer (page) pointer */;
12839 uint32_t addr_hi /* receive payload base address - Single continuous buffer (page) pointer */;
12914 struct toe_rx_cqe_ooo_params ooo_params /* data params for OOO cqe - nbytes and isle number */;
12915 struct toe_rx_cqe_in_order_params in_order_params /* data params for in order cqe - nbytes */;
12927 … (0xFF<<24) /* BitField params1completion cid and opcode completion opcode - use enum toe_rx_cqe_…
12970 uint32_t addr_lo /* receive payload base address - Single continuous buffer (page) pointer */;
12971 uint32_t addr_hi /* receive payload base address - Single continuous buffer (page) pointer */;
12997 * TOE slow path opcodes (opcode 0 is illegal) - includes commands and completions
13058 struct xstorm_toe_stats_section statistics[2] /* 0 - ipv4 , 1 - ipv6 */;
13081 struct tstorm_toe_stats_section statistics[2] /* 0 - ipv4 , 1 - ipv6 */;
13101 uint32_t addr_lo /* tranasmit payload base address - Single continuous buffer (page) pointer */;
13102 uint32_t addr_hi /* tranasmit payload base address - Single continuous buffer (page) pointer */;
13158 … (0x1<<1) /* BitField flags flag for last doorbell - flushing doorbell qu…
13168 … (0x1<<1) /* BitField flags flag for last doorbell - flushing doorbell qu…
13250 uint16_t grq_thr_high /* number of remaining grqes above which, we send un-pause message */;
13251 uint16_t cq_thr_high /* number of remaining cqes above which, we send un-pause message */;
13253 uint16_t cq_thr_high /* number of remaining cqes above which, we send un-pause message */;
13254 uint16_t grq_thr_high /* number of remaining grqes above which, we send un-pause message */;