Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/iavf/
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()
Diavf_ethtool.c1112 fsp->h_u.usr_ip4_spec.l4_4_bytes = rule->ip_data.l4_header; in iavf_get_ethtool_fdir_entry()
1118 fsp->m_u.usr_ip4_spec.l4_4_bytes = rule->ip_mask.l4_header; in iavf_get_ethtool_fdir_entry()
1161 fsp->h_u.usr_ip6_spec.l4_4_bytes = rule->ip_data.l4_header; in iavf_get_ethtool_fdir_entry()
1168 fsp->m_u.usr_ip6_spec.l4_4_bytes = rule->ip_mask.l4_header; in iavf_get_ethtool_fdir_entry()
1302 fltr->ip_data.l4_header = fsp->h_u.usr_ip4_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
1307 fltr->ip_mask.l4_header = fsp->m_u.usr_ip4_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
1352 fltr->ip_data.l4_header = fsp->h_u.usr_ip6_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
1359 fltr->ip_mask.l4_header = fsp->m_u.usr_ip6_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
Diavf_fdir.h82 __be32 l4_header; /* first 4 bytes of the layer 4 header */ member
/drivers/net/ethernet/intel/ice/
Dice_fdir.h105 __be32 l4_header; member
120 __be32 l4_header; /* next header */ member
Dice_ethtool_fdir.c143 fsp->h_u.usr_ip4_spec.l4_4_bytes = rule->ip.v4.l4_header; in ice_get_ethtool_fdir_entry()
151 fsp->m_u.usr_ip4_spec.l4_4_bytes = rule->mask.v4.l4_header; in ice_get_ethtool_fdir_entry()
167 fsp->h_u.usr_ip6_spec.l4_4_bytes = rule->ip.v6.l4_header; in ice_get_ethtool_fdir_entry()
178 fsp->m_u.usr_ip6_spec.l4_4_bytes = rule->mask.v6.l4_header; in ice_get_ethtool_fdir_entry()
1773 input->ip.v4.l4_header = fsp->h_u.usr_ip4_spec.l4_4_bytes; in ice_set_fdir_input_set()
1779 input->mask.v4.l4_header = fsp->m_u.usr_ip4_spec.l4_4_bytes; in ice_set_fdir_input_set()
1807 input->ip.v6.l4_header = fsp->h_u.usr_ip6_spec.l4_4_bytes; in ice_set_fdir_input_set()
1820 input->mask.v6.l4_header = fsp->m_u.usr_ip6_spec.l4_4_bytes; in ice_set_fdir_input_set()
Dice_fdir.c1239 a->ip.v4.l4_header == b->ip.v4.l4_header && in ice_fdir_comp_rules()
/drivers/net/ethernet/mellanox/mlx4/
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()