Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c83 if (fltr->ip_mask.l4_header && in iavf_validate_fdir_fltr_masks()
84 fltr->ip_mask.l4_header != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks()
545 if (fltr->ip_data.proto == 115 && fltr->ip_mask.l4_header == htonl(U32_MAX)) { in iavf_fill_fdir_l4_hdr()
549 *l4_4_data = fltr->ip_data.l4_header; in iavf_fill_fdir_l4_hdr()
744 ntohl(fltr->ip_data.l4_header)); in iavf_print_fdir_fltr()
772 ntohl(fltr->ip_data.l4_header)); in iavf_print_fdir_fltr()
Diavf_fdir.h69 __be32 l4_header; /* first 4 bytes of the layer 4 header */ member
Diavf_ethtool.c1119 fsp->h_u.usr_ip4_spec.l4_4_bytes = rule->ip_data.l4_header; in iavf_get_ethtool_fdir_entry()
1125 fsp->m_u.usr_ip4_spec.l4_4_bytes = rule->ip_mask.l4_header; in iavf_get_ethtool_fdir_entry()
1168 fsp->h_u.usr_ip6_spec.l4_4_bytes = rule->ip_data.l4_header; in iavf_get_ethtool_fdir_entry()
1175 fsp->m_u.usr_ip6_spec.l4_4_bytes = rule->ip_mask.l4_header; in iavf_get_ethtool_fdir_entry()
1309 fltr->ip_data.l4_header = fsp->h_u.usr_ip4_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
1314 fltr->ip_mask.l4_header = fsp->m_u.usr_ip4_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
1359 fltr->ip_data.l4_header = fsp->h_u.usr_ip6_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
1366 fltr->ip_mask.l4_header = fsp->m_u.usr_ip6_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
/Linux-v6.6/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()
/Linux-v6.6/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()