Home
last modified time | relevance | path

Searched refs:ether_spec (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/intel/igc/
Digc_ethtool.c899 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 …]
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2472 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 …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c293 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()
/Linux-v5.4/include/uapi/linux/
Dethtool.h865 struct ethhdr ether_spec; member
1100 struct ethhdr ether_spec; member
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c360 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()
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
Dethtool.c796 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()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c451 err = prep_eth_rule(&fs->h_u.ether_spec, &fs->m_u.ether_spec, in prep_cls_rule()
/Linux-v5.4/drivers/net/ethernet/sfc/
Dethtool.c819 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()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5139 struct ethhdr *ether_spec; in hclge_fd_check_spec() local
5252 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 …]
/Linux-v5.4/net/core/
Dethtool.c2895 const struct ethhdr *ether_spec, *ether_m_spec; in ethtool_rx_flow_rule_create() local
2897 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()
/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.c137 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()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1357 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()
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/
Dchip.c1578 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()