| /linux/drivers/infiniband/hw/ocrdma/ |
| H A D | ocrdma_ah.c | 58 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 D | pedit.c | 21 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 D | ice_flow.c | 2092 if (cfg->hdr_type == ICE_RSS_INNER_HEADERS_W_OUTER_IPV4) in ice_flow_set_rss_seg_info() 2095 else if (cfg->hdr_type == ICE_RSS_INNER_HEADERS_W_OUTER_IPV6) in ice_flow_set_rss_seg_info() 2203 enum ice_rss_cfg_hdr_type hdr_type) in ice_rss_match_prof() argument 2205 return (r->hash.hdr_type == hdr_type && in ice_rss_match_prof() 2221 enum ice_rss_cfg_hdr_type hdr_type; in ice_rem_rss_list() local 2228 hdr_type = ice_get_rss_hdr_type(prof); in ice_rem_rss_list() 2230 if (ice_rss_match_prof(r, prof, hdr_type)) { in ice_rem_rss_list() 2251 enum ice_rss_cfg_hdr_type hdr_type; in ice_add_rss_list() local 2254 hdr_type = ice_get_rss_hdr_type(prof); in ice_add_rss_list() 2256 if (ice_rss_match_prof(r, prof, hdr_type)) { in ice_add_rss_list() [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | pci_of_scan.c | 227 dev->hdr_type = PCI_HEADER_TYPE_BRIDGE; in of_create_pci_dev() 231 dev->hdr_type = PCI_HEADER_TYPE_CARDBUS; in of_create_pci_dev() 233 dev->hdr_type = PCI_HEADER_TYPE_NORMAL; in of_create_pci_dev() 392 pr_debug(" dev header type: %x\n", dev->hdr_type); in of_scan_pci_dev() 416 pr_debug(" dev header type: %x\n", dev->hdr_type); in __of_scan_bus()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | verbs_txreq.h | 55 tx->phdr.hdr.hdr_type = priv->hdr_type; in get_txreq()
|
| H A D | trace_ibhdrs.h | 281 __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 D | ud.c | 162 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 D | verbs.h | 96 u8 hdr_type; /* 9B or 16B */ member 132 u8 hdr_type; /* 9B or 16B */ member
|
| H A D | rc.c | 90 if (qpriv->hdr_type == HFI1_PKT_TYPE_9B) in make_rc_ack() 415 if (priv->hdr_type == HFI1_PKT_TYPE_9B) { in hfi1_make_rc_req() 1234 opa_hdr->hdr_type = HFI1_PKT_TYPE_9B; in hfi1_make_rc_ack_9B() 1289 opa_hdr->hdr_type = HFI1_PKT_TYPE_16B; in hfi1_make_rc_ack_16B() 1379 hfi1_make_rc_ack_tbl[priv->hdr_type](packet, &opa_hdr, sc5, is_fecn, in hfi1_send_rc_ack() 1401 (priv->hdr_type == HFI1_PKT_TYPE_9B ? in hfi1_send_rc_ack()
|
| /linux/drivers/pci/hotplug/ |
| H A D | ibmphp_pci.c | 72 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 …("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 behind the bridge is %x\n", hdr_type); in scan_behind_bridge() 1090 if ((hdr_type & PCI_HEADER_TYPE_MASK) == PCI_HEADER_TYPE_BRIDGE) { in scan_behind_bridge() [all …]
|
| H A D | rpadlpar_core.c | 190 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 D | cpcihp_generic.c | 140 if (!dev || dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in cpcihp_generic_init()
|
| H A D | ibmphp_res.c | 1908 u8 sec_busno, device, function, hdr_type, start_io_address, end_io_address; in update_bridge_ranges() local 1934 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); in update_bridge_ranges() 1936 switch (hdr_type) { in update_bridge_ranges()
|
| /linux/drivers/net/ethernet/intel/ice/virt/ |
| H A D | rss.c | 537 hash_cfg->hdr_type = ICE_RSS_OUTER_HEADERS; in ice_vc_parse_rss_cfg() 608 hash_cfg->hdr_type = ICE_RSS_INNER_HEADERS_W_OUTER_IPV4; in ice_vc_parse_rss_cfg() 610 hash_cfg->hdr_type = ICE_RSS_INNER_HEADERS_W_OUTER_IPV6; in ice_vc_parse_rss_cfg() 612 hash_cfg->hdr_type = ICE_RSS_INNER_HEADERS; in ice_vc_parse_rss_cfg() 615 hash_cfg->hdr_type = in ice_vc_parse_rss_cfg() 618 hash_cfg->hdr_type = in ice_vc_parse_rss_cfg() 651 if (hash_cfg->hdr_type == ICE_RSS_OUTER_HEADERS && in ice_vc_parse_rss_cfg() 709 cfg->hdr_type = ICE_RSS_OUTER_HEADERS; in ice_hash_cfg_reset() 725 ctx->hdr_type = cfg->hdr_type; in ice_hash_cfg_record() 1223 ctx->ctx[ctx_idx].hdr_type = cfg->hdr_type; in ice_add_rss_cfg_post_gtpu() [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | pci.c | 367 dev->hdr_type = PCI_HEADER_TYPE_BRIDGE; in of_create_pci_dev() 370 dev->hdr_type = PCI_HEADER_TYPE_CARDBUS; in of_create_pci_dev() 372 dev->hdr_type = PCI_HEADER_TYPE_NORMAL; in of_create_pci_dev() 381 dev->vendor, dev->device, dev->hdr_type, dev->class); in of_create_pci_dev() 610 pci_info(dev, "dev header type: %x\n", dev->hdr_type); in pci_of_scan_bus()
|
| /linux/arch/powerpc/sysdev/ |
| H A D | fsl_pci.c | 49 u8 hdr_type; in quirk_fsl_pcie_early() local 56 pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type); in quirk_fsl_pcie_early() 57 if ((hdr_type & PCI_HEADER_TYPE_MASK) != PCI_HEADER_TYPE_BRIDGE) in quirk_fsl_pcie_early() 528 u8 hdr_type, progif; in fsl_add_bridge() local 583 early_read_config_byte(hose, 0, 0, PCI_HEADER_TYPE, &hdr_type); in fsl_add_bridge() 584 if ((hdr_type & PCI_HEADER_TYPE_MASK) != PCI_HEADER_TYPE_BRIDGE) in fsl_add_bridge()
|
| /linux/drivers/pci/controller/ |
| H A D | vmd.c | 524 u8 dev, functions, fn, hdr_type; in vmd_domain_reset() local 532 hdr_type = readb(base + PCI_HEADER_TYPE); in vmd_domain_reset() 534 functions = (hdr_type & PCI_HEADER_TYPE_MFD) ? 8 : 1; in vmd_domain_reset() 539 hdr_type = readb(base + PCI_HEADER_TYPE) & in vmd_domain_reset() 542 if (hdr_type != PCI_HEADER_TYPE_BRIDGE || in vmd_domain_reset()
|
| /linux/drivers/xen/xen-pciback/ |
| H A D | conf_space_header.c | 398 switch (dev->hdr_type) { in xen_pcibk_config_header_add_fields() 410 dev->hdr_type); in xen_pcibk_config_header_add_fields()
|
| H A D | pciback_ops.c | 35 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/pci/ |
| H A D | pci.c | 437 unsigned int devfn, u8 hdr_type) in __pci_bus_find_cap_start() argument 445 switch (hdr_type) { in __pci_bus_find_cap_start() 479 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_capability() 502 u8 hdr_type, pos; in pci_bus_find_capability() local 504 pci_bus_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type); in pci_bus_find_capability() 506 pos = __pci_bus_find_cap_start(bus, devfn, hdr_type & PCI_HEADER_TYPE_MASK); in pci_bus_find_capability() 652 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_ht_capability() 842 if (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS && in pci_resource_name() 1804 if (pdev->hdr_type == PCI_HEADER_TYPE_NORMAL) { in pci_restore_config_space() 1809 } else if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pci_restore_config_space() [all …]
|
| H A D | proc.c | 43 else if (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS) in proc_bus_pci_read()
|
| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_reset.c | 75 if (bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE && in mthca_reset()
|
| /linux/drivers/pci/controller/dwc/ |
| H A D | pcie-designware-ep.c | 1188 u8 hdr_type; in dw_pcie_ep_init_registers() local 1193 hdr_type = dw_pcie_readb_dbi(pci, PCI_HEADER_TYPE) & in dw_pcie_ep_init_registers() 1195 if (hdr_type != PCI_HEADER_TYPE_NORMAL) { in dw_pcie_ep_init_registers() 1198 hdr_type); in dw_pcie_ep_init_registers()
|
| /linux/drivers/pci/pcie/ |
| H A D | err.c | 73 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in report_error_detected()
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_ethtool.c | 100 hdrs->proto_hdr[0].hdr_type = cpu_to_le32(VIRTCHNL2_PROTO_HDR_IPV4); in idpf_fsteer_fill_ipv4() 117 hdrs->proto_hdr[1].hdr_type = cpu_to_le32(VIRTCHNL2_PROTO_HDR_UDP); in idpf_fsteer_fill_udp() 141 hdrs->proto_hdr[1].hdr_type = cpu_to_le32(VIRTCHNL2_PROTO_HDR_TCP); in idpf_fsteer_fill_tcp()
|