Lines Matching +full:1 +full:x
126 CPL_ERR_TCAM_PARITY = 1,
152 CPL_CONN_POLICY_ASK = 1,
167 ULP_CRC_HEADER = 1 << 0,
168 ULP_CRC_DATA = 1 << 1
178 TX_CSUM_UDP = 1,
196 #define CPL_OPCODE_V(x) ((x) << CPL_OPCODE_S) argument
197 #define CPL_OPCODE_G(x) (((x) >> CPL_OPCODE_S) & 0xFF) argument
198 #define TID_G(x) ((x) & 0xFFFFFF) argument
211 #define TID_TID_V(x) ((x) << TID_TID_S) argument
212 #define TID_TID_G(x) (((x) >> TID_TID_S) & TID_TID_M) argument
216 #define TID_QID_V(x) ((x) << TID_QID_S) argument
217 #define TID_QID_G(x) (((x) >> TID_QID_S) & TID_QID_M) argument
223 u8 filter_hit:1;
224 u8 filter_tid:1;
226 u8 ipv6:1;
227 u8 send2fw:1;
229 u8 send2fw:1;
230 u8 ipv6:1;
232 u8 filter_tid:1;
233 u8 filter_hit:1;
248 #define WR_OP_V(x) ((__u64)(x) << WR_OP_S) argument
254 #define TX_CHAN_V(x) ((x) << TX_CHAN_S) argument
257 #define ULP_MODE_V(x) ((x) << ULP_MODE_S) argument
261 #define RCV_BUFSIZ_V(x) ((x) << RCV_BUFSIZ_S) argument
264 #define SMAC_SEL_V(x) ((__u64)(x) << SMAC_SEL_S) argument
267 #define L2T_IDX_V(x) ((__u64)(x) << L2T_IDX_S) argument
270 #define WND_SCALE_V(x) ((__u64)(x) << WND_SCALE_S) argument
273 #define KEEP_ALIVE_V(x) ((__u64)(x) << KEEP_ALIVE_S) argument
274 #define KEEP_ALIVE_F KEEP_ALIVE_V(1ULL)
278 #define MSS_IDX_V(x) ((__u64)(x) << MSS_IDX_S) argument
279 #define MSS_IDX_G(x) (((x) >> MSS_IDX_S) & MSS_IDX_M) argument
284 #define RSS_QUEUE_V(x) ((x) << RSS_QUEUE_S) argument
285 #define RSS_QUEUE_G(x) (((x) >> RSS_QUEUE_S) & RSS_QUEUE_M) argument
288 #define RSS_QUEUE_VALID_V(x) ((x) << RSS_QUEUE_VALID_S) argument
289 #define RSS_QUEUE_VALID_F RSS_QUEUE_VALID_V(1U)
292 #define RX_FC_DISABLE_V(x) ((x) << RX_FC_DISABLE_S) argument
293 #define RX_FC_DISABLE_F RX_FC_DISABLE_V(1U)
296 #define RX_FC_VALID_V(x) ((x) << RX_FC_VALID_S) argument
297 #define RX_FC_VALID_F RX_FC_VALID_V(1U)
300 #define RX_CHANNEL_V(x) ((x) << RX_CHANNEL_S) argument
301 #define RX_CHANNEL_F RX_CHANNEL_V(1U)
304 #define WND_SCALE_EN_V(x) ((x) << WND_SCALE_EN_S) argument
305 #define WND_SCALE_EN_F WND_SCALE_EN_V(1U)
308 #define T5_OPT_2_VALID_V(x) ((x) << T5_OPT_2_VALID_S) argument
309 #define T5_OPT_2_VALID_F T5_OPT_2_VALID_V(1U)
324 #define NO_CONG_V(x) ((x) << NO_CONG_S) argument
325 #define NO_CONG_F NO_CONG_V(1U)
328 #define DELACK_V(x) ((x) << DELACK_S) argument
329 #define DELACK_F DELACK_V(1U)
332 #define NON_OFFLOAD_V(x) ((x) << NON_OFFLOAD_S) argument
333 #define NON_OFFLOAD_F NON_OFFLOAD_V(1U)
337 #define DSCP_V(x) ((x) << DSCP_S) argument
338 #define DSCP_G(x) (((x) >> DSCP_S) & DSCP_M) argument
341 #define TCAM_BYPASS_V(x) ((__u64)(x) << TCAM_BYPASS_S) argument
342 #define TCAM_BYPASS_F TCAM_BYPASS_V(1ULL)
345 #define NAGLE_V(x) ((__u64)(x) << NAGLE_S) argument
346 #define NAGLE_F NAGLE_V(1ULL)
348 /* option 1 fields */
350 #define SYN_RSS_ENABLE_V(x) ((x) << SYN_RSS_ENABLE_S) argument
351 #define SYN_RSS_ENABLE_F SYN_RSS_ENABLE_V(1U)
354 #define SYN_RSS_QUEUE_V(x) ((x) << SYN_RSS_QUEUE_S) argument
357 #define CONN_POLICY_V(x) ((x) << CONN_POLICY_S) argument
383 __u8 unknown:1;
384 __u8:1;
385 __u8 sack:1;
386 __u8 tstamp:1;
388 __u8 tstamp:1;
389 __u8 sack:1;
390 __u8:1;
391 __u8 unknown:1;
410 #define SYN_RX_CHAN_V(x) ((x) << SYN_RX_CHAN_S) argument
411 #define SYN_RX_CHAN_G(x) (((x) >> SYN_RX_CHAN_S) & SYN_RX_CHAN_M) argument
415 #define TCP_HDR_LEN_V(x) ((x) << TCP_HDR_LEN_S) argument
416 #define TCP_HDR_LEN_G(x) (((x) >> TCP_HDR_LEN_S) & TCP_HDR_LEN_M) argument
420 #define IP_HDR_LEN_V(x) ((x) << IP_HDR_LEN_S) argument
421 #define IP_HDR_LEN_G(x) (((x) >> IP_HDR_LEN_S) & IP_HDR_LEN_M) argument
425 #define ETH_HDR_LEN_V(x) ((x) << ETH_HDR_LEN_S) argument
426 #define ETH_HDR_LEN_G(x) (((x) >> ETH_HDR_LEN_S) & ETH_HDR_LEN_M) argument
431 #define SYN_MAC_IDX_V(x) ((x) << SYN_MAC_IDX_S) argument
432 #define SYN_MAC_IDX_G(x) (((x) >> SYN_MAC_IDX_S) & SYN_MAC_IDX_M) argument
435 #define SYN_XACT_MATCH_V(x) ((x) << SYN_XACT_MATCH_S) argument
436 #define SYN_XACT_MATCH_F SYN_XACT_MATCH_V(1U)
440 #define SYN_INTF_V(x) ((x) << SYN_INTF_S) argument
441 #define SYN_INTF_G(x) (((x) >> SYN_INTF_S) & SYN_INTF_M) argument
452 #define CONG_CNTRL_V(x) ((x) << CONG_CNTRL_S) argument
453 #define CONG_CNTRL_G(x) (((x) >> CONG_CNTRL_S) & CONG_CNTRL_M) argument
456 #define T5_ISS_V(x) ((x) << T5_ISS_S) argument
457 #define T5_ISS_F T5_ISS_V(1U)
468 #define RX_COALESCE_VALID_V(x) ((x) << RX_COALESCE_VALID_S) argument
469 #define RX_COALESCE_VALID_F RX_COALESCE_VALID_V(1U)
472 #define RX_COALESCE_V(x) ((x) << RX_COALESCE_S) argument
475 #define PACE_V(x) ((x) << PACE_S) argument
479 #define TX_QUEUE_V(x) ((x) << TX_QUEUE_S) argument
480 #define TX_QUEUE_G(x) (((x) >> TX_QUEUE_S) & TX_QUEUE_M) argument
483 #define CCTRL_ECN_V(x) ((x) << CCTRL_ECN_S) argument
484 #define CCTRL_ECN_F CCTRL_ECN_V(1U)
487 #define TSTAMPS_EN_V(x) ((x) << TSTAMPS_EN_S) argument
488 #define TSTAMPS_EN_F TSTAMPS_EN_V(1U)
491 #define SACK_EN_V(x) ((x) << SACK_EN_S) argument
492 #define SACK_EN_F SACK_EN_V(1U)
517 #define FILTER_TUPLE_V(x) ((x) << FILTER_TUPLE_S) argument
518 #define FILTER_TUPLE_G(x) (((x) >> FILTER_TUPLE_S) & FILTER_TUPLE_M) argument
601 #define AOPEN_STATUS_G(x) (((x) >> AOPEN_STATUS_S) & AOPEN_STATUS_M) argument
605 #define AOPEN_ATID_G(x) (((x) >> AOPEN_ATID_S) & AOPEN_ATID_M) argument
620 #define PASS_OPEN_TID_V(x) ((x) << PASS_OPEN_TID_S) argument
621 #define PASS_OPEN_TID_G(x) (((x) >> PASS_OPEN_TID_S) & PASS_OPEN_TID_M) argument
625 #define PASS_OPEN_TOS_V(x) ((x) << PASS_OPEN_TOS_S) argument
626 #define PASS_OPEN_TOS_G(x) (((x) >> PASS_OPEN_TOS_S) & PASS_OPEN_TOS_M) argument
631 #define TCPOPT_WSCALE_OK_G(x) \ argument
632 (((x) >> TCPOPT_WSCALE_OK_S) & TCPOPT_WSCALE_OK_M)
636 #define TCPOPT_SACK_G(x) (((x) >> TCPOPT_SACK_S) & TCPOPT_SACK_M) argument
640 #define TCPOPT_TSTAMP_G(x) (((x) >> TCPOPT_TSTAMP_S) & TCPOPT_TSTAMP_M) argument
644 #define TCPOPT_SND_WSCALE_G(x) \ argument
645 (((x) >> TCPOPT_SND_WSCALE_S) & TCPOPT_SND_WSCALE_M)
649 #define TCPOPT_MSS_G(x) (((x) >> TCPOPT_MSS_S) & TCPOPT_MSS_M) argument
652 #define T6_TCP_HDR_LEN_V(x) ((x) << T6_TCP_HDR_LEN_S) argument
653 #define T6_TCP_HDR_LEN_G(x) (((x) >> T6_TCP_HDR_LEN_S) & TCP_HDR_LEN_M) argument
656 #define T6_IP_HDR_LEN_V(x) ((x) << T6_IP_HDR_LEN_S) argument
657 #define T6_IP_HDR_LEN_G(x) (((x) >> T6_IP_HDR_LEN_S) & IP_HDR_LEN_M) argument
661 #define T6_ETH_HDR_LEN_V(x) ((x) << T6_ETH_HDR_LEN_S) argument
662 #define T6_ETH_HDR_LEN_G(x) (((x) >> T6_ETH_HDR_LEN_S) & T6_ETH_HDR_LEN_M) argument
683 #define QUEUENO_V(x) ((x) << QUEUENO_S) argument
686 #define REPLY_CHAN_V(x) ((x) << REPLY_CHAN_S) argument
687 #define REPLY_CHAN_F REPLY_CHAN_V(1U)
690 #define NO_REPLY_V(x) ((x) << NO_REPLY_S) argument
691 #define NO_REPLY_F NO_REPLY_V(1U)
719 #define TCB_WORD_V(x) ((x) << TCB_WORD_S) argument
723 #define TCB_COOKIE_V(x) ((x) << TCB_COOKIE_S) argument
724 #define TCB_COOKIE_G(x) (((x) >> TCB_COOKIE_S) & TCB_COOKIE_M) argument
757 #define LISTSVR_IPV6_V(x) ((x) << LISTSVR_IPV6_S) argument
758 #define LISTSVR_IPV6_F LISTSVR_IPV6_V(1U)
779 #define ABORT_RSS_STATUS_V(x) ((x) << ABORT_RSS_STATUS_S) argument
780 #define ABORT_RSS_STATUS_G(x) (((x) >> ABORT_RSS_STATUS_S) & ABORT_RSS_STATUS_M) argument
784 #define ABORT_RSS_SRQIDX_V(x) ((x) << ABORT_RSS_SRQIDX_S) argument
785 #define ABORT_RSS_SRQIDX_G(x) (((x) >> ABORT_RSS_SRQIDX_S) & ABORT_RSS_SRQIDX_M) argument
843 #define TXPKT_VF_V(x) ((x) << TXPKT_VF_S) argument
846 #define TXPKT_PF_V(x) ((x) << TXPKT_PF_S) argument
849 #define TXPKT_VF_VLD_V(x) ((x) << TXPKT_VF_VLD_S) argument
850 #define TXPKT_VF_VLD_F TXPKT_VF_VLD_V(1U)
853 #define TXPKT_OVLAN_IDX_V(x) ((x) << TXPKT_OVLAN_IDX_S) argument
856 #define TXPKT_T5_OVLAN_IDX_V(x) ((x) << TXPKT_T5_OVLAN_IDX_S) argument
859 #define TXPKT_INTF_V(x) ((x) << TXPKT_INTF_S) argument
862 #define TXPKT_INS_OVLAN_V(x) ((x) << TXPKT_INS_OVLAN_S) argument
863 #define TXPKT_INS_OVLAN_F TXPKT_INS_OVLAN_V(1U)
866 #define TXPKT_TSTAMP_V(x) ((x) << TXPKT_TSTAMP_S) argument
867 #define TXPKT_TSTAMP_F TXPKT_TSTAMP_V(1ULL)
870 #define TXPKT_OPCODE_V(x) ((x) << TXPKT_OPCODE_S) argument
874 #define TXPKT_CSUM_END_V(x) ((x) << TXPKT_CSUM_END_S) argument
877 #define TXPKT_CSUM_START_V(x) ((x) << TXPKT_CSUM_START_S) argument
880 #define TXPKT_IPHDR_LEN_V(x) ((__u64)(x) << TXPKT_IPHDR_LEN_S) argument
883 #define TXPKT_CSUM_LOC_V(x) ((__u64)(x) << TXPKT_CSUM_LOC_S) argument
886 #define TXPKT_ETHHDR_LEN_V(x) ((__u64)(x) << TXPKT_ETHHDR_LEN_S) argument
889 #define T6_TXPKT_ETHHDR_LEN_V(x) ((__u64)(x) << T6_TXPKT_ETHHDR_LEN_S) argument
892 #define TXPKT_CSUM_TYPE_V(x) ((__u64)(x) << TXPKT_CSUM_TYPE_S) argument
895 #define TXPKT_VLAN_V(x) ((__u64)(x) << TXPKT_VLAN_S) argument
898 #define TXPKT_VLAN_VLD_V(x) ((__u64)(x) << TXPKT_VLAN_VLD_S) argument
899 #define TXPKT_VLAN_VLD_F TXPKT_VLAN_VLD_V(1ULL)
902 #define TXPKT_IPCSUM_DIS_V(x) ((__u64)(x) << TXPKT_IPCSUM_DIS_S) argument
903 #define TXPKT_IPCSUM_DIS_F TXPKT_IPCSUM_DIS_V(1ULL)
906 #define TXPKT_L4CSUM_DIS_V(x) ((__u64)(x) << TXPKT_L4CSUM_DIS_S) argument
907 #define TXPKT_L4CSUM_DIS_F TXPKT_L4CSUM_DIS_V(1ULL)
920 #define LSO_TCPHDR_LEN_V(x) ((x) << LSO_TCPHDR_LEN_S) argument
923 #define LSO_IPHDR_LEN_V(x) ((x) << LSO_IPHDR_LEN_S) argument
926 #define LSO_ETHHDR_LEN_V(x) ((x) << LSO_ETHHDR_LEN_S) argument
929 #define LSO_IPV6_V(x) ((x) << LSO_IPV6_S) argument
930 #define LSO_IPV6_F LSO_IPV6_V(1U)
933 #define LSO_LAST_SLICE_V(x) ((x) << LSO_LAST_SLICE_S) argument
934 #define LSO_LAST_SLICE_F LSO_LAST_SLICE_V(1U)
937 #define LSO_FIRST_SLICE_V(x) ((x) << LSO_FIRST_SLICE_S) argument
938 #define LSO_FIRST_SLICE_F LSO_FIRST_SLICE_V(1U)
941 #define LSO_OPCODE_V(x) ((x) << LSO_OPCODE_S) argument
944 #define LSO_T5_XFER_SIZE_V(x) ((x) << LSO_T5_XFER_SIZE_S) argument
965 #define ISCSI_PDU_LEN_V(x) ((x) << ISCSI_PDU_LEN_S) argument
966 #define ISCSI_PDU_LEN_G(x) (((x) >> ISCSI_PDU_LEN_S) & ISCSI_PDU_LEN_M) argument
969 #define ISCSI_DDP_V(x) ((x) << ISCSI_DDP_S) argument
970 #define ISCSI_DDP_F ISCSI_DDP_V(1U)
1027 #define CPL_TX_DATA_ISO_OP_V(x) ((x) << CPL_TX_DATA_ISO_OP_S) argument
1028 #define CPL_TX_DATA_ISO_OP_G(x) \ argument
1029 (((x) >> CPL_TX_DATA_ISO_OP_S) & CPL_TX_DATA_ISO_OP_M)
1033 #define CPL_TX_DATA_ISO_FIRST_V(x) ((x) << CPL_TX_DATA_ISO_FIRST_S) argument
1034 #define CPL_TX_DATA_ISO_FIRST_G(x) \ argument
1035 (((x) >> CPL_TX_DATA_ISO_FIRST_S) & CPL_TX_DATA_ISO_FIRST_M)
1036 #define CPL_TX_DATA_ISO_FIRST_F CPL_TX_DATA_ISO_FIRST_V(1U)
1040 #define CPL_TX_DATA_ISO_LAST_V(x) ((x) << CPL_TX_DATA_ISO_LAST_S) argument
1041 #define CPL_TX_DATA_ISO_LAST_G(x) \ argument
1042 (((x) >> CPL_TX_DATA_ISO_LAST_S) & CPL_TX_DATA_ISO_LAST_M)
1043 #define CPL_TX_DATA_ISO_LAST_F CPL_TX_DATA_ISO_LAST_V(1U)
1047 #define CPL_TX_DATA_ISO_CPLHDRLEN_V(x) ((x) << CPL_TX_DATA_ISO_CPLHDRLEN_S) argument
1048 #define CPL_TX_DATA_ISO_CPLHDRLEN_G(x) \ argument
1049 (((x) >> CPL_TX_DATA_ISO_CPLHDRLEN_S) & CPL_TX_DATA_ISO_CPLHDRLEN_M)
1050 #define CPL_TX_DATA_ISO_CPLHDRLEN_F CPL_TX_DATA_ISO_CPLHDRLEN_V(1U)
1054 #define CPL_TX_DATA_ISO_HDRCRC_V(x) ((x) << CPL_TX_DATA_ISO_HDRCRC_S) argument
1055 #define CPL_TX_DATA_ISO_HDRCRC_G(x) \ argument
1056 (((x) >> CPL_TX_DATA_ISO_HDRCRC_S) & CPL_TX_DATA_ISO_HDRCRC_M)
1057 #define CPL_TX_DATA_ISO_HDRCRC_F CPL_TX_DATA_ISO_HDRCRC_V(1U)
1061 #define CPL_TX_DATA_ISO_PLDCRC_V(x) ((x) << CPL_TX_DATA_ISO_PLDCRC_S) argument
1062 #define CPL_TX_DATA_ISO_PLDCRC_G(x) \ argument
1063 (((x) >> CPL_TX_DATA_ISO_PLDCRC_S) & CPL_TX_DATA_ISO_PLDCRC_M)
1064 #define CPL_TX_DATA_ISO_PLDCRC_F CPL_TX_DATA_ISO_PLDCRC_V(1U)
1068 #define CPL_TX_DATA_ISO_IMMEDIATE_V(x) ((x) << CPL_TX_DATA_ISO_IMMEDIATE_S) argument
1069 #define CPL_TX_DATA_ISO_IMMEDIATE_G(x) \ argument
1070 (((x) >> CPL_TX_DATA_ISO_IMMEDIATE_S) & CPL_TX_DATA_ISO_IMMEDIATE_M)
1071 #define CPL_TX_DATA_ISO_IMMEDIATE_F CPL_TX_DATA_ISO_IMMEDIATE_V(1U)
1075 #define CPL_TX_DATA_ISO_SCSI_V(x) ((x) << CPL_TX_DATA_ISO_SCSI_S) argument
1076 #define CPL_TX_DATA_ISO_SCSI_G(x) \ argument
1077 (((x) >> CPL_TX_DATA_ISO_SCSI_S) & CPL_TX_DATA_ISO_SCSI_M)
1082 #define CPL_TX_DATA_ISO_SEGLEN_OFFSET_V(x) \ argument
1083 ((x) << CPL_TX_DATA_ISO_SEGLEN_OFFSET_S)
1084 #define CPL_TX_DATA_ISO_SEGLEN_OFFSET_G(x) \ argument
1085 (((x) >> CPL_TX_DATA_ISO_SEGLEN_OFFSET_S) & \
1096 u8 psh:1;
1097 u8 heartbeat:1;
1098 u8 ddp_off:1;
1102 u8 ddp_off:1;
1103 u8 heartbeat:1;
1104 u8 psh:1;
1118 #define RX_CREDITS_V(x) ((x) << RX_CREDITS_S) argument
1121 #define RX_FORCE_ACK_V(x) ((x) << RX_FORCE_ACK_S) argument
1122 #define RX_FORCE_ACK_F RX_FORCE_ACK_V(1U)
1126 #define RX_DACK_MODE_V(x) ((x) << RX_DACK_MODE_S) argument
1127 #define RX_DACK_MODE_G(x) (((x) >> RX_DACK_MODE_S) & RX_DACK_MODE_M) argument
1130 #define RX_DACK_CHANGE_V(x) ((x) << RX_DACK_CHANGE_S) argument
1131 #define RX_DACK_CHANGE_F RX_DACK_CHANGE_V(1U)
1138 u8 csum_calc:1;
1139 u8 ipmi_pkt:1;
1140 u8 vlan_ex:1;
1141 u8 ip_frag:1;
1143 u8 ip_frag:1;
1144 u8 vlan_ex:1;
1145 u8 ipmi_pkt:1;
1146 u8 csum_calc:1;
1158 #define RX_T6_ETHHDR_LEN_G(x) (((x) >> RX_ETHHDR_LEN_S) & RX_T6_ETHHDR_LEN_M) argument
1161 #define RXF_PSH_V(x) ((x) << RXF_PSH_S) argument
1162 #define RXF_PSH_F RXF_PSH_V(1U)
1165 #define RXF_SYN_V(x) ((x) << RXF_SYN_S) argument
1166 #define RXF_SYN_F RXF_SYN_V(1U)
1169 #define RXF_UDP_V(x) ((x) << RXF_UDP_S) argument
1170 #define RXF_UDP_F RXF_UDP_V(1U)
1173 #define RXF_TCP_V(x) ((x) << RXF_TCP_S) argument
1174 #define RXF_TCP_F RXF_TCP_V(1U)
1177 #define RXF_IP_V(x) ((x) << RXF_IP_S) argument
1178 #define RXF_IP_F RXF_IP_V(1U)
1181 #define RXF_IP6_V(x) ((x) << RXF_IP6_S) argument
1182 #define RXF_IP6_F RXF_IP6_V(1U)
1185 #define RXF_SYN_COOKIE_V(x) ((x) << RXF_SYN_COOKIE_S) argument
1186 #define RXF_SYN_COOKIE_F RXF_SYN_COOKIE_V(1U)
1189 #define RXF_FCOE_V(x) ((x) << RXF_FCOE_S) argument
1190 #define RXF_FCOE_F RXF_FCOE_V(1U)
1193 #define RXF_LRO_V(x) ((x) << RXF_LRO_S) argument
1194 #define RXF_LRO_F RXF_LRO_V(1U)
1199 #define RX_ETHHDR_LEN_V(x) ((x) << RX_ETHHDR_LEN_S) argument
1200 #define RX_ETHHDR_LEN_G(x) (((x) >> RX_ETHHDR_LEN_S) & RX_ETHHDR_LEN_M) argument
1204 #define RX_T5_ETHHDR_LEN_V(x) ((x) << RX_T5_ETHHDR_LEN_S) argument
1205 #define RX_T5_ETHHDR_LEN_G(x) (((x) >> RX_T5_ETHHDR_LEN_S) & RX_T5_ETHHDR_LEN_M) argument
1209 #define RX_MACIDX_V(x) ((x) << RX_MACIDX_S) argument
1210 #define RX_MACIDX_G(x) (((x) >> RX_MACIDX_S) & RX_MACIDX_M) argument
1213 #define RXF_SYN_V(x) ((x) << RXF_SYN_S) argument
1214 #define RXF_SYN_F RXF_SYN_V(1U)
1218 #define RX_CHAN_V(x) ((x) << RX_CHAN_S) argument
1219 #define RX_CHAN_G(x) (((x) >> RX_CHAN_S) & RX_CHAN_M) argument
1224 #define RX_TCPHDR_LEN_V(x) ((x) << RX_TCPHDR_LEN_S) argument
1225 #define RX_TCPHDR_LEN_G(x) (((x) >> RX_TCPHDR_LEN_S) & RX_TCPHDR_LEN_M) argument
1229 #define RX_IPHDR_LEN_V(x) ((x) << RX_IPHDR_LEN_S) argument
1230 #define RX_IPHDR_LEN_G(x) (((x) >> RX_IPHDR_LEN_S) & RX_IPHDR_LEN_M) argument
1234 #define RXERR_CSUM_V(x) ((x) << RXERR_CSUM_S) argument
1235 #define RXERR_CSUM_F RXERR_CSUM_V(1U)
1237 #define T6_COMPR_RXERR_LEN_S 1
1238 #define T6_COMPR_RXERR_LEN_V(x) ((x) << T6_COMPR_RXERR_LEN_S) argument
1239 #define T6_COMPR_RXERR_LEN_F T6_COMPR_RXERR_LEN_V(1U)
1243 #define T6_COMPR_RXERR_VEC_V(x) ((x) << T6_COMPR_RXERR_LEN_S) argument
1244 #define T6_COMPR_RXERR_VEC_G(x) \ argument
1245 (((x) >> T6_COMPR_RXERR_VEC_S) & T6_COMPR_RXERR_VEC_M)
1249 #define T6_COMPR_RXERR_SUM_V(x) ((x) << T6_COMPR_RXERR_SUM_S) argument
1250 #define T6_COMPR_RXERR_SUM_F T6_COMPR_RXERR_SUM_V(1U)
1254 #define T6_RX_TNLHDR_LEN_V(x) ((x) << T6_RX_TNLHDR_LEN_S) argument
1255 #define T6_RX_TNLHDR_LEN_G(x) (((x) >> T6_RX_TNLHDR_LEN_S) & T6_RX_TNLHDR_LEN_M) argument
1264 u8 err:1;
1265 u8 trunc:1;
1269 u8 trunc:1;
1270 u8 err:1;
1285 __u8 err:1;
1286 __u8 trunc:1;
1290 __u8 trunc:1;
1291 __u8 err:1;
1311 #define L2T_W_INFO_V(x) ((x) << L2T_W_INFO_S) argument
1314 #define L2T_W_PORT_V(x) ((x) << L2T_W_PORT_S) argument
1317 #define L2T_W_NOREPLY_V(x) ((x) << L2T_W_NOREPLY_S) argument
1318 #define L2T_W_NOREPLY_F L2T_W_NOREPLY_V(1U)
1357 #define SMTW_OVLAN_IDX_V(x) ((x) << SMTW_OVLAN_IDX_S) argument
1360 #define SMTW_IDX_V(x) ((x) << SMTW_IDX_S) argument
1363 #define SMTW_NORPL_V(x) ((x) << SMTW_NORPL_S) argument
1364 #define SMTW_NORPL_F SMTW_NORPL_V(1U)
1381 #define EGR_QID_G(x) (((x) >> EGR_QID_S) & EGR_QID_M) argument
1386 FW_TYPE_WR_RPL = 1,
1435 #define CPL_FW4_ACK_FLOWID_G(x) \ argument
1436 (((x) >> CPL_FW4_ACK_FLOWID_S) & CPL_FW4_ACK_FLOWID_M)
1449 FW6_TYPE_WR_RPL = 1,
1472 #define TX_FORCE_V(x) ((x) << TX_FORCE_S) argument
1476 #define TX_DATA_MSS_V(x) ((x) << TX_DATA_MSS_S) argument
1477 #define TX_DATA_MSS_G(x) (((x) >> TX_DATA_MSS_S) & TX_DATA_MSS_M) argument
1481 #define TX_LENGTH_V(x) ((x) << TX_LENGTH_S) argument
1482 #define TX_LENGTH_G(x) (((x) >> TX_LENGTH_S) & TX_LENGTH_M) argument
1485 #define T6_TX_FORCE_V(x) ((x) << T6_TX_FORCE_S) argument
1486 #define T6_TX_FORCE_F T6_TX_FORCE_V(1U)
1489 #define TX_URG_V(x) ((x) << TX_URG_S) argument
1492 #define TX_SHOVE_V(x) ((x) << TX_SHOVE_S) argument
1493 #define TX_SHOVE_F TX_SHOVE_V(1U)
1496 #define TX_BYPASS_V(x) ((x) << TX_BYPASS_S) argument
1497 #define TX_BYPASS_F TX_BYPASS_V(1U)
1500 #define TX_PUSH_V(x) ((x) << TX_PUSH_S) argument
1501 #define TX_PUSH_F TX_PUSH_V(1U)
1505 #define TX_ULP_MODE_V(x) ((x) << TX_ULP_MODE_S) argument
1506 #define TX_ULP_MODE_G(x) (((x) >> TX_ULP_MODE_S) & TX_ULP_MODE_M) argument
1523 #define ULPTX_CMD_V(x) ((x) << ULPTX_CMD_S) argument
1527 #define ULPTX_LEN16_V(x) ((x) << ULPTX_LEN16_S) argument
1530 #define ULP_TX_SC_MORE_V(x) ((x) << ULP_TX_SC_MORE_S) argument
1531 #define ULP_TX_SC_MORE_F ULP_TX_SC_MORE_V(1U)
1557 #define ULPTX_CMD_V(x) ((x) << ULPTX_CMD_S) argument
1560 #define ULPTX_NSGE_V(x) ((x) << ULPTX_NSGE_S) argument
1563 #define ULPTX_MORE_V(x) ((x) << ULPTX_MORE_S) argument
1564 #define ULPTX_MORE_F ULPTX_MORE_V(1U)
1568 #define ULP_TXPKT_DEST_V(x) ((x) << ULP_TXPKT_DEST_S) argument
1572 #define ULP_TXPKT_FID_V(x) ((x) << ULP_TXPKT_FID_S) argument
1575 #define ULP_TXPKT_RO_V(x) ((x) << ULP_TXPKT_RO_S) argument
1576 #define ULP_TXPKT_RO_F ULP_TXPKT_RO_V(1U)
1600 #define CPL_TX_TNL_LSO_OPCODE_V(x) ((x) << CPL_TX_TNL_LSO_OPCODE_S) argument
1601 #define CPL_TX_TNL_LSO_OPCODE_G(x) \ argument
1602 (((x) >> CPL_TX_TNL_LSO_OPCODE_S) & CPL_TX_TNL_LSO_OPCODE_M)
1606 #define CPL_TX_TNL_LSO_FIRST_V(x) ((x) << CPL_TX_TNL_LSO_FIRST_S) argument
1607 #define CPL_TX_TNL_LSO_FIRST_G(x) \ argument
1608 (((x) >> CPL_TX_TNL_LSO_FIRST_S) & CPL_TX_TNL_LSO_FIRST_M)
1609 #define CPL_TX_TNL_LSO_FIRST_F CPL_TX_TNL_LSO_FIRST_V(1U)
1613 #define CPL_TX_TNL_LSO_LAST_V(x) ((x) << CPL_TX_TNL_LSO_LAST_S) argument
1614 #define CPL_TX_TNL_LSO_LAST_G(x) \ argument
1615 (((x) >> CPL_TX_TNL_LSO_LAST_S) & CPL_TX_TNL_LSO_LAST_M)
1616 #define CPL_TX_TNL_LSO_LAST_F CPL_TX_TNL_LSO_LAST_V(1U)
1620 #define CPL_TX_TNL_LSO_ETHHDRLENXOUT_V(x) \ argument
1621 ((x) << CPL_TX_TNL_LSO_ETHHDRLENXOUT_S)
1622 #define CPL_TX_TNL_LSO_ETHHDRLENXOUT_G(x) \ argument
1623 (((x) >> CPL_TX_TNL_LSO_ETHHDRLENXOUT_S) & \
1625 #define CPL_TX_TNL_LSO_ETHHDRLENXOUT_F CPL_TX_TNL_LSO_ETHHDRLENXOUT_V(1U)
1629 #define CPL_TX_TNL_LSO_IPV6OUT_V(x) ((x) << CPL_TX_TNL_LSO_IPV6OUT_S) argument
1630 #define CPL_TX_TNL_LSO_IPV6OUT_G(x) \ argument
1631 (((x) >> CPL_TX_TNL_LSO_IPV6OUT_S) & CPL_TX_TNL_LSO_IPV6OUT_M)
1632 #define CPL_TX_TNL_LSO_IPV6OUT_F CPL_TX_TNL_LSO_IPV6OUT_V(1U)
1636 #define CPL_TX_TNL_LSO_ETHHDRLEN_V(x) ((x) << CPL_TX_TNL_LSO_ETHHDRLEN_S) argument
1637 #define CPL_TX_TNL_LSO_ETHHDRLEN_G(x) \ argument
1638 (((x) >> CPL_TX_TNL_LSO_ETHHDRLEN_S) & CPL_TX_TNL_LSO_ETHHDRLEN_M)
1642 #define CPL_TX_TNL_LSO_IPHDRLEN_V(x) ((x) << CPL_TX_TNL_LSO_IPHDRLEN_S) argument
1643 #define CPL_TX_TNL_LSO_IPHDRLEN_G(x) \ argument
1644 (((x) >> CPL_TX_TNL_LSO_IPHDRLEN_S) & CPL_TX_TNL_LSO_IPHDRLEN_M)
1648 #define CPL_TX_TNL_LSO_TCPHDRLEN_V(x) ((x) << CPL_TX_TNL_LSO_TCPHDRLEN_S) argument
1649 #define CPL_TX_TNL_LSO_TCPHDRLEN_G(x) \ argument
1650 (((x) >> CPL_TX_TNL_LSO_TCPHDRLEN_S) & CPL_TX_TNL_LSO_TCPHDRLEN_M)
1654 #define CPL_TX_TNL_LSO_MSS_V(x) ((x) << CPL_TX_TNL_LSO_MSS_S) argument
1655 #define CPL_TX_TNL_LSO_MSS_G(x) \ argument
1656 (((x) >> CPL_TX_TNL_LSO_MSS_S) & CPL_TX_TNL_LSO_MSS_M)
1660 #define CPL_TX_TNL_LSO_SIZE_V(x) ((x) << CPL_TX_TNL_LSO_SIZE_S) argument
1661 #define CPL_TX_TNL_LSO_SIZE_G(x) \ argument
1662 (((x) >> CPL_TX_TNL_LSO_SIZE_S) & CPL_TX_TNL_LSO_SIZE_M)
1666 #define CPL_TX_TNL_LSO_ETHHDRLENOUT_V(x) \ argument
1667 ((x) << CPL_TX_TNL_LSO_ETHHDRLENOUT_S)
1668 #define CPL_TX_TNL_LSO_ETHHDRLENOUT_G(x) \ argument
1669 (((x) >> CPL_TX_TNL_LSO_ETHHDRLENOUT_S) & CPL_TX_TNL_LSO_ETHHDRLENOUT_M)
1673 #define CPL_TX_TNL_LSO_IPHDRLENOUT_V(x) ((x) << CPL_TX_TNL_LSO_IPHDRLENOUT_S) argument
1674 #define CPL_TX_TNL_LSO_IPHDRLENOUT_G(x) \ argument
1675 (((x) >> CPL_TX_TNL_LSO_IPHDRLENOUT_S) & CPL_TX_TNL_LSO_IPHDRLENOUT_M)
1679 #define CPL_TX_TNL_LSO_IPHDRCHKOUT_V(x) ((x) << CPL_TX_TNL_LSO_IPHDRCHKOUT_S) argument
1680 #define CPL_TX_TNL_LSO_IPHDRCHKOUT_G(x) \ argument
1681 (((x) >> CPL_TX_TNL_LSO_IPHDRCHKOUT_S) & CPL_TX_TNL_LSO_IPHDRCHKOUT_M)
1682 #define CPL_TX_TNL_LSO_IPHDRCHKOUT_F CPL_TX_TNL_LSO_IPHDRCHKOUT_V(1U)
1686 #define CPL_TX_TNL_LSO_IPLENSETOUT_V(x) ((x) << CPL_TX_TNL_LSO_IPLENSETOUT_S) argument
1687 #define CPL_TX_TNL_LSO_IPLENSETOUT_G(x) \ argument
1688 (((x) >> CPL_TX_TNL_LSO_IPLENSETOUT_S) & CPL_TX_TNL_LSO_IPLENSETOUT_M)
1689 #define CPL_TX_TNL_LSO_IPLENSETOUT_F CPL_TX_TNL_LSO_IPLENSETOUT_V(1U)
1691 #define CPL_TX_TNL_LSO_IPIDINCOUT_S 1
1693 #define CPL_TX_TNL_LSO_IPIDINCOUT_V(x) ((x) << CPL_TX_TNL_LSO_IPIDINCOUT_S) argument
1694 #define CPL_TX_TNL_LSO_IPIDINCOUT_G(x) \ argument
1695 (((x) >> CPL_TX_TNL_LSO_IPIDINCOUT_S) & CPL_TX_TNL_LSO_IPIDINCOUT_M)
1696 #define CPL_TX_TNL_LSO_IPIDINCOUT_F CPL_TX_TNL_LSO_IPIDINCOUT_V(1U)
1700 #define CPL_TX_TNL_LSO_UDPCHKCLROUT_V(x) \ argument
1701 ((x) << CPL_TX_TNL_LSO_UDPCHKCLROUT_S)
1702 #define CPL_TX_TNL_LSO_UDPCHKCLROUT_G(x) \ argument
1703 (((x) >> CPL_TX_TNL_LSO_UDPCHKCLROUT_S) & \
1705 #define CPL_TX_TNL_LSO_UDPCHKCLROUT_F CPL_TX_TNL_LSO_UDPCHKCLROUT_V(1U)
1709 #define CPL_TX_TNL_LSO_UDPLENSETOUT_V(x) \ argument
1710 ((x) << CPL_TX_TNL_LSO_UDPLENSETOUT_S)
1711 #define CPL_TX_TNL_LSO_UDPLENSETOUT_G(x) \ argument
1712 (((x) >> CPL_TX_TNL_LSO_UDPLENSETOUT_S) & \
1714 #define CPL_TX_TNL_LSO_UDPLENSETOUT_F CPL_TX_TNL_LSO_UDPLENSETOUT_V(1U)
1718 #define CPL_TX_TNL_LSO_TNLTYPE_V(x) ((x) << CPL_TX_TNL_LSO_TNLTYPE_S) argument
1719 #define CPL_TX_TNL_LSO_TNLTYPE_G(x) \ argument
1720 (((x) >> CPL_TX_TNL_LSO_TNLTYPE_S) & CPL_TX_TNL_LSO_TNLTYPE_M)
1724 #define V_CPL_TX_TNL_LSO_ETHHDRLEN(x) ((x) << S_CPL_TX_TNL_LSO_ETHHDRLEN) argument
1725 #define G_CPL_TX_TNL_LSO_ETHHDRLEN(x) \ argument
1726 (((x) >> S_CPL_TX_TNL_LSO_ETHHDRLEN) & M_CPL_TX_TNL_LSO_ETHHDRLEN)
1730 #define CPL_TX_TNL_LSO_TNLHDRLEN_V(x) ((x) << CPL_TX_TNL_LSO_TNLHDRLEN_S) argument
1731 #define CPL_TX_TNL_LSO_TNLHDRLEN_G(x) \ argument
1732 (((x) >> CPL_TX_TNL_LSO_TNLHDRLEN_S) & CPL_TX_TNL_LSO_TNLHDRLEN_M)
1736 #define CPL_TX_TNL_LSO_IPV6_V(x) ((x) << CPL_TX_TNL_LSO_IPV6_S) argument
1737 #define CPL_TX_TNL_LSO_IPV6_G(x) \ argument
1738 (((x) >> CPL_TX_TNL_LSO_IPV6_S) & CPL_TX_TNL_LSO_IPV6_M)
1739 #define CPL_TX_TNL_LSO_IPV6_F CPL_TX_TNL_LSO_IPV6_V(1U)
1742 #define ULP_TX_SC_MORE_V(x) ((x) << ULP_TX_SC_MORE_S) argument
1743 #define ULP_TX_SC_MORE_F ULP_TX_SC_MORE_V(1U)
1754 #define ULP_MEMIO_LOCK_V(x) ((x) << ULP_MEMIO_LOCK_S) argument
1755 #define ULP_MEMIO_LOCK_F ULP_MEMIO_LOCK_V(1U)
1759 #define ULP_MEMIO_ORDER_V(x) ((x) << ULP_MEMIO_ORDER_S) argument
1760 #define ULP_MEMIO_ORDER_F ULP_MEMIO_ORDER_V(1U)
1763 #define T5_ULP_MEMIO_IMM_V(x) ((x) << T5_ULP_MEMIO_IMM_S) argument
1764 #define T5_ULP_MEMIO_IMM_F T5_ULP_MEMIO_IMM_V(1U)
1767 #define T5_ULP_MEMIO_ORDER_V(x) ((x) << T5_ULP_MEMIO_ORDER_S) argument
1768 #define T5_ULP_MEMIO_ORDER_F T5_ULP_MEMIO_ORDER_V(1U)
1772 #define T5_ULP_MEMIO_FID_V(x) ((x) << T5_ULP_MEMIO_FID_S) argument
1776 #define ULP_MEMIO_ADDR_V(x) ((x) << ULP_MEMIO_ADDR_S) argument
1780 #define ULP_MEMIO_DATA_LEN_V(x) ((x) << ULP_MEMIO_DATA_LEN_S) argument
1784 #define ULPTX_NSGE_V(x) ((x) << ULPTX_NSGE_S) argument
1785 #define ULPTX_NSGE_G(x) (((x) >> ULPTX_NSGE_S) & ULPTX_NSGE_M) argument
1794 #define ULP_TXPKT_DATAMODIFY_V(x) ((x) << ULP_TXPKT_DATAMODIFY_S) argument
1795 #define ULP_TXPKT_DATAMODIFY_G(x) \ argument
1796 (((x) >> ULP_TXPKT_DATAMODIFY_S) & ULP_TXPKT_DATAMODIFY__M)
1797 #define ULP_TXPKT_DATAMODIFY_F ULP_TXPKT_DATAMODIFY_V(1U)
1801 #define ULP_TXPKT_CHANNELID_V(x) ((x) << ULP_TXPKT_CHANNELID_S) argument
1802 #define ULP_TXPKT_CHANNELID_G(x) \ argument
1803 (((x) >> ULP_TXPKT_CHANNELID_S) & ULP_TXPKT_CHANNELID_M)
1804 #define ULP_TXPKT_CHANNELID_F ULP_TXPKT_CHANNELID_V(1U)
1808 #define SCMD_SEQ_NO_CTRL_V(x) ((x) << SCMD_SEQ_NO_CTRL_S) argument
1809 #define SCMD_SEQ_NO_CTRL_G(x) \ argument
1810 (((x) >> SCMD_SEQ_NO_CTRL_S) & SCMD_SEQ_NO_CTRL_M)
1815 #define SCMD_STATUS_PRESENT_V(x) ((x) << SCMD_STATUS_PRESENT_S) argument
1816 #define SCMD_STATUS_PRESENT_G(x) \ argument
1817 (((x) >> SCMD_STATUS_PRESENT_S) & SCMD_STATUS_PRESENT_M)
1818 #define SCMD_STATUS_PRESENT_F SCMD_STATUS_PRESENT_V(1U)
1820 /* ProtoVersion - Protocol Version 0: 1.2, 1:1.1, 2:DTLS, 3:Generic,
1825 #define SCMD_PROTO_VERSION_V(x) ((x) << SCMD_PROTO_VERSION_S) argument
1826 #define SCMD_PROTO_VERSION_G(x) \ argument
1827 (((x) >> SCMD_PROTO_VERSION_S) & SCMD_PROTO_VERSION_M)
1829 /* EncDecCtrl - Encryption/Decryption Control. 0: Encrypt, 1: Decrypt */
1832 #define SCMD_ENC_DEC_CTRL_V(x) ((x) << SCMD_ENC_DEC_CTRL_S) argument
1833 #define SCMD_ENC_DEC_CTRL_G(x) \ argument
1834 (((x) >> SCMD_ENC_DEC_CTRL_S) & SCMD_ENC_DEC_CTRL_M)
1835 #define SCMD_ENC_DEC_CTRL_F SCMD_ENC_DEC_CTRL_V(1U)
1840 #define SCMD_CIPH_AUTH_SEQ_CTRL_V(x) \ argument
1841 ((x) << SCMD_CIPH_AUTH_SEQ_CTRL_S)
1842 #define SCMD_CIPH_AUTH_SEQ_CTRL_G(x) \ argument
1843 (((x) >> SCMD_CIPH_AUTH_SEQ_CTRL_S) & SCMD_CIPH_AUTH_SEQ_CTRL_M)
1844 #define SCMD_CIPH_AUTH_SEQ_CTRL_F SCMD_CIPH_AUTH_SEQ_CTRL_V(1U)
1846 /* CiphMode - Cipher Mode. 0: NOP, 1:AES-CBC, 2:AES-GCM, 3:AES-CTR,
1851 #define SCMD_CIPH_MODE_V(x) ((x) << SCMD_CIPH_MODE_S) argument
1852 #define SCMD_CIPH_MODE_G(x) \ argument
1853 (((x) >> SCMD_CIPH_MODE_S) & SCMD_CIPH_MODE_M)
1855 /* AuthMode - Auth Mode. 0: NOP, 1:SHA1, 2:SHA2-224, 3:SHA2-256
1860 #define SCMD_AUTH_MODE_V(x) ((x) << SCMD_AUTH_MODE_S) argument
1861 #define SCMD_AUTH_MODE_G(x) \ argument
1862 (((x) >> SCMD_AUTH_MODE_S) & SCMD_AUTH_MODE_M)
1864 /* HmacCtrl - HMAC Control. 0:NOP, 1:No truncation, 2:Support HMAC Truncation
1869 #define SCMD_HMAC_CTRL_V(x) ((x) << SCMD_HMAC_CTRL_S) argument
1870 #define SCMD_HMAC_CTRL_G(x) \ argument
1871 (((x) >> SCMD_HMAC_CTRL_S) & SCMD_HMAC_CTRL_M)
1876 #define SCMD_IV_SIZE_V(x) ((x) << SCMD_IV_SIZE_S) argument
1877 #define SCMD_IV_SIZE_G(x) \ argument
1878 (((x) >> SCMD_IV_SIZE_S) & SCMD_IV_SIZE_M)
1883 #define SCMD_NUM_IVS_V(x) ((x) << SCMD_NUM_IVS_S) argument
1884 #define SCMD_NUM_IVS_G(x) \ argument
1885 (((x) >> SCMD_NUM_IVS_S) & SCMD_NUM_IVS_M)
1894 #define SCMD_ENB_DBGID_V(x) ((x) << SCMD_ENB_DBGID_S) argument
1895 #define SCMD_ENB_DBGID_G(x) \ argument
1896 (((x) >> SCMD_ENB_DBGID_S) & SCMD_ENB_DBGID_M)
1901 #define SCMD_IV_GEN_CTRL_V(x) ((x) << SCMD_IV_GEN_CTRL_S) argument
1902 #define SCMD_IV_GEN_CTRL_G(x) \ argument
1903 (((x) >> SCMD_IV_GEN_CTRL_S) & SCMD_IV_GEN_CTRL_M)
1904 #define SCMD_IV_GEN_CTRL_F SCMD_IV_GEN_CTRL_V(1U)
1909 #define SCMD_MORE_FRAGS_V(x) ((x) << SCMD_MORE_FRAGS_S) argument
1910 #define SCMD_MORE_FRAGS_G(x) (((x) >> SCMD_MORE_FRAGS_S) & SCMD_MORE_FRAGS_M) argument
1915 #define SCMD_LAST_FRAG_V(x) ((x) << SCMD_LAST_FRAG_S) argument
1916 #define SCMD_LAST_FRAG_G(x) (((x) >> SCMD_LAST_FRAG_S) & SCMD_LAST_FRAG_M) argument
1921 #define SCMD_TLS_COMPPDU_V(x) ((x) << SCMD_TLS_COMPPDU_S) argument
1922 #define SCMD_TLS_COMPPDU_G(x) (((x) >> SCMD_TLS_COMPPDU_S) & SCMD_TLS_COMPPDU_M) argument
1927 #define SCMD_KEY_CTX_INLINE_V(x) ((x) << SCMD_KEY_CTX_INLINE_S) argument
1928 #define SCMD_KEY_CTX_INLINE_G(x) \ argument
1929 (((x) >> SCMD_KEY_CTX_INLINE_S) & SCMD_KEY_CTX_INLINE_M)
1930 #define SCMD_KEY_CTX_INLINE_F SCMD_KEY_CTX_INLINE_V(1U)
1932 /* TLSFragEnable - 0: Host created TLS PDUs, 1: TLS Framgmentation in ASIC */
1935 #define SCMD_TLS_FRAG_ENABLE_V(x) ((x) << SCMD_TLS_FRAG_ENABLE_S) argument
1936 #define SCMD_TLS_FRAG_ENABLE_G(x) \ argument
1937 (((x) >> SCMD_TLS_FRAG_ENABLE_S) & SCMD_TLS_FRAG_ENABLE_M)
1938 #define SCMD_TLS_FRAG_ENABLE_F SCMD_TLS_FRAG_ENABLE_V(1U)
1946 #define SCMD_MAC_ONLY_V(x) ((x) << SCMD_MAC_ONLY_S) argument
1947 #define SCMD_MAC_ONLY_G(x) \ argument
1948 (((x) >> SCMD_MAC_ONLY_S) & SCMD_MAC_ONLY_M)
1949 #define SCMD_MAC_ONLY_F SCMD_MAC_ONLY_V(1U)
1956 #define SCMD_AADIVDROP_V(x) ((x) << SCMD_AADIVDROP_S) argument
1957 #define SCMD_AADIVDROP_G(x) \ argument
1958 (((x) >> SCMD_AADIVDROP_S) & SCMD_AADIVDROP_M)
1959 #define SCMD_AADIVDROP_F SCMD_AADIVDROP_V(1U)
1966 #define SCMD_HDR_LEN_V(x) ((x) << SCMD_HDR_LEN_S) argument
1967 #define SCMD_HDR_LEN_G(x) \ argument
1968 (((x) >> SCMD_HDR_LEN_S) & SCMD_HDR_LEN_M)
1982 #define CPL_TX_SEC_PDU_OPCODE_V(x) ((x) << CPL_TX_SEC_PDU_OPCODE_S) argument
1983 #define CPL_TX_SEC_PDU_OPCODE_G(x) \ argument
1984 (((x) >> CPL_TX_SEC_PDU_OPCODE_S) & CPL_TX_SEC_PDU_OPCODE_M)
1989 #define CPL_TX_SEC_PDU_RXCHID_V(x) ((x) << CPL_TX_SEC_PDU_RXCHID_S) argument
1990 #define CPL_TX_SEC_PDU_RXCHID_G(x) \ argument
1991 (((x) >> CPL_TX_SEC_PDU_RXCHID_S) & CPL_TX_SEC_PDU_RXCHID_M)
1992 #define CPL_TX_SEC_PDU_RXCHID_F CPL_TX_SEC_PDU_RXCHID_V(1U)
1997 #define CPL_TX_SEC_PDU_ACKFOLLOWS_V(x) ((x) << CPL_TX_SEC_PDU_ACKFOLLOWS_S) argument
1998 #define CPL_TX_SEC_PDU_ACKFOLLOWS_G(x) \ argument
1999 (((x) >> CPL_TX_SEC_PDU_ACKFOLLOWS_S) & CPL_TX_SEC_PDU_ACKFOLLOWS_M)
2000 #define CPL_TX_SEC_PDU_ACKFOLLOWS_F CPL_TX_SEC_PDU_ACKFOLLOWS_V(1U)
2005 #define CPL_TX_SEC_PDU_ULPTXLPBK_V(x) ((x) << CPL_TX_SEC_PDU_ULPTXLPBK_S) argument
2006 #define CPL_TX_SEC_PDU_ULPTXLPBK_G(x) \ argument
2007 (((x) >> CPL_TX_SEC_PDU_ULPTXLPBK_S) & CPL_TX_SEC_PDU_ULPTXLPBK_M)
2008 #define CPL_TX_SEC_PDU_ULPTXLPBK_F CPL_TX_SEC_PDU_ULPTXLPBK_V(1U)
2013 #define CPL_TX_SEC_PDU_CPLLEN_V(x) ((x) << CPL_TX_SEC_PDU_CPLLEN_S) argument
2014 #define CPL_TX_SEC_PDU_CPLLEN_G(x) \ argument
2015 (((x) >> CPL_TX_SEC_PDU_CPLLEN_S) & CPL_TX_SEC_PDU_CPLLEN_M)
2020 #define CPL_TX_SEC_PDU_PLACEHOLDER_V(x) ((x) << CPL_TX_SEC_PDU_PLACEHOLDER_S) argument
2021 #define CPL_TX_SEC_PDU_PLACEHOLDER_G(x) \ argument
2022 (((x) >> CPL_TX_SEC_PDU_PLACEHOLDER_S) & \
2028 #define CPL_TX_SEC_PDU_IVINSRTOFST_V(x) ((x) << CPL_TX_SEC_PDU_IVINSRTOFST_S) argument
2029 #define CPL_TX_SEC_PDU_IVINSRTOFST_G(x) \ argument
2030 (((x) >> CPL_TX_SEC_PDU_IVINSRTOFST_S) & \
2038 #define CPL_TX_SEC_PDU_AADSTART_V(x) ((x) << CPL_TX_SEC_PDU_AADSTART_S) argument
2039 #define CPL_TX_SEC_PDU_AADSTART_G(x) \ argument
2040 (((x) >> CPL_TX_SEC_PDU_AADSTART_S) & \
2048 #define CPL_TX_SEC_PDU_AADSTOP_V(x) ((x) << CPL_TX_SEC_PDU_AADSTOP_S) argument
2049 #define CPL_TX_SEC_PDU_AADSTOP_G(x) \ argument
2050 (((x) >> CPL_TX_SEC_PDU_AADSTOP_S) & CPL_TX_SEC_PDU_AADSTOP_M)
2057 #define CPL_TX_SEC_PDU_CIPHERSTART_V(x) ((x) << CPL_TX_SEC_PDU_CIPHERSTART_S) argument
2058 #define CPL_TX_SEC_PDU_CIPHERSTART_G(x) \ argument
2059 (((x) >> CPL_TX_SEC_PDU_CIPHERSTART_S) & \
2067 #define CPL_TX_SEC_PDU_CIPHERSTOP_HI_V(x) \ argument
2068 ((x) << CPL_TX_SEC_PDU_CIPHERSTOP_HI_S)
2069 #define CPL_TX_SEC_PDU_CIPHERSTOP_HI_G(x) \ argument
2070 (((x) >> CPL_TX_SEC_PDU_CIPHERSTOP_HI_S) & \
2075 #define CPL_TX_SEC_PDU_CIPHERSTOP_LO_V(x) \ argument
2076 ((x) << CPL_TX_SEC_PDU_CIPHERSTOP_LO_S)
2077 #define CPL_TX_SEC_PDU_CIPHERSTOP_LO_G(x) \ argument
2078 (((x) >> CPL_TX_SEC_PDU_CIPHERSTOP_LO_S) & \
2086 #define CPL_TX_SEC_PDU_AUTHSTART_V(x) ((x) << CPL_TX_SEC_PDU_AUTHSTART_S) argument
2087 #define CPL_TX_SEC_PDU_AUTHSTART_G(x) \ argument
2088 (((x) >> CPL_TX_SEC_PDU_AUTHSTART_S) & \
2096 #define CPL_TX_SEC_PDU_AUTHSTOP_V(x) ((x) << CPL_TX_SEC_PDU_AUTHSTOP_S) argument
2097 #define CPL_TX_SEC_PDU_AUTHSTOP_G(x) \ argument
2098 (((x) >> CPL_TX_SEC_PDU_AUTHSTOP_S) & \
2106 #define CPL_TX_SEC_PDU_AUTHINSERT_V(x) ((x) << CPL_TX_SEC_PDU_AUTHINSERT_S) argument
2107 #define CPL_TX_SEC_PDU_AUTHINSERT_G(x) \ argument
2108 (((x) >> CPL_TX_SEC_PDU_AUTHINSERT_S) & \
2119 #define CPL_RX_PHYS_DSGL_OPCODE_V(x) ((x) << CPL_RX_PHYS_DSGL_OPCODE_S) argument
2120 #define CPL_RX_PHYS_DSGL_OPCODE_G(x) \ argument
2121 (((x) >> CPL_RX_PHYS_DSGL_OPCODE_S) & CPL_RX_PHYS_DSGL_OPCODE_M)
2125 #define CPL_RX_PHYS_DSGL_ISRDMA_V(x) ((x) << CPL_RX_PHYS_DSGL_ISRDMA_S) argument
2126 #define CPL_RX_PHYS_DSGL_ISRDMA_G(x) \ argument
2127 (((x) >> CPL_RX_PHYS_DSGL_ISRDMA_S) & CPL_RX_PHYS_DSGL_ISRDMA_M)
2128 #define CPL_RX_PHYS_DSGL_ISRDMA_F CPL_RX_PHYS_DSGL_ISRDMA_V(1U)
2132 #define CPL_RX_PHYS_DSGL_RSVD1_V(x) ((x) << CPL_RX_PHYS_DSGL_RSVD1_S) argument
2133 #define CPL_RX_PHYS_DSGL_RSVD1_G(x) \ argument
2134 (((x) >> CPL_RX_PHYS_DSGL_RSVD1_S) & \
2139 #define CPL_RX_PHYS_DSGL_PCIRLXORDER_V(x) \ argument
2140 ((x) << CPL_RX_PHYS_DSGL_PCIRLXORDER_S)
2141 #define CPL_RX_PHYS_DSGL_PCIRLXORDER_G(x) \ argument
2142 (((x) >> CPL_RX_PHYS_DSGL_PCIRLXORDER_S) & \
2144 #define CPL_RX_PHYS_DSGL_PCIRLXORDER_F CPL_RX_PHYS_DSGL_PCIRLXORDER_V(1U)
2148 #define CPL_RX_PHYS_DSGL_PCINOSNOOP_V(x) \ argument
2149 ((x) << CPL_RX_PHYS_DSGL_PCINOSNOOP_S)
2150 #define CPL_RX_PHYS_DSGL_PCINOSNOOP_G(x) \ argument
2151 (((x) >> CPL_RX_PHYS_DSGL_PCINOSNOOP_S) & \
2154 #define CPL_RX_PHYS_DSGL_PCINOSNOOP_F CPL_RX_PHYS_DSGL_PCINOSNOOP_V(1U)
2158 #define CPL_RX_PHYS_DSGL_PCITPHNTENB_V(x) \ argument
2159 ((x) << CPL_RX_PHYS_DSGL_PCITPHNTENB_S)
2160 #define CPL_RX_PHYS_DSGL_PCITPHNTENB_G(x) \ argument
2161 (((x) >> CPL_RX_PHYS_DSGL_PCITPHNTENB_S) & \
2163 #define CPL_RX_PHYS_DSGL_PCITPHNTENB_F CPL_RX_PHYS_DSGL_PCITPHNTENB_V(1U)
2167 #define CPL_RX_PHYS_DSGL_PCITPHNT_V(x) ((x) << CPL_RX_PHYS_DSGL_PCITPHNT_S) argument
2168 #define CPL_RX_PHYS_DSGL_PCITPHNT_G(x) \ argument
2169 (((x) >> CPL_RX_PHYS_DSGL_PCITPHNT_S) & \
2174 #define CPL_RX_PHYS_DSGL_DCAID_V(x) ((x) << CPL_RX_PHYS_DSGL_DCAID_S) argument
2175 #define CPL_RX_PHYS_DSGL_DCAID_G(x) \ argument
2176 (((x) >> CPL_RX_PHYS_DSGL_DCAID_S) & \
2181 #define CPL_RX_PHYS_DSGL_NOOFSGENTR_V(x) \ argument
2182 ((x) << CPL_RX_PHYS_DSGL_NOOFSGENTR_S)
2183 #define CPL_RX_PHYS_DSGL_NOOFSGENTR_G(x) \ argument
2184 (((x) >> CPL_RX_PHYS_DSGL_NOOFSGENTR_S) & \
2194 #define CPL_RX_MPS_PKT_OP_V(x) ((x) << CPL_RX_MPS_PKT_OP_S) argument
2195 #define CPL_RX_MPS_PKT_OP_G(x) \ argument
2196 (((x) >> CPL_RX_MPS_PKT_OP_S) & CPL_RX_MPS_PKT_OP_M)
2200 #define CPL_RX_MPS_PKT_TYPE_V(x) ((x) << CPL_RX_MPS_PKT_TYPE_S) argument
2201 #define CPL_RX_MPS_PKT_TYPE_G(x) \ argument
2202 (((x) >> CPL_RX_MPS_PKT_TYPE_S) & CPL_RX_MPS_PKT_TYPE_M)
2205 X_CPL_RX_MPS_PKT_TYPE_PAUSE = 1 << 0,
2206 X_CPL_RX_MPS_PKT_TYPE_PPP = 1 << 1,
2207 X_CPL_RX_MPS_PKT_TYPE_QFC = 1 << 2,
2208 X_CPL_RX_MPS_PKT_TYPE_PTP = 1 << 3
2237 #define SRQT_QLEN_V(x) ((x) << SRQT_QLEN_S) argument
2238 #define SRQT_QLEN_G(x) (((x) >> SRQT_QLEN_S) & SRQT_QLEN_M) argument
2242 #define SRQT_QBASE_V(x) ((x) << SRQT_QBASE_S) argument
2243 #define SRQT_QBASE_G(x) (((x) >> SRQT_QBASE_S) & SRQT_QBASE_M) argument
2247 #define SRQT_PDID_V(x) ((x) << SRQT_PDID_S) argument
2248 #define SRQT_PDID_G(x) (((x) >> SRQT_PDID_S) & SRQT_PDID_M) argument
2252 #define SRQT_IDX_V(x) ((x) << SRQT_IDX_S) argument
2253 #define SRQT_IDX_G(x) (((x) >> SRQT_IDX_S) & SRQT_IDX_M) argument
2267 #define CPL_TX_TLS_SFO_OPCODE_V(x) ((x) << CPL_TX_TLS_SFO_OPCODE_S) argument
2270 #define CPL_TX_TLS_SFO_DATA_TYPE_V(x) ((x) << CPL_TX_TLS_SFO_DATA_TYPE_S) argument
2273 #define CPL_TX_TLS_SFO_CPL_LEN_V(x) ((x) << CPL_TX_TLS_SFO_CPL_LEN_S) argument
2277 #define CPL_TX_TLS_SFO_SEG_LEN_V(x) ((x) << CPL_TX_TLS_SFO_SEG_LEN_S) argument
2278 #define CPL_TX_TLS_SFO_SEG_LEN_G(x) \ argument
2279 (((x) >> CPL_TX_TLS_SFO_SEG_LEN_S) & CPL_TX_TLS_SFO_SEG_LEN_M)
2283 #define CPL_TX_TLS_SFO_TYPE_V(x) ((x) << CPL_TX_TLS_SFO_TYPE_S) argument
2284 #define CPL_TX_TLS_SFO_TYPE_G(x) \ argument
2285 (((x) >> CPL_TX_TLS_SFO_TYPE_S) & CPL_TX_TLS_SFO_TYPE_M)
2289 #define CPL_TX_TLS_SFO_PROTOVER_V(x) ((x) << CPL_TX_TLS_SFO_PROTOVER_S) argument
2290 #define CPL_TX_TLS_SFO_PROTOVER_G(x) \ argument
2291 (((x) >> CPL_TX_TLS_SFO_PROTOVER_S) & CPL_TX_TLS_SFO_PROTOVER_M)
2303 #define CPL_TLS_DATA_OPCODE_V(x) ((x) << CPL_TLS_DATA_OPCODE_S) argument
2304 #define CPL_TLS_DATA_OPCODE_G(x) \ argument
2305 (((x) >> CPL_TLS_DATA_OPCODE_S) & CPL_TLS_DATA_OPCODE_M)
2309 #define CPL_TLS_DATA_TID_V(x) ((x) << CPL_TLS_DATA_TID_S) argument
2310 #define CPL_TLS_DATA_TID_G(x) \ argument
2311 (((x) >> CPL_TLS_DATA_TID_S) & CPL_TLS_DATA_TID_M)
2315 #define CPL_TLS_DATA_LENGTH_V(x) ((x) << CPL_TLS_DATA_LENGTH_S) argument
2316 #define CPL_TLS_DATA_LENGTH_G(x) \ argument
2317 (((x) >> CPL_TLS_DATA_LENGTH_S) & CPL_TLS_DATA_LENGTH_M)
2331 #define CPL_RX_TLS_CMP_OPCODE_V(x) ((x) << CPL_RX_TLS_CMP_OPCODE_S) argument
2332 #define CPL_RX_TLS_CMP_OPCODE_G(x) \ argument
2333 (((x) >> CPL_RX_TLS_CMP_OPCODE_S) & CPL_RX_TLS_CMP_OPCODE_M)
2337 #define CPL_RX_TLS_CMP_TID_V(x) ((x) << CPL_RX_TLS_CMP_TID_S) argument
2338 #define CPL_RX_TLS_CMP_TID_G(x) \ argument
2339 (((x) >> CPL_RX_TLS_CMP_TID_S) & CPL_RX_TLS_CMP_TID_M)
2343 #define CPL_RX_TLS_CMP_PDULENGTH_V(x) ((x) << CPL_RX_TLS_CMP_PDULENGTH_S) argument
2344 #define CPL_RX_TLS_CMP_PDULENGTH_G(x) \ argument
2345 (((x) >> CPL_RX_TLS_CMP_PDULENGTH_S) & CPL_RX_TLS_CMP_PDULENGTH_M)
2349 #define CPL_RX_TLS_CMP_LENGTH_V(x) ((x) << CPL_RX_TLS_CMP_LENGTH_S) argument
2350 #define CPL_RX_TLS_CMP_LENGTH_G(x) \ argument
2351 (((x) >> CPL_RX_TLS_CMP_LENGTH_S) & CPL_RX_TLS_CMP_LENGTH_M)