Home
last modified time | relevance | path

Searched refs:hdr_type (Results 1 – 25 of 58) sorted by relevance

123

/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_ah.c58 static u16 ocrdma_hdr_type_to_proto_num(int devid, u8 hdr_type) in ocrdma_hdr_type_to_proto_num() argument
60 switch (hdr_type) { in ocrdma_hdr_type_to_proto_num()
94 proto_num = ocrdma_hdr_type_to_proto_num(dev->id, ah->hdr_type); in set_av_attr()
127 if (ah->hdr_type == RDMA_NETWORK_IPV4) { in set_av_attr()
188 ah->hdr_type = rdma_gid_attr_network_type(sgid_attr); in ocrdma_create_ah()
201 *ahid_addr |= ((u32)ah->hdr_type & in ocrdma_create_ah()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dpedit.c21 set_pedit_val(u8 hdr_type, u32 mask, u32 val, u32 offset, in set_pedit_val() argument
27 curr_pmask = (u32 *)(pedit_header(&hdrs->masks, hdr_type) + offset); in set_pedit_val()
28 curr_pval = (u32 *)(pedit_header(&hdrs->vals, hdr_type) + offset); in set_pedit_val()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_flow.c2009 if (cfg->hdr_type == ICE_RSS_INNER_HEADERS_W_OUTER_IPV4) in ice_flow_set_rss_seg_info()
2012 else if (cfg->hdr_type == ICE_RSS_INNER_HEADERS_W_OUTER_IPV6) in ice_flow_set_rss_seg_info()
2120 enum ice_rss_cfg_hdr_type hdr_type) in ice_rss_match_prof() argument
2122 return (r->hash.hdr_type == hdr_type && in ice_rss_match_prof()
2138 enum ice_rss_cfg_hdr_type hdr_type; in ice_rem_rss_list() local
2145 hdr_type = ice_get_rss_hdr_type(prof); in ice_rem_rss_list()
2147 if (ice_rss_match_prof(r, prof, hdr_type)) { in ice_rem_rss_list()
2168 enum ice_rss_cfg_hdr_type hdr_type; in ice_add_rss_list() local
2171 hdr_type in ice_add_rss_list()
[all...]
H A Dice_flow.h306 enum ice_rss_cfg_hdr_type hdr_type; /* to specify inner or outer */ member
/linux/arch/powerpc/kernel/
H A Dpci_of_scan.c220 dev->hdr_type = PCI_HEADER_TYPE_BRIDGE; in of_create_pci_dev()
224 dev->hdr_type = PCI_HEADER_TYPE_CARDBUS; in of_create_pci_dev()
226 dev->hdr_type = PCI_HEADER_TYPE_NORMAL; in of_create_pci_dev()
385 pr_debug(" dev header type: %x\n", dev->hdr_type); in of_scan_pci_dev()
409 pr_debug(" dev header type: %x\n", dev->hdr_type); in __of_scan_bus()
/linux/drivers/infiniband/hw/hfi1/
H A Dverbs_txreq.h55 tx->phdr.hdr.hdr_type = priv->hdr_type; in get_txreq()
H A Dtrace_ibhdrs.h281 __field(u8, hdr_type)
315 __entry->hdr_type = opah->hdr_type;
318 if (__entry->hdr_type) {
389 !!__entry->hdr_type,
406 !!__entry->hdr_type,
H A Dud.c162 if (priv->hdr_type == HFI1_PKT_TYPE_16B) { in ud_loopback()
327 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_9B; in hfi1_make_ud_req_9B()
421 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_16B; in hfi1_make_ud_req_16B()
478 priv->hdr_type = hfi1_get_hdr_type(ppd->lid, ah_attr); in hfi1_make_ud_req()
520 hfi1_make_ud_req_tbl[priv->hdr_type](qp, ps, qp->s_wqe); in hfi1_make_ud_req()
606 hdr.hdr_type = HFI1_PKT_TYPE_16B; in return_cnp_16B()
667 hdr.hdr_type = HFI1_PKT_TYPE_9B; in return_cnp()
H A Dverbs.h96 u8 hdr_type; /* 9B or 16B */ member
132 u8 hdr_type; /* 9B or 16B */ member
H A Dverbs.c730 if (tx->phdr.hdr.hdr_type) { in build_verbs_tx_desc()
812 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send_dma()
829 if (ps->s_txreq->phdr.hdr.hdr_type) in hfi1_verbs_send_dma()
957 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send_pio()
987 if (ps->s_txreq->phdr.hdr.hdr_type) in hfi1_verbs_send_pio()
1225 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send()
/linux/drivers/pci/hotplug/
H A Dibmphp_pci.c72 u8 hdr_type, device, sec_number; in ibmphp_configure_card() local
115 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); in ibmphp_configure_card()
119 debug("hrd_type = %x, class = %x, class_code %x\n", hdr_type, class, class_code); in ibmphp_configure_card()
130 switch (hdr_type) { in ibmphp_configure_card()
132 debug("single device case.... vendor id = %x, hdr_type = %x, class = %x\n", vendor_id, hdr_type, class); in ibmphp_configure_card()
295 err("MAJOR PROBLEM!!!!, header type not supported? %x\n", hdr_type); in ibmphp_configure_card()
1050 u8 hdr_type; in scan_behind_bridge() local
1086 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); in scan_behind_bridge()
1089 debug("hdr_type behin in scan_behind_bridge()
1419 u8 hdr_type; unconfigure_boot_card() local
[all...]
H A Drpadlpar_core.c190 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in dlpar_add_pci_slot()
192 __func__, dev->hdr_type, drc_name); in dlpar_add_pci_slot()
H A Dcpcihp_generic.c140 if (!dev || dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in cpcihp_generic_init()
/linux/drivers/pci/
H A Dprobe.c1296 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) in pci_ea_fixed_busnrs()
1344 int is_cardbus = (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS); in pci_scan_bridge_extend()
1873 u8 hdr_type; in pci_hdr_type() local
1877 return dev->physfn->sriov->hdr_type; in pci_hdr_type()
1879 pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type); in pci_hdr_type()
1880 return hdr_type; in pci_hdr_type()
1952 switch (dev->hdr_type) { in pci_type_str()
1978 u8 hdr_type; in pci_setup_device() local
1983 hdr_type = pci_hdr_type(dev); in pci_setup_device()
1988 dev->hdr_type in pci_setup_device()
[all...]
H A Dsetup-bus.c1401 int hdr_type, ret; in __pci_bus_size_bridges() local
1408 switch (dev->hdr_type) { in __pci_bus_size_bridges()
1428 hdr_type = -1; /* Intentionally invalid - not a PCI device. */ in __pci_bus_size_bridges()
1431 hdr_type = bus->self->hdr_type; in __pci_bus_size_bridges()
1434 switch (hdr_type) { in __pci_bus_size_bridges()
1585 switch (dev->hdr_type) { in __pci_bus_assign_resources()
H A Dpci.c466 unsigned int devfn, u8 hdr_type) in __pci_bus_find_cap_start() argument
474 switch (hdr_type) { in __pci_bus_find_cap_start()
508 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_capability()
531 u8 hdr_type, pos; in pci_bus_find_capability() local
533 pci_bus_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type); in pci_bus_find_capability()
535 pos = __pci_bus_find_cap_start(bus, devfn, hdr_type & PCI_HEADER_TYPE_MASK); in pci_bus_find_capability()
711 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_ht_capability()
901 if (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS && in pci_resource_name()
1857 if (pdev->hdr_type == PCI_HEADER_TYPE_NORMAL) { in pci_restore_config_space()
1862 } else if (pdev->hdr_type in pci_restore_config_space()
[all...]
/linux/include/linux/avf/
H A Dvirtchnl.h1204 * @param hdr_type: ETH/IPV4/TCP, etc
1215 #define VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, hdr_type, field) \ argument
1217 VIRTCHNL_PROTO_HDR_ ## hdr_type ## _ ## field))
1218 #define VIRTCHNL_DEL_PROTO_HDR_FIELD_BIT(hdr, hdr_type, field) \ argument
1220 VIRTCHNL_PROTO_HDR_ ## hdr_type ## _ ## field))
1222 #define VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, hdr_type) \ argument
1223 ((hdr)->type = VIRTCHNL_PROTO_HDR_ ## hdr_type)
/linux/arch/x86/include/asm/
H A Dcpu.h66 int intel_microcode_sanity_check(void *mc, bool print_err, int hdr_type);
/linux/drivers/pci/controller/
H A Dvmd.c514 u8 dev, functions, fn, hdr_type; in vmd_domain_reset() local
522 hdr_type = readb(base + PCI_HEADER_TYPE); in vmd_domain_reset()
524 functions = (hdr_type & PCI_HEADER_TYPE_MFD) ? 8 : 1; in vmd_domain_reset()
529 hdr_type = readb(base + PCI_HEADER_TYPE) & in vmd_domain_reset()
532 if (hdr_type != PCI_HEADER_TYPE_BRIDGE || in vmd_domain_reset()
/linux/include/net/mana/
H A Dgdma.h130 u32 hdr_type; member
181 hdr->req.hdr_type = GDMA_STANDARD_HEADER_TYPE; in mana_gd_init_req_hdr()
186 hdr->resp.hdr_type = GDMA_STANDARD_HEADER_TYPE; in mana_gd_init_req_hdr()
/linux/drivers/xen/xen-pciback/
H A Dpciback_ops.c35 if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL) in xen_pcibk_control_isr()
116 if (dev->hdr_type == PCI_HEADER_TYPE_NORMAL) { in xen_pcibk_reset_device()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_reset.c75 if (bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE && in mthca_reset()
/linux/arch/x86/kernel/cpu/microcode/
H A Dintel.c127 * @hdr_type: Type of file, i.e. normal microcode file or In Field Scan file.
137 int intel_microcode_sanity_check(void *mc, bool print_err, int hdr_type) in intel_microcode_sanity_check() argument
154 if (mc_header->ldrver != 1 || mc_header->hdrver != hdr_type) { in intel_microcode_sanity_check()
/linux/drivers/pci/controller/dwc/
H A Dpcie-designware-ep.c929 u8 hdr_type; in dw_pcie_ep_init_registers() local
934 hdr_type = dw_pcie_readb_dbi(pci, PCI_HEADER_TYPE) & in dw_pcie_ep_init_registers()
936 if (hdr_type != PCI_HEADER_TYPE_NORMAL) { in dw_pcie_ep_init_registers()
938 "PCIe controller is not set to EP mode (hdr_type:0x%x)!\n", in dw_pcie_ep_init_registers()
939 hdr_type); in dw_pcie_ep_init_registers()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ethtool.c74 hdrs->proto_hdr[0].hdr_type = cpu_to_le32(VIRTCHNL2_PROTO_HDR_IPV4); in idpf_fsteer_fill_ipv4()
91 hdrs->proto_hdr[1].hdr_type = cpu_to_le32(VIRTCHNL2_PROTO_HDR_UDP); in idpf_fsteer_fill_udp()
115 hdrs->proto_hdr[1].hdr_type = cpu_to_le32(VIRTCHNL2_PROTO_HDR_TCP); in idpf_fsteer_fill_tcp()

123