| /drivers/net/ethernet/intel/ice/ |
| A D | ice_flow.c | 735 u32 hdrs; in ice_flow_proc_seg_hdrs() local 737 hdrs = prof->segs[i].hdrs; in ice_flow_proc_seg_hdrs() 739 if (hdrs & ICE_FLOW_SEG_HDR_ETH) { in ice_flow_proc_seg_hdrs() 758 if ((hdrs & ICE_FLOW_SEG_HDR_IPV4) && in ice_flow_proc_seg_hdrs() 808 if (hdrs & ICE_FLOW_SEG_HDR_UDP) { in ice_flow_proc_seg_hdrs() 822 if (hdrs & ICE_FLOW_SEG_HDR_ICMP) { in ice_flow_proc_seg_hdrs() 887 if (hdrs & ICE_FLOW_SEG_HDR_PFCP) { in ice_flow_proc_seg_hdrs() 1302 if (segs[i].hdrs != p->segs[i].hdrs || in ice_flow_find_prof_conds() 2109 if (s->hdrs & ICE_FLOW_SEG_HDR_IPV4) in ice_get_rss_hdr_type() 2111 if (s->hdrs & ICE_FLOW_SEG_HDR_IPV6) in ice_get_rss_hdr_type() [all …]
|
| A D | ice_ethtool.c | 2803 u32 hdrs = ICE_FLOW_SEG_HDR_NONE; in ice_parse_hdrs() local 2807 hdrs |= ICE_FLOW_SEG_HDR_TCP | ICE_FLOW_SEG_HDR_IPV4; in ice_parse_hdrs() 2810 hdrs |= ICE_FLOW_SEG_HDR_UDP | ICE_FLOW_SEG_HDR_IPV4; in ice_parse_hdrs() 2863 return hdrs; in ice_parse_hdrs() 2976 u32 hdrs; in ice_set_rxfh_fields() local 2993 hdrs = ice_parse_hdrs(nfc); in ice_set_rxfh_fields() 2994 if (hdrs == ICE_FLOW_SEG_HDR_NONE) { in ice_set_rxfh_fields() 3001 cfg.addl_hdrs = hdrs; in ice_set_rxfh_fields() 3024 u32 hdrs; in ice_get_rxfh_fields() local 3035 hdrs = ice_parse_hdrs(nfc); in ice_get_rxfh_fields() [all …]
|
| A D | ice_flow.h | 326 #define ICE_FLOW_SET_HDRS(seg, val) ((seg)->hdrs |= (u32)(val)) 367 u32 hdrs; /* Bitmask indicating protocol headers present */ member 446 u64 ice_get_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u32 hdrs, bool *symm);
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
| A D | pedit.c | 22 struct pedit_headers_action *hdrs, 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() 48 struct pedit_headers_action *hdrs, in mlx5e_tc_act_pedit_parse_action() argument 71 err = set_pedit_val(htype, ~mask, val, offset, &hdrs[cmd], extack); in mlx5e_tc_act_pedit_parse_action() 75 hdrs[cmd].pedits++; in mlx5e_tc_act_pedit_parse_action() 95 err = mlx5e_tc_act_pedit_parse_action(flow->priv, act, ns_type, attr->parse_attr->hdrs, in tc_act_parse_pedit()
|
| A D | pedit.h | 27 struct pedit_headers_action *hdrs,
|
| A D | vlan_mangle.c | 46 err = mlx5e_tc_act_pedit_parse_action(priv, &pedit_act, namespace, parse_attr->hdrs, in mlx5e_tc_act_vlan_add_rewrite_action()
|
| /drivers/net/ethernet/intel/idpf/ |
| A D | idpf_ethtool.c | 76 iph = (struct iphdr *)hdrs->proto_hdr[0].buffer_spec; in idpf_fsteer_fill_ipv4() 80 iph = (struct iphdr *)hdrs->proto_hdr[0].buffer_mask; in idpf_fsteer_fill_ipv4() 93 udph = (struct udphdr *)hdrs->proto_hdr[1].buffer_spec; in idpf_fsteer_fill_udp() 151 struct virtchnl2_proto_hdrs *hdrs; in idpf_add_flow_steer() local 186 hdrs = &info->rule_cfg.proto_hdrs; in idpf_add_flow_steer() 187 hdrs->tunnel_level = 0; in idpf_add_flow_steer() 188 hdrs->count = cpu_to_le32(2); in idpf_add_flow_steer() 197 idpf_fsteer_fill_ipv4(hdrs, fsp); in idpf_add_flow_steer() 198 idpf_fsteer_fill_udp(hdrs, fsp, true); in idpf_add_flow_steer() 201 idpf_fsteer_fill_ipv4(hdrs, fsp); in idpf_add_flow_steer() [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| A D | action.c | 921 if (hdrs[i].sz % W_SIZE != 0) { in hws_action_handle_insert_with_ptr() 926 max_sz = max(hdrs[i].sz, max_sz); in hws_action_handle_insert_with_ptr() 931 hdrs->data, in hws_action_handle_insert_with_ptr() 941 action[i].reformat.header_size = hdrs[i].sz; in hws_action_handle_insert_with_ptr() 988 hdrs, in hws_action_handle_l2_to_tunnel_l3() 1485 if (hdrs[i].offset % W_SIZE != 0) { in mlx5hws_action_create_insert_header() 1490 action[i].reformat.anchor = hdrs[i].anchor; in mlx5hws_action_create_insert_header() 1491 action[i].reformat.encap = hdrs[i].encap; in mlx5hws_action_create_insert_header() 1492 action[i].reformat.offset = hdrs[i].offset; in mlx5hws_action_create_insert_header() 1494 reformat_hdrs[i].sz = hdrs[i].hdr.sz; in mlx5hws_action_create_insert_header() [all …]
|
| A D | mlx5hws.h | 668 struct mlx5hws_action_reformat_header *hdrs, 761 struct mlx5hws_action_insert_header *hdrs,
|
| /drivers/net/ethernet/intel/iavf/ |
| A D | iavf_ethtool.c | 1316 hdrs |= IAVF_ADV_RSS_FLOW_SEG_HDR_TCP | in iavf_adv_rss_parse_hdrs() 1320 hdrs |= IAVF_ADV_RSS_FLOW_SEG_HDR_UDP | in iavf_adv_rss_parse_hdrs() 1324 hdrs |= IAVF_ADV_RSS_FLOW_SEG_HDR_SCTP | in iavf_adv_rss_parse_hdrs() 1328 hdrs |= IAVF_ADV_RSS_FLOW_SEG_HDR_TCP | in iavf_adv_rss_parse_hdrs() 1332 hdrs |= IAVF_ADV_RSS_FLOW_SEG_HDR_UDP | in iavf_adv_rss_parse_hdrs() 1343 return hdrs; in iavf_adv_rss_parse_hdrs() 1416 u32 hdrs; in iavf_set_rxfh_fields() local 1425 hdrs = iavf_adv_rss_parse_hdrs(cmd); in iavf_set_rxfh_fields() 1461 rss_new->packet_hdrs = hdrs; in iavf_set_rxfh_fields() 1483 u32 hdrs; in iavf_get_rxfh_fields() local [all …]
|
| A D | iavf_main.c | 4223 struct virtchnl_proto_hdrs *hdrs; in iavf_add_cls_u32() local 4242 hdrs = &rule_cfg->proto_hdrs; in iavf_add_cls_u32() 4243 hdrs->count = 0; in iavf_add_cls_u32() 4250 spec_h = (struct ethhdr *)hdrs->raw.spec; in iavf_add_cls_u32() 4251 mask_h = (struct ethhdr *)hdrs->raw.mask; in iavf_add_cls_u32() 4270 if (off >= sizeof(hdrs->raw.spec)) { in iavf_add_cls_u32() 4276 memcpy(&hdrs->raw.spec[off], &val, sizeof(val)); in iavf_add_cls_u32() 4277 memcpy(&hdrs->raw.mask[off], &mask, sizeof(mask)); in iavf_add_cls_u32() 4278 hdrs->raw.pkt_len = off + sizeof(val); in iavf_add_cls_u32()
|
| /drivers/misc/mei/ |
| A D | hw.h | 267 u8 hdrs[]; member 295 return (struct mei_ext_hdr *)meta->hdrs; in mei_ext_begin()
|
| A D | client.c | 1788 next_ext = (struct mei_ext_hdr *)meta->hdrs; in mei_msg_hdr_init()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | tc_priv.h | 40 struct pedit_headers_action hdrs[__PEDIT_CMD_MAX]; member
|
| /drivers/usb/serial/ |
| A D | xr_serial.c | 954 struct usb_cdc_parsed_header hdrs; in xr_probe() local 959 ret = cdc_parse_cdc_header(&hdrs, control, alt->extra, alt->extralen); in xr_probe() 963 desc = hdrs.usb_cdc_union_desc; in xr_probe()
|
| /drivers/scsi/qedi/ |
| A D | qedi_iscsi.c | 486 u16 hdrs = TCP_HDR_LEN; in qedi_calc_mss() local 489 hdrs += IPV6_HDR_LEN; in qedi_calc_mss() 491 hdrs += IPV4_HDR_LEN; in qedi_calc_mss() 493 mss = pmtu - hdrs; in qedi_calc_mss()
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | en_tc.c | 3313 struct pedit_headers_action *hdrs = parse_attr->hdrs; in offload_pedit_fields() local 3327 set_masks = &hdrs[TCA_PEDIT_KEY_EX_CMD_SET].masks; in offload_pedit_fields() 3328 add_masks = &hdrs[TCA_PEDIT_KEY_EX_CMD_ADD].masks; in offload_pedit_fields() 3329 set_vals = &hdrs[TCA_PEDIT_KEY_EX_CMD_SET].vals; in offload_pedit_fields() 3330 add_vals = &hdrs[TCA_PEDIT_KEY_EX_CMD_ADD].vals; in offload_pedit_fields() 3441 cmd_masks = &parse_attr->hdrs[cmd].masks; in verify_offload_pedit_fields() 3631 struct pedit_headers_action *hdrs = parse_attr->hdrs; in actions_prepare_mod_hdr_actions() local 3635 if (!hdrs[TCA_PEDIT_KEY_EX_CMD_SET].pedits && in actions_prepare_mod_hdr_actions() 3636 !hdrs[TCA_PEDIT_KEY_EX_CMD_ADD].pedits) in actions_prepare_mod_hdr_actions()
|
| /drivers/target/iscsi/cxgbit/ |
| A D | cxgbit_cm.c | 1226 unsigned short hdrs; in cxgbit_pass_accept_req() local 1312 hdrs = (iptype == 4 ? sizeof(struct iphdr) : sizeof(struct ipv6hdr)) + in cxgbit_pass_accept_req() 1314 if (peer_mss && csk->mtu > (peer_mss + hdrs)) in cxgbit_pass_accept_req() 1315 csk->mtu = peer_mss + hdrs; in cxgbit_pass_accept_req()
|
| /drivers/net/ethernet/ibm/ |
| A D | ibmvnic.c | 2395 u8 *hdrs = (u8 *)&adapter->tx_rx_desc_req; in ibmvnic_xmit() local 2482 if (*hdrs == 0 && !skb_is_gso(skb) && in ibmvnic_xmit() 2566 hdrs += 2; in ibmvnic_xmit() 2571 hdrs += 2; in ibmvnic_xmit() 2587 if ((*hdrs >> 7) & 1) in ibmvnic_xmit() 2588 build_hdr_descs_arr(skb, indir_arr, &num_entries, *hdrs); in ibmvnic_xmit()
|
| /drivers/infiniband/hw/cxgb4/ |
| A D | cm.c | 2528 unsigned short hdrs; in pass_accept_req() local 2592 hdrs = ((iptype == 4) ? sizeof(struct iphdr) : sizeof(struct ipv6hdr)) + in pass_accept_req() 2595 if (peer_mss && child_ep->mtu > (peer_mss + hdrs)) in pass_accept_req() 2596 child_ep->mtu = peer_mss + hdrs; in pass_accept_req()
|