Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_flows.c771 struct ethhdr *eth_mask = &fsp->m_u.ether_spec; in otx2_prepare_flow_request()
772 struct ethhdr *eth_hdr = &fsp->h_u.ether_spec; in otx2_prepare_flow_request()
878 struct ethhdr *eth_mask = &fsp->m_u.ether_spec; in otx2_is_flow_rule_dmacfilter()
879 struct ethhdr *eth_hdr = &fsp->h_u.ether_spec; in otx2_is_flow_rule_dmacfilter()
1005 eth_hdr = &pf_mac->flow_spec.h_u.ether_spec; in otx2_add_flow_with_pfmac()
1060 eth_hdr = &flow->flow_spec.h_u.ether_spec; in otx2_add_flow()
1153 eth_hdr = &iter->flow_spec.h_u.ether_spec; in otx2_update_rem_pfmac()
1189 struct ethhdr *eth_hdr = &flow->flow_spec.h_u.ether_spec; in otx2_remove_flow()
1423 eth_hdr = &iter->flow_spec.h_u.ether_spec; in otx2_dmacflt_reinstall_flows()
/linux-5.19.10/drivers/net/ethernet/intel/igc/
Digc_ethtool.c970 fsp->h_u.ether_spec.h_proto = htons(rule->filter.etype); in igc_ethtool_get_nfc_rule()
971 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igc_ethtool_get_nfc_rule()
981 ether_addr_copy(fsp->h_u.ether_spec.h_dest, in igc_ethtool_get_nfc_rule()
983 eth_broadcast_addr(fsp->m_u.ether_spec.h_dest); in igc_ethtool_get_nfc_rule()
987 ether_addr_copy(fsp->h_u.ether_spec.h_source, in igc_ethtool_get_nfc_rule()
989 eth_broadcast_addr(fsp->m_u.ether_spec.h_source); in igc_ethtool_get_nfc_rule()
1215 if (fsp->m_u.ether_spec.h_proto == ETHER_TYPE_FULL_MASK) { in igc_ethtool_init_nfc_rule()
1216 rule->filter.etype = ntohs(fsp->h_u.ether_spec.h_proto); in igc_ethtool_init_nfc_rule()
1223 if (is_broadcast_ether_addr(fsp->m_u.ether_spec.h_source)) { in igc_ethtool_init_nfc_rule()
1226 fsp->h_u.ether_spec.h_source); in igc_ethtool_init_nfc_rule()
[all …]
/linux-5.19.10/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2454 fsp->h_u.ether_spec.h_proto = rule->filter.etype; in igb_get_ethtool_nfc_entry()
2455 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igb_get_ethtool_nfc_entry()
2463 ether_addr_copy(fsp->h_u.ether_spec.h_dest, in igb_get_ethtool_nfc_entry()
2468 eth_broadcast_addr(fsp->m_u.ether_spec.h_dest); in igb_get_ethtool_nfc_entry()
2471 ether_addr_copy(fsp->h_u.ether_spec.h_source, in igb_get_ethtool_nfc_entry()
2476 eth_broadcast_addr(fsp->m_u.ether_spec.h_source); in igb_get_ethtool_nfc_entry()
2929 if (fsp->m_u.ether_spec.h_proto == ETHER_TYPE_FULL_MASK) { in igb_add_ethtool_nfc_entry()
2930 input->filter.etype = fsp->h_u.ether_spec.h_proto; in igb_add_ethtool_nfc_entry()
2935 if (is_broadcast_ether_addr(fsp->m_u.ether_spec.h_source)) { in igb_add_ethtool_nfc_entry()
2938 fsp->h_u.ether_spec.h_source); in igb_add_ethtool_nfc_entry()
[all …]
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c304 struct ethhdr *eth_mask = &fs->m_u.ether_spec; in parse_ether()
305 struct ethhdr *eth_val = &fs->h_u.ether_spec; in parse_ether()
552 struct ethhdr *eth_mask = &fs->m_u.ether_spec; in validate_ethter()
/linux-5.19.10/drivers/net/ethernet/sfc/
Dethtool_common.c655 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_get_class_rule()
656 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_get_class_rule()
928 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_set_class_rule()
929 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_set_class_rule()
/linux-5.19.10/drivers/net/ethernet/sfc/falcon/
Dethtool.c803 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in ef4_ethtool_get_class_rule()
804 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in ef4_ethtool_get_class_rule()
1039 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in ef4_ethtool_set_class_rule()
1040 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in ef4_ethtool_set_class_rule()
/linux-5.19.10/drivers/net/ethernet/sfc/siena/
Dethtool_common.c656 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_get_class_rule()
657 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_get_class_rule()
930 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_set_class_rule()
931 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_set_class_rule()
/linux-5.19.10/include/uapi/linux/
Dethtool.h997 struct ethhdr ether_spec; member
1234 struct ethhdr ether_spec; member
/linux-5.19.10/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c633 &fs->h_u.ether_spec.h_dest, in bcmgenet_hfb_create_rxnfc_filter()
634 &fs->m_u.ether_spec.h_dest, in bcmgenet_hfb_create_rxnfc_filter()
635 sizeof(fs->h_u.ether_spec.h_dest)); in bcmgenet_hfb_create_rxnfc_filter()
637 &fs->h_u.ether_spec.h_source, in bcmgenet_hfb_create_rxnfc_filter()
638 &fs->m_u.ether_spec.h_source, in bcmgenet_hfb_create_rxnfc_filter()
639 sizeof(fs->h_u.ether_spec.h_source)); in bcmgenet_hfb_create_rxnfc_filter()
641 &fs->h_u.ether_spec.h_proto, in bcmgenet_hfb_create_rxnfc_filter()
642 &fs->m_u.ether_spec.h_proto, in bcmgenet_hfb_create_rxnfc_filter()
643 sizeof(fs->h_u.ether_spec.h_proto)); in bcmgenet_hfb_create_rxnfc_filter()
1411 eth_mask = &cmd->fs.m_u.ether_spec; in bcmgenet_validate_flow()
/linux-5.19.10/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c1174 fsp->h_u.ether_spec.h_proto = rule->eth_data.etype; in iavf_get_ethtool_fdir_entry()
1175 fsp->m_u.ether_spec.h_proto = rule->eth_mask.etype; in iavf_get_ethtool_fdir_entry()
1360 fltr->eth_data.etype = fsp->h_u.ether_spec.h_proto; in iavf_add_fdir_fltr_info()
1361 fltr->eth_mask.etype = fsp->m_u.ether_spec.h_proto; in iavf_add_fdir_fltr_info()
/linux-5.19.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c499 err = dpaa2_eth_prep_eth_rule(&fs->h_u.ether_spec, &fs->m_u.ether_spec, in dpaa2_eth_prep_cls_rule()
/linux-5.19.10/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c391 eth_h = &fs->h_u.ether_spec; in enetc_set_cls_entry()
392 eth_m = &fs->m_u.ether_spec; in enetc_set_cls_entry()
/linux-5.19.10/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.c142 fsp->m_u.ether_spec.h_proto == 0U) { in aq_check_approve_fl2()
323 data->ethertype = be16_to_cpu(fsp->h_u.ether_spec.h_proto); in aq_set_data_fl2()
/linux-5.19.10/net/ethtool/
Dioctl.c3129 const struct ethhdr *ether_spec, *ether_m_spec; in ethtool_rx_flow_rule_create() local
3131 ether_spec = &fs->h_u.ether_spec; in ethtool_rx_flow_rule_create()
3132 ether_m_spec = &fs->m_u.ether_spec; in ethtool_rx_flow_rule_create()
3136 ether_spec->h_source); in ethtool_rx_flow_rule_create()
3142 ether_spec->h_dest); in ethtool_rx_flow_rule_create()
3147 match->key.basic.n_proto = ether_spec->h_proto; in ethtool_rx_flow_rule_create()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1385 eth_mask = &cmd->fs.m_u.ether_spec; in mlx4_en_validate_flow()
1590 eth_spec = &cmd->fs.h_u.ether_spec; in mlx4_en_ethtool_to_net_trans_rule()
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c6014 ret = hclge_fd_check_ether_tuple(&fs->h_u.ether_spec, in hclge_fd_check_spec()
6146 ether_addr_copy(rule->tuples.src_mac, fs->h_u.ether_spec.h_source); in hclge_fd_get_ether_tuple()
6147 ether_addr_copy(rule->tuples_mask.src_mac, fs->m_u.ether_spec.h_source); in hclge_fd_get_ether_tuple()
6149 ether_addr_copy(rule->tuples.dst_mac, fs->h_u.ether_spec.h_dest); in hclge_fd_get_ether_tuple()
6150 ether_addr_copy(rule->tuples_mask.dst_mac, fs->m_u.ether_spec.h_dest); in hclge_fd_get_ether_tuple()
6152 rule->tuples.ether_proto = be16_to_cpu(fs->h_u.ether_spec.h_proto); in hclge_fd_get_ether_tuple()
6153 rule->tuples_mask.ether_proto = be16_to_cpu(fs->m_u.ether_spec.h_proto); in hclge_fd_get_ether_tuple()
6672 eth_zero_addr(fs->m_u.ether_spec.h_dest); in hclge_fd_get_ext_info()
6674 ether_addr_copy(fs->m_u.ether_spec.h_dest, in hclge_fd_get_ext_info()
6758 hclge_fd_get_ether_info(rule, &fs->h_u.ether_spec, in hclge_get_fd_rule_info()
[all …]
/linux-5.19.10/drivers/net/dsa/mv88e6xxx/
Dchip.c2208 struct ethhdr *mac_entry = &fs->h_u.ether_spec; in mv88e6xxx_policy_insert()
2209 struct ethhdr *mac_mask = &fs->m_u.ether_spec; in mv88e6xxx_policy_insert()