/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_flows.c | 769 struct ethhdr *eth_mask = &fsp->m_u.ether_spec; in otx2_prepare_flow_request() 770 struct ethhdr *eth_hdr = &fsp->h_u.ether_spec; in otx2_prepare_flow_request() 876 struct ethhdr *eth_mask = &fsp->m_u.ether_spec; in otx2_is_flow_rule_dmacfilter() 877 struct ethhdr *eth_hdr = &fsp->h_u.ether_spec; in otx2_is_flow_rule_dmacfilter() 976 eth_hdr = &pf_mac->flow_spec.h_u.ether_spec; in otx2_add_flow_with_pfmac() 1031 eth_hdr = &flow->flow_spec.h_u.ether_spec; in otx2_add_flow() 1124 eth_hdr = &iter->flow_spec.h_u.ether_spec; in otx2_update_rem_pfmac() 1160 struct ethhdr *eth_hdr = &flow->flow_spec.h_u.ether_spec; in otx2_remove_flow() 1387 eth_hdr = &iter->flow_spec.h_u.ether_spec; in otx2_dmacflt_reinstall_flows()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_ethtool.c | 964 fsp->h_u.ether_spec.h_proto = htons(rule->filter.etype); in igc_ethtool_get_nfc_rule() 965 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igc_ethtool_get_nfc_rule() 975 ether_addr_copy(fsp->h_u.ether_spec.h_dest, in igc_ethtool_get_nfc_rule() 977 eth_broadcast_addr(fsp->m_u.ether_spec.h_dest); in igc_ethtool_get_nfc_rule() 981 ether_addr_copy(fsp->h_u.ether_spec.h_source, in igc_ethtool_get_nfc_rule() 983 eth_broadcast_addr(fsp->m_u.ether_spec.h_source); in igc_ethtool_get_nfc_rule() 1209 if (fsp->m_u.ether_spec.h_proto == ETHER_TYPE_FULL_MASK) { in igc_ethtool_init_nfc_rule() 1210 rule->filter.etype = ntohs(fsp->h_u.ether_spec.h_proto); in igc_ethtool_init_nfc_rule() 1220 fsp->h_u.ether_spec.h_source); in igc_ethtool_init_nfc_rule() 1223 if (is_broadcast_ether_addr(fsp->m_u.ether_spec.h_dest)) { in igc_ethtool_init_nfc_rule() [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_ethtool.c | 2454 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() 2938 fsp->h_u.ether_spec.h_source); in igb_add_ethtool_nfc_entry() 2942 if (is_broadcast_ether_addr(fsp->m_u.ether_spec.h_dest)) { in igb_add_ethtool_nfc_entry() [all …]
|
/linux/drivers/net/ethernet/sfc/falcon/ |
A D | ethtool.c | 797 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in ef4_ethtool_get_class_rule() 798 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in ef4_ethtool_get_class_rule() 1033 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in ef4_ethtool_set_class_rule() 1034 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in ef4_ethtool_set_class_rule()
|
/linux/drivers/net/ethernet/sfc/ |
A D | ethtool_common.c | 655 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/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_fs_ethtool.c | 304 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/include/uapi/linux/ |
A D | ethtool.h | 996 struct ethhdr ether_spec; member 1233 struct ethhdr ether_spec; member
|
/linux/drivers/net/ethernet/broadcom/genet/ |
A D | bcmgenet.c | 633 &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/drivers/net/ethernet/intel/iavf/ |
A D | iavf_ethtool.c | 1166 fsp->h_u.ether_spec.h_proto = rule->eth_data.etype; in iavf_get_ethtool_fdir_entry() 1167 fsp->m_u.ether_spec.h_proto = rule->eth_mask.etype; in iavf_get_ethtool_fdir_entry() 1352 fltr->eth_data.etype = fsp->h_u.ether_spec.h_proto; in iavf_add_fdir_fltr_info() 1353 fltr->eth_mask.etype = fsp->m_u.ether_spec.h_proto; in iavf_add_fdir_fltr_info()
|
/linux/net/ethtool/ |
A D | ioctl.c | 3119 const struct ethhdr *ether_spec, *ether_m_spec; in ethtool_rx_flow_rule_create() local 3121 ether_spec = &fs->h_u.ether_spec; in ethtool_rx_flow_rule_create() 3122 ether_m_spec = &fs->m_u.ether_spec; in ethtool_rx_flow_rule_create() 3126 ether_spec->h_source); in ethtool_rx_flow_rule_create() 3132 ether_spec->h_dest); in ethtool_rx_flow_rule_create() 3137 match->key.basic.n_proto = ether_spec->h_proto; in ethtool_rx_flow_rule_create()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-ethtool.c | 497 err = dpaa2_eth_prep_eth_rule(&fs->h_u.ether_spec, &fs->m_u.ether_spec, in dpaa2_eth_prep_cls_rule()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_ethtool.c | 389 eth_h = &fs->h_u.ether_spec; in enetc_set_cls_entry() 390 eth_m = &fs->m_u.ether_spec; in enetc_set_cls_entry()
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_filters.c | 142 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/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_main.c | 6499 ret = hclge_fd_check_ether_tuple(&fs->h_u.ether_spec, in hclge_fd_check_spec() 6631 ether_addr_copy(rule->tuples.src_mac, fs->h_u.ether_spec.h_source); in hclge_fd_get_ether_tuple() 6632 ether_addr_copy(rule->tuples_mask.src_mac, fs->m_u.ether_spec.h_source); in hclge_fd_get_ether_tuple() 6634 ether_addr_copy(rule->tuples.dst_mac, fs->h_u.ether_spec.h_dest); in hclge_fd_get_ether_tuple() 6635 ether_addr_copy(rule->tuples_mask.dst_mac, fs->m_u.ether_spec.h_dest); in hclge_fd_get_ether_tuple() 6637 rule->tuples.ether_proto = be16_to_cpu(fs->h_u.ether_spec.h_proto); in hclge_fd_get_ether_tuple() 6638 rule->tuples_mask.ether_proto = be16_to_cpu(fs->m_u.ether_spec.h_proto); in hclge_fd_get_ether_tuple() 7157 eth_zero_addr(fs->m_u.ether_spec.h_dest); in hclge_fd_get_ext_info() 7159 ether_addr_copy(fs->m_u.ether_spec.h_dest, in hclge_fd_get_ext_info() 7218 hclge_fd_get_ether_info(rule, &fs->h_u.ether_spec, in hclge_get_fd_rule_info() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_ethtool.c | 1381 eth_mask = &cmd->fs.m_u.ether_spec; in mlx4_en_validate_flow() 1586 eth_spec = &cmd->fs.h_u.ether_spec; in mlx4_en_ethtool_to_net_trans_rule()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
A D | chip.c | 1889 struct ethhdr *mac_entry = &fs->h_u.ether_spec; in mv88e6xxx_policy_insert() 1890 struct ethhdr *mac_mask = &fs->m_u.ether_spec; in mv88e6xxx_policy_insert()
|