Home
last modified time | relevance | path

Searched refs:l4_header (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.c84 if (fltr->ip_mask.l4_header && in iavf_validate_fdir_fltr_masks()
85 fltr->ip_mask.l4_header != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks()
546 if (fltr->ip_data.proto == 115 && fltr->ip_mask.l4_header == htonl(U32_MAX)) { in iavf_fill_fdir_l4_hdr()
550 *l4_4_data = fltr->ip_data.l4_header; in iavf_fill_fdir_l4_hdr()
745 ntohl(fltr->ip_data.l4_header)); in iavf_print_fdir_fltr()
773 ntohl(fltr->ip_data.l4_header)); in iavf_print_fdir_fltr()
H A Diavf_ethtool.c970 fsp->h_u.usr_ip4_spec.l4_4_bytes = rule->ip_data.l4_header; in iavf_get_ethtool_fdir_entry()
976 fsp->m_u.usr_ip4_spec.l4_4_bytes = rule->ip_mask.l4_header; in iavf_get_ethtool_fdir_entry()
1019 fsp->h_u.usr_ip6_spec.l4_4_bytes = rule->ip_data.l4_header; in iavf_get_ethtool_fdir_entry()
1026 fsp->m_u.usr_ip6_spec.l4_4_bytes = rule->ip_mask.l4_header; in iavf_get_ethtool_fdir_entry()
1163 fltr->ip_data.l4_header = fsp->h_u.usr_ip4_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
1168 fltr->ip_mask.l4_header = fsp->m_u.usr_ip4_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
1213 fltr->ip_data.l4_header = fsp->h_u.usr_ip6_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
1220 fltr->ip_mask.l4_header = fsp->m_u.usr_ip6_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
H A Diavf_fdir.h82 __be32 l4_header; /* first 4 bytes of the layer 4 header */ member
/linux/drivers/net/ethernet/intel/ice/
H A Dice_fdir.h110 __be32 l4_header; member
125 __be32 l4_header; /* next header */ member
H A Dice_ethtool_fdir.c151 fsp->h_u.usr_ip4_spec.l4_4_bytes = rule->ip.v4.l4_header; in ice_get_ethtool_fdir_entry()
159 fsp->m_u.usr_ip4_spec.l4_4_bytes = rule->mask.v4.l4_header; in ice_get_ethtool_fdir_entry()
175 fsp->h_u.usr_ip6_spec.l4_4_bytes = rule->ip.v6.l4_header; in ice_get_ethtool_fdir_entry()
186 fsp->m_u.usr_ip6_spec.l4_4_bytes = rule->mask.v6.l4_header; in ice_get_ethtool_fdir_entry()
1910 input->ip.v4.l4_header = fsp->h_u.usr_ip4_spec.l4_4_bytes; in ice_set_fdir_input_set()
1916 input->mask.v4.l4_header = fsp->m_u.usr_ip4_spec.l4_4_bytes; in ice_set_fdir_input_set()
1944 input->ip.v6.l4_header = fsp->h_u.usr_ip6_spec.l4_4_bytes; in ice_set_fdir_input_set()
1957 input->mask.v6.l4_header = fsp->m_u.usr_ip6_spec.l4_4_bytes; in ice_set_fdir_input_set()
H A Dice_fdir.c1242 a->ip.v4.l4_header == b->ip.v4.l4_header && in ice_fdir_comp_rules()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c4234 struct mlx4_net_trans_rule_hw_tcp_udp *l4_header; in add_eth_header() local
4248 sizeof(*ip_header) + sizeof(*l4_header)); in add_eth_header()
4252 l4_header = (struct mlx4_net_trans_rule_hw_tcp_udp *) in add_eth_header()
4254 memmove(l4_header, eth_header, sizeof(*l4_header)); in add_eth_header()