Home
last modified time | relevance | path

Searched refs:hdrs (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.15/arch/s390/kernel/syscalls/
DMakefile11 kapi-hdrs-y := $(kapi)/unistd_nr.h
12 uapi-hdrs-y := $(uapi)/unistd_32.h
13 uapi-hdrs-y += $(uapi)/unistd_64.h
15 targets += $(addprefix ../../../,$(gen-y) $(kapi-hdrs-y) $(uapi-hdrs-y))
19 kapi: $(gen-y) $(kapi-hdrs-y)
20 uapi: $(uapi-hdrs-y)
/Linux-v5.15/arch/arm/tools/
DMakefile18 kapi-hdrs-y := $(kapi)/unistd-nr.h
19 kapi-hdrs-y += $(kapi)/mach-types.h
20 uapi-hdrs-y += $(uapi)/unistd-oabi.h
21 uapi-hdrs-y += $(uapi)/unistd-eabi.h
23 targets += $(addprefix ../../../,$(gen-y) $(kapi-hdrs-y) $(uapi-hdrs-y))
27 kapi: $(kapi-hdrs-y) $(gen-y)
29 uapi: $(uapi-hdrs-y)
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_flow.c635 if (segs[i].hdrs & ICE_FLOW_SEG_HDRS_L3_MASK && in ice_flow_val_hdrs()
636 !is_power_of_2(segs[i].hdrs & ICE_FLOW_SEG_HDRS_L3_MASK)) in ice_flow_val_hdrs()
640 if (segs[i].hdrs & ICE_FLOW_SEG_HDRS_L4_MASK && in ice_flow_val_hdrs()
641 !is_power_of_2(segs[i].hdrs & ICE_FLOW_SEG_HDRS_L4_MASK)) in ice_flow_val_hdrs()
669 sz = (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_VLAN) ? in ice_flow_calc_seg_sz()
673 if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_IPV4) in ice_flow_calc_seg_sz()
675 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_IPV6) in ice_flow_calc_seg_sz()
677 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_ARP) in ice_flow_calc_seg_sz()
679 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDRS_L4_MASK) in ice_flow_calc_seg_sz()
684 if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_ICMP) in ice_flow_calc_seg_sz()
[all …]
Dice_flow.h294 #define ICE_FLOW_SET_HDRS(seg, val) ((seg)->hdrs |= (u32)(val))
335 u32 hdrs; /* Bitmask indicating protocol headers present */ member
415 u64 ice_get_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u32 hdrs);
Dice_ethtool.c2370 u32 hdrs = ICE_FLOW_SEG_HDR_NONE; in ice_parse_hdrs() local
2374 hdrs |= ICE_FLOW_SEG_HDR_TCP | ICE_FLOW_SEG_HDR_IPV4; in ice_parse_hdrs()
2377 hdrs |= ICE_FLOW_SEG_HDR_UDP | ICE_FLOW_SEG_HDR_IPV4; in ice_parse_hdrs()
2380 hdrs |= ICE_FLOW_SEG_HDR_SCTP | ICE_FLOW_SEG_HDR_IPV4; in ice_parse_hdrs()
2383 hdrs |= ICE_FLOW_SEG_HDR_TCP | ICE_FLOW_SEG_HDR_IPV6; in ice_parse_hdrs()
2386 hdrs |= ICE_FLOW_SEG_HDR_UDP | ICE_FLOW_SEG_HDR_IPV6; in ice_parse_hdrs()
2389 hdrs |= ICE_FLOW_SEG_HDR_SCTP | ICE_FLOW_SEG_HDR_IPV6; in ice_parse_hdrs()
2394 return hdrs; in ice_parse_hdrs()
2489 u32 hdrs; in ice_set_rss_hash_opt() local
2505 hdrs = ice_parse_hdrs(nfc); in ice_set_rss_hash_opt()
[all …]
/Linux-v5.15/arch/arm64/tools/
DMakefile6 kapi-hdrs-y := $(kapi)/cpucaps.h
8 targets += $(addprefix ../../../,$(gen-y) $(kapi-hdrs-y))
12 kapi: $(kapi-hdrs-y) $(gen-y)
/Linux-v5.15/arch/s390/tools/
DMakefile7 kapi-hdrs-y := $(kapi)/facility-defs.h $(kapi)/dis-defs.h
11 kapi: $(kapi-hdrs-y)
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c1437 u32 hdrs = IAVF_ADV_RSS_FLOW_SEG_HDR_NONE; in iavf_adv_rss_parse_hdrs() local
1441 hdrs |= IAVF_ADV_RSS_FLOW_SEG_HDR_TCP | in iavf_adv_rss_parse_hdrs()
1445 hdrs |= IAVF_ADV_RSS_FLOW_SEG_HDR_UDP | in iavf_adv_rss_parse_hdrs()
1449 hdrs |= IAVF_ADV_RSS_FLOW_SEG_HDR_SCTP | in iavf_adv_rss_parse_hdrs()
1453 hdrs |= IAVF_ADV_RSS_FLOW_SEG_HDR_TCP | in iavf_adv_rss_parse_hdrs()
1457 hdrs |= IAVF_ADV_RSS_FLOW_SEG_HDR_UDP | in iavf_adv_rss_parse_hdrs()
1461 hdrs |= IAVF_ADV_RSS_FLOW_SEG_HDR_SCTP | in iavf_adv_rss_parse_hdrs()
1468 return hdrs; in iavf_adv_rss_parse_hdrs()
1551 u32 hdrs; in iavf_set_adv_rss_hash_opt() local
1556 hdrs = iavf_adv_rss_parse_hdrs(cmd); in iavf_set_adv_rss_hash_opt()
[all …]
/Linux-v5.15/net/rds/
Dib_cm.c443 struct rds_header **hdrs, dma_addr_t *dma_addrs, u32 num_hdrs, in rds_dma_hdrs_free() argument
449 rds_dma_hdr_free(dev->dev, hdrs[i], dma_addrs[i], dir); in rds_dma_hdrs_free()
450 kvfree(hdrs); in rds_dma_hdrs_free()
470 struct rds_header **hdrs; in rds_dma_hdrs_alloc() local
474 hdrs = kvmalloc_node(sizeof(*hdrs) * num_hdrs, GFP_KERNEL, in rds_dma_hdrs_alloc()
476 if (!hdrs) in rds_dma_hdrs_alloc()
482 kvfree(hdrs); in rds_dma_hdrs_alloc()
487 hdrs[i] = rds_dma_hdr_alloc(dev->dev, &hdr_daddrs[i], dir); in rds_dma_hdrs_alloc()
488 if (!hdrs[i]) { in rds_dma_hdrs_alloc()
489 rds_dma_hdrs_free(dev, hdrs, hdr_daddrs, i, dir); in rds_dma_hdrs_alloc()
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2562 struct pedit_headers_action *hdrs) in set_pedit_val() argument
2566 curr_pmask = (u32 *)(pedit_header(&hdrs->masks, hdr_type) + offset); in set_pedit_val()
2567 curr_pval = (u32 *)(pedit_header(&hdrs->vals, hdr_type) + offset); in set_pedit_val()
2686 struct pedit_headers_action *hdrs, in offload_pedit_fields() argument
2705 set_masks = &hdrs[0].masks; in offload_pedit_fields()
2706 add_masks = &hdrs[1].masks; in offload_pedit_fields()
2707 set_vals = &hdrs[0].vals; in offload_pedit_fields()
2708 add_vals = &hdrs[1].vals; in offload_pedit_fields()
2877 struct pedit_headers_action *hdrs, in parse_pedit_to_modify_hdr() argument
2903 err = set_pedit_val(htype, ~mask, val, offset, &hdrs[cmd]); in parse_pedit_to_modify_hdr()
[all …]
/Linux-v5.15/drivers/misc/mei/
Dhw.h252 u8 hdrs[]; member
281 return (struct mei_ext_hdr *)meta->hdrs; in mei_ext_begin()
Dclient.c1787 meta->size += mei_ext_hdr_set_vtag(meta->hdrs, cb->vtag); in mei_msg_hdr_init()
/Linux-v5.15/drivers/usb/serial/
Dxr_serial.c866 struct usb_cdc_parsed_header hdrs; in xr_probe() local
871 ret = cdc_parse_cdc_header(&hdrs, control, alt->extra, alt->extralen); in xr_probe()
875 desc = hdrs.usb_cdc_union_desc; in xr_probe()
/Linux-v5.15/drivers/scsi/qedi/
Dqedi_iscsi.c485 u16 hdrs = TCP_HDR_LEN; in qedi_calc_mss() local
488 hdrs += IPV6_HDR_LEN; in qedi_calc_mss()
490 hdrs += IPV4_HDR_LEN; in qedi_calc_mss()
492 mss = pmtu - hdrs; in qedi_calc_mss()
/Linux-v5.15/net/netfilter/
Dnf_conntrack_sip.c733 const struct sip_header *hdrs, *hdr, *thdr; in ct_sip_get_sdp_header() local
737 hdrs = nf_ct_l3num(ct) == NFPROTO_IPV4 ? ct_sdp_hdrs_v4 : ct_sdp_hdrs_v6; in ct_sip_get_sdp_header()
738 hdr = &hdrs[type]; in ct_sip_get_sdp_header()
739 thdr = &hdrs[term]; in ct_sip_get_sdp_header()
/Linux-v5.15/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c1225 unsigned short hdrs; in cxgbit_pass_accept_req() local
1311 hdrs = (iptype == 4 ? sizeof(struct iphdr) : sizeof(struct ipv6hdr)) + in cxgbit_pass_accept_req()
1313 if (peer_mss && csk->mtu > (peer_mss + hdrs)) in cxgbit_pass_accept_req()
1314 csk->mtu = peer_mss + hdrs; in cxgbit_pass_accept_req()
/Linux-v5.15/net/ipv6/
Dah6.c39 char hdrs[]; member
/Linux-v5.15/drivers/net/ethernet/ibm/
Dibmvnic.c1699 u8 *hdrs = (u8 *)&adapter->tx_rx_desc_req; in ibmvnic_xmit() local
1833 hdrs += 2; in ibmvnic_xmit()
1838 hdrs += 2; in ibmvnic_xmit()
1841 if ((*hdrs >> 7) & 1) in ibmvnic_xmit()
1842 build_hdr_descs_arr(skb, indir_arr, &num_entries, *hdrs); in ibmvnic_xmit()
/Linux-v5.15/drivers/infiniband/hw/cxgb4/
Dcm.c2527 unsigned short hdrs; in pass_accept_req() local
2591 hdrs = ((iptype == 4) ? sizeof(struct iphdr) : sizeof(struct ipv6hdr)) + in pass_accept_req()
2594 if (peer_mss && child_ep->mtu > (peer_mss + hdrs)) in pass_accept_req()
2595 child_ep->mtu = peer_mss + hdrs; in pass_accept_req()