Searched refs:ether_spec (Results 1 – 13 of 13) sorted by relevance
899 fsp->h_u.ether_spec.h_proto = rule->filter.etype; in igc_get_ethtool_nfc_entry()900 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igc_get_ethtool_nfc_entry()908 ether_addr_copy(fsp->h_u.ether_spec.h_dest, in igc_get_ethtool_nfc_entry()913 eth_broadcast_addr(fsp->m_u.ether_spec.h_dest); in igc_get_ethtool_nfc_entry()916 ether_addr_copy(fsp->h_u.ether_spec.h_source, in igc_get_ethtool_nfc_entry()921 eth_broadcast_addr(fsp->m_u.ether_spec.h_source); in igc_get_ethtool_nfc_entry()1382 if (fsp->m_u.ether_spec.h_proto == ETHER_TYPE_FULL_MASK) { in igc_add_ethtool_nfc_entry()1383 input->filter.etype = fsp->h_u.ether_spec.h_proto; in igc_add_ethtool_nfc_entry()1388 if (is_broadcast_ether_addr(fsp->m_u.ether_spec.h_source)) { in igc_add_ethtool_nfc_entry()1391 fsp->h_u.ether_spec.h_source); in igc_add_ethtool_nfc_entry()[all …]
2472 fsp->h_u.ether_spec.h_proto = rule->filter.etype; in igb_get_ethtool_nfc_entry()2473 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igb_get_ethtool_nfc_entry()2481 ether_addr_copy(fsp->h_u.ether_spec.h_dest, in igb_get_ethtool_nfc_entry()2486 eth_broadcast_addr(fsp->m_u.ether_spec.h_dest); in igb_get_ethtool_nfc_entry()2489 ether_addr_copy(fsp->h_u.ether_spec.h_source, in igb_get_ethtool_nfc_entry()2494 eth_broadcast_addr(fsp->m_u.ether_spec.h_source); in igb_get_ethtool_nfc_entry()2947 if (fsp->m_u.ether_spec.h_proto == ETHER_TYPE_FULL_MASK) { in igb_add_ethtool_nfc_entry()2948 input->filter.etype = fsp->h_u.ether_spec.h_proto; in igb_add_ethtool_nfc_entry()2953 if (is_broadcast_ether_addr(fsp->m_u.ether_spec.h_source)) { in igb_add_ethtool_nfc_entry()2956 fsp->h_u.ether_spec.h_source); in igb_add_ethtool_nfc_entry()[all …]
293 struct ethhdr *eth_mask = &fs->m_u.ether_spec; in parse_ether()294 struct ethhdr *eth_val = &fs->h_u.ether_spec; in parse_ether()501 struct ethhdr *eth_mask = &fs->m_u.ether_spec; in validate_ethter()
865 struct ethhdr ether_spec; member1100 struct ethhdr ether_spec; member
360 eth_h = &fs->h_u.ether_spec; in enetc_set_cls_entry()361 eth_m = &fs->m_u.ether_spec; in enetc_set_cls_entry()
796 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in ef4_ethtool_get_class_rule()797 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in ef4_ethtool_get_class_rule()1032 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in ef4_ethtool_set_class_rule()1033 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in ef4_ethtool_set_class_rule()
451 err = prep_eth_rule(&fs->h_u.ether_spec, &fs->m_u.ether_spec, in prep_cls_rule()
819 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_get_class_rule()820 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_get_class_rule()1089 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_set_class_rule()1090 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_set_class_rule()
5139 struct ethhdr *ether_spec; in hclge_fd_check_spec() local5252 ether_spec = &fs->h_u.ether_spec; in hclge_fd_check_spec()5257 if (is_zero_ether_addr(ether_spec->h_source)) in hclge_fd_check_spec()5260 if (is_zero_ether_addr(ether_spec->h_dest)) in hclge_fd_check_spec()5263 if (!ether_spec->h_proto) in hclge_fd_check_spec()5467 fs->h_u.ether_spec.h_source); in hclge_fd_get_tuple()5469 fs->m_u.ether_spec.h_source); in hclge_fd_get_tuple()5472 fs->h_u.ether_spec.h_dest); in hclge_fd_get_tuple()5474 fs->m_u.ether_spec.h_dest); in hclge_fd_get_tuple()5477 be16_to_cpu(fs->h_u.ether_spec.h_proto); in hclge_fd_get_tuple()[all …]
2895 const struct ethhdr *ether_spec, *ether_m_spec; in ethtool_rx_flow_rule_create() local2897 ether_spec = &fs->h_u.ether_spec; in ethtool_rx_flow_rule_create()2898 ether_m_spec = &fs->m_u.ether_spec; in ethtool_rx_flow_rule_create()2902 ether_spec->h_source); in ethtool_rx_flow_rule_create()2908 ether_spec->h_dest); in ethtool_rx_flow_rule_create()2913 match->key.basic.n_proto = ether_spec->h_proto; in ethtool_rx_flow_rule_create()
137 fsp->m_u.ether_spec.h_proto == 0U) { in aq_check_approve_fl2()315 data->ethertype = be16_to_cpu(fsp->h_u.ether_spec.h_proto); in aq_set_data_fl2()
1357 eth_mask = &cmd->fs.m_u.ether_spec; in mlx4_en_validate_flow()1563 eth_spec = &cmd->fs.h_u.ether_spec; in mlx4_en_ethtool_to_net_trans_rule()
1578 struct ethhdr *mac_entry = &fs->h_u.ether_spec; in mv88e6xxx_policy_insert()1579 struct ethhdr *mac_mask = &fs->m_u.ether_spec; in mv88e6xxx_policy_insert()