/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | fs_ttc.c | 65 u16 etype; member 71 .etype = ETH_P_IP, 75 .etype = ETH_P_IPV6, 79 .etype = ETH_P_IP, 83 .etype = ETH_P_IPV6, 87 .etype = ETH_P_IP, 91 .etype = ETH_P_IPV6, 95 .etype = ETH_P_IP, 99 .etype = ETH_P_IPV6, 103 .etype = ETH_P_IP, [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | trace.h | 6 #define packettype_name(etype) { RHF_RCV_TYPE_##etype, #etype } argument 7 #define show_packettype(etype) \ argument 8 __print_symbolic(etype, \
|
H A D | trace_ibhdrs.h | 121 __field(u8, etype) 154 __entry->etype = packet->etype; 158 if (__entry->etype == RHF_RCV_TYPE_BYPASS) { 219 __entry->etype != RHF_RCV_TYPE_BYPASS ? 220 show_packettype(__entry->etype) : 224 __entry->etype == 242 __entry->etype ==
|
H A D | driver.c | 225 if (packet->etype == RHF_RCV_TYPE_BYPASS) { in rcv_hdrerr() 416 if (pkt->etype == RHF_RCV_TYPE_BYPASS) { in hfi1_process_ecn_slowpath() 585 u32 etype = rhf_rcv_type(rhf), qpn, bth1; in __prescan_rxq() local 594 if (etype != RHF_RCV_TYPE_IB) in __prescan_rxq() 710 packet->etype = rhf_rcv_type(packet->rhf); in process_rcv_packet_napi() 728 packet->rcd->rhf_rcv_function_map[packet->etype](packet); in process_rcv_packet_napi() 745 packet->etype = rhf_rcv_type(packet->rhf); in process_rcv_packet() 774 packet->rcd->rhf_rcv_function_map[packet->etype](packet); in process_rcv_packet() 950 u8 etype = rhf_rcv_type(packet->rhf); in __set_armed_to_active() local 953 if (etype == RHF_RCV_TYPE_IB) { in __set_armed_to_active() [all …]
|
/linux/lib/ |
H A D | error-inject.c | 20 int etype; member 48 ei_type = ent->etype; in get_injectable_error_type() 88 ent->etype = iter->etype; in populate_error_injection_list() 181 static const char *error_type_string(int etype) in error_type_string() argument 183 switch (etype) { in error_type_string() 202 error_type_string(ent->etype)); in ei_seq_show()
|
/linux/net/dsa/ |
H A D | tag_rtl4_a.c | 73 u16 etype; in rtl4a_tag_rcv() local 83 etype = ntohs(*p); in rtl4a_tag_rcv() 84 if (etype != ETH_P_REALTEK) { in rtl4a_tag_rcv() 86 netdev_dbg(dev, "non-realtek ethertype 0x%04x\n", etype); in rtl4a_tag_rcv()
|
H A D | tag_rtl8_4.c | 154 u16 etype; in rtl8_4_read_tag() local 162 etype = ntohs(tag16[0]); in rtl8_4_read_tag() 163 if (unlikely(etype != ETH_P_REALTEK)) { in rtl8_4_read_tag() 165 "non-realtek ethertype 0x%04x\n", etype); in rtl8_4_read_tag()
|
/linux/drivers/infiniband/sw/siw/ |
H A D | iwarp.h | 184 __be32 etype : 4; member 196 __be32 etype : 4; member 229 return term->etype; in __rdmap_term_etype() 233 u8 etype) in __rdmap_term_set_etype() argument 235 term->etype = etype & 0xf; in __rdmap_term_set_etype()
|
H A D | siw_qp.c | 367 void siw_init_terminate(struct siw_qp *qp, enum term_elayer layer, u8 etype, in siw_init_terminate() argument 373 qp->term_info.etype = etype; in siw_init_terminate() 379 layer, etype, ecode, in_tx ? "yes" : "no"); in siw_init_terminate() 434 (qp->term_info.etype != RDMAP_ETYPE_CATASTROPHIC))) { in siw_send_terminate() 445 __rdmap_term_set_etype(term, qp->term_info.etype); in siw_send_terminate() 450 if (qp->term_info.etype == RDMAP_ETYPE_CATASTROPHIC) in siw_send_terminate() 454 if (qp->term_info.etype == RDMAP_ETYPE_REMOTE_PROTECTION) { in siw_send_terminate() 543 if (((qp->term_info.etype == DDP_ETYPE_TAGGED_BUF) && in siw_send_terminate() 545 ((qp->term_info.etype == DDP_ETYPE_UNTAGGED_BUF) && in siw_send_terminate()
|
H A D | siw_verbs.c | 1810 void siw_qp_event(struct siw_qp *qp, enum ib_event_type etype) in siw_qp_event() argument 1822 event.event = etype; in siw_qp_event() 1827 siw_dbg_qp(qp, "reporting event %d\n", etype); in siw_qp_event() 1832 void siw_cq_event(struct siw_cq *cq, enum ib_event_type etype) in siw_cq_event() argument 1837 event.event = etype; in siw_cq_event() 1842 siw_dbg_cq(cq, "reporting CQ event %d\n", etype); in siw_cq_event() 1847 void siw_srq_event(struct siw_srq *srq, enum ib_event_type etype) in siw_srq_event() argument 1852 event.event = etype; in siw_srq_event() 1858 "reporting SRQ event %d\n", etype); in siw_srq_event() 1863 void siw_port_event(struct siw_device *sdev, u32 port, enum ib_event_type etype) in siw_port_event() argument [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_arfs.c | 71 __be16 etype; member 499 u8 ip_proto, __be16 etype) in arfs_get_table() argument 501 if (etype == htons(ETH_P_IP) && ip_proto == IPPROTO_TCP) in arfs_get_table() 503 if (etype == htons(ETH_P_IP) && ip_proto == IPPROTO_UDP) in arfs_get_table() 505 if (etype == htons(ETH_P_IPV6) && ip_proto == IPPROTO_TCP) in arfs_get_table() 507 if (etype == htons(ETH_P_IPV6) && ip_proto == IPPROTO_UDP) in arfs_get_table() 536 ntohs(tuple->etype)); in arfs_add_rule() 537 arfs_table = arfs_get_table(arfs, tuple->ip_proto, tuple->etype); in arfs_add_rule() 540 tuple->etype, tuple->ip_proto); in arfs_add_rule() 565 if (tuple->etype == htons(ETH_P_IP)) { in arfs_add_rule() [all …]
|
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_vcap.c | 390 struct ocelot_vcap_key_etype *etype = &filter->key.etype; in is2_entry_set() local 394 etype->dmac.value, etype->dmac.mask); in is2_entry_set() 396 etype->smac.value, etype->smac.mask); in is2_entry_set() 398 etype->etype.value, etype->etype.mask); in is2_entry_set() 408 etype->data.value, etype->data.mask); in is2_entry_set() 707 struct ocelot_vcap_key_etype *etype = &filter->key.etype; in is1_entry_set() local 710 etype->smac.value, etype->smac.mask); in is1_entry_set() 712 etype->etype.value, etype->etype.mask); in is1_entry_set() 754 struct ocelot_vcap_u16 etype = {0}; in is1_entry_set() local 757 etype.value[0] = proto.value[0]; in is1_entry_set() [all …]
|
H A D | ocelot_mrp.c | 68 ether_addr_copy(filter->key.etype.dmac.value, mrp_test_dmac); in ocelot_mrp_redirect_add_vcap() 69 ether_addr_copy(filter->key.etype.dmac.mask, mrp_test_mask); in ocelot_mrp_redirect_add_vcap() 87 ether_addr_copy(filter->key.etype.dmac.value, mrp_test_dmac); in ocelot_populate_mrp_trap_key() 88 ether_addr_copy(filter->key.etype.dmac.mask, mrp_mask); in ocelot_populate_mrp_trap_key()
|
/linux/net/sunrpc/auth_gss/ |
H A D | gss_krb5_mech.c | 39 .etype = ENCTYPE_AES128_CTS_HMAC_SHA1_96, 68 .etype = ENCTYPE_AES256_CTS_HMAC_SHA1_96, 100 .etype = ENCTYPE_CAMELLIA128_CTS_CMAC, 126 .etype = ENCTYPE_CAMELLIA256_CTS_CMAC, 155 .etype = ENCTYPE_AES128_CTS_HMAC_SHA256_128, 181 .etype = ENCTYPE_AES256_CTS_HMAC_SHA384_192, 255 const struct gss_krb5_enctype *gss_krb5_lookup_enctype(u32 etype) in gss_krb5_lookup_enctype() argument 260 if (supported_gss_krb5_enctypes[i].etype == etype) in gss_krb5_lookup_enctype()
|
/linux/fs/udf/ |
H A D | inode.c | 419 int8_t etype; in udf_map_block() local 423 &etype); in udf_map_block() 426 if (ret > 0 && etype == (EXT_RECORDED_ALLOCATED >> 30)) { in udf_map_block() 647 int8_t etype; in udf_extend_file() local 671 err = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset, &etype); in udf_extend_file() 689 &extent.extLength, &etype, 0); in udf_extend_file() 692 extent.extLength |= etype << 30; in udf_extend_file() 728 int8_t etype, tmpetype; in inode_getblk() local 764 ret = udf_next_aext(inode, &next_epos, &eloc, &elen, &etype, 1); in inode_getblk() 774 laarr[c].extLength = (etype << 30) | elen; in inode_getblk() [all …]
|
/linux/include/asm-generic/ |
H A D | error-injection.h | 15 int etype; member 32 .etype = EI_ETYPE_##_etype, \
|
/linux/kernel/trace/ |
H A D | trace_export.c | 171 #define FTRACE_ENTRY_REG(call, struct_name, etype, tstruct, print, regfn) \ argument 184 .event.type = etype, \ 192 #define FTRACE_ENTRY(call, struct_name, etype, tstruct, print) \ argument 193 FTRACE_ENTRY_REG(call, struct_name, etype, \
|
/linux/drivers/scsi/bfa/ |
H A D | bfa_cs.h | 187 #define bfa_sm_state_decl(oc, st, otype, etype) \ argument 188 static void oc ## _sm_ ## st(otype * fsm, etype event) 216 #define bfa_fsm_state_decl(oc, st, otype, etype) \ argument 217 static void oc ## _sm_ ## st(otype * fsm, etype event); \
|
/linux/arch/riscv/kvm/ |
H A D | vcpu_pmu.c | 52 enum sbi_pmu_event_type etype = get_event_type(eidx); in kvm_pmu_get_perf_event_type() local 55 switch (etype) { in kvm_pmu_get_perf_event_type() 116 enum sbi_pmu_event_type etype = get_event_type(eidx); in kvm_pmu_get_perf_event_config() local 120 switch (etype) { in kvm_pmu_get_perf_event_config() 144 u32 etype = kvm_pmu_get_perf_event_type(eidx); in kvm_pmu_get_fixed_pmc_index() local 147 if (etype != SBI_PMU_EVENT_TYPE_HW) in kvm_pmu_get_fixed_pmc_index() 662 u32 etype = kvm_pmu_get_perf_event_type(eidx); in kvm_riscv_vcpu_pmu_ctr_cfg_match() local 666 .type = etype, in kvm_riscv_vcpu_pmu_ctr_cfg_match()
|
/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_cs.h | 67 #define bfa_fsm_state_decl(oc, st, otype, etype) \ argument 68 static void oc ## _sm_ ## st(otype * fsm, etype event); \
|
/linux/include/ras/ |
H A D | ras_event.h | 38 __field(u8, etype) 50 __entry->etype = mem->error_type; 52 __entry->etype = ~0; 71 cper_mem_err_type_str(__entry->etype),
|
/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_fdir.c | 41 if (fltr->eth_mask.etype && fltr->eth_mask.etype != htons(U16_MAX)) in iavf_validate_fdir_fltr_masks() 574 if (fltr->eth_mask.etype == htons(U16_MAX)) { in iavf_fill_fdir_eth_hdr() 575 if (fltr->eth_data.etype == htons(ETH_P_IP) || in iavf_fill_fdir_eth_hdr() 576 fltr->eth_data.etype == htons(ETH_P_IPV6)) in iavf_fill_fdir_eth_hdr() 579 ehdr->h_proto = fltr->eth_data.etype; in iavf_fill_fdir_eth_hdr() 778 ntohs(fltr->eth_data.etype)); in iavf_print_fdir_fltr()
|
/linux/drivers/firmware/efi/ |
H A D | cper.c | 208 const char *cper_mem_err_type_str(unsigned int etype) in cper_mem_err_type_str() argument 210 return etype < ARRAY_SIZE(mem_err_type_strs) ? in cper_mem_err_type_str() 211 mem_err_type_strs[etype] : "unknown"; in cper_mem_err_type_str() 380 u8 etype = mem->error_type; in cper_print_mem() local 381 printk("%s""error_type: %d, %s\n", pfx, etype, in cper_print_mem() 382 cper_mem_err_type_str(etype)); in cper_print_mem()
|
/linux/arch/m68k/include/asm/ |
H A D | bootstd.h | 116 #define _bsc5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ argument 117 type name(atype a, btype b, ctype c, dtype d, etype e) \
|
/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe.c | 272 l2->etype = ETH_P_IPV6; in mtk_foe_entry_prepare() 274 l2->etype = ETH_P_IP; in mtk_foe_entry_prepare() 375 l2->etype = BIT(port); in mtk_foe_entry_set_dsa() 380 l2->etype |= BIT(8); in mtk_foe_entry_set_dsa() 401 l2->etype |= BIT(8); in mtk_foe_entry_set_vlan() 419 l2->etype = ETH_P_PPP_SES; in mtk_foe_entry_set_pppoe() 730 else if (type >= MTK_PPE_PKT_TYPE_IPV6_ROUTE_3T && l2->etype == ETH_P_IP) in mtk_foe_entry_commit_subflow() 731 l2->etype = ETH_P_IPV6; in mtk_foe_entry_commit_subflow()
|