/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep_rxnfc.c | 115 fsp->h_u.ether_spec.h_proto = htons(rule->filter.ether_type); 116 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; 180 rule->filter.ether_type = ntohs(fsp->h_u.ether_spec.h_proto); 212 !is_zero_ether_addr(fsp->m_u.ether_spec.h_dest) || 213 !is_zero_ether_addr(fsp->m_u.ether_spec.h_source) || 214 fsp->m_u.ether_spec.h_proto != ETHER_TYPE_FULL_MASK) {
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_flows.c | 816 struct ethhdr *eth_mask = &fsp->m_u.ether_spec; 817 struct ethhdr *eth_hdr = &fsp->h_u.ether_spec; 943 struct ethhdr *eth_mask = &fsp->m_u.ether_spec; 944 struct ethhdr *eth_hdr = &fsp->h_u.ether_spec; 1070 eth_hdr = &pf_mac->flow_spec.h_u.ether_spec; 1140 eth_hdr = &flow->flow_spec.h_u.ether_spec; 1236 eth_hdr = &iter->flow_spec.h_u.ether_spec; 1273 struct ethhdr *eth_hdr = &flow->flow_spec.h_u.ether_spec; 1507 eth_hdr = &iter->flow_spec.h_u.ether_spec;
|
/linux-master/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.c | 425 &fs->h_u.ether_spec.h_dest, 426 &fs->m_u.ether_spec.h_dest, 427 sizeof(fs->h_u.ether_spec.h_dest)); 429 &fs->h_u.ether_spec.h_source, 430 &fs->m_u.ether_spec.h_source, 431 sizeof(fs->h_u.ether_spec.h_source)); 433 &fs->h_u.ether_spec.h_proto, 434 &fs->m_u.ether_spec.h_proto, 435 sizeof(fs->h_u.ether_spec.h_proto));
|
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_ethtool.c | 978 fsp->h_u.ether_spec.h_proto = htons(rule->filter.etype); 979 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; 995 ether_addr_copy(fsp->h_u.ether_spec.h_dest, 997 eth_broadcast_addr(fsp->m_u.ether_spec.h_dest); 1001 ether_addr_copy(fsp->h_u.ether_spec.h_source, 1003 eth_broadcast_addr(fsp->m_u.ether_spec.h_source); 1230 if (fsp->m_u.ether_spec.h_proto == ETHER_TYPE_FULL_MASK) { 1231 rule->filter.etype = ntohs(fsp->h_u.ether_spec.h_proto); 1238 if (is_broadcast_ether_addr(fsp->m_u.ether_spec.h_source)) { 1241 fsp->h_u.ether_spec [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ethtool.c | 1381 fs->h_u.ether_spec.h_proto = entry->key.l3_proto; 1382 fs->m_u.ether_spec.h_proto = entry->msk.l3_proto; 1564 entry->msk.l3_proto = fs->m_u.ether_spec.h_proto; 1565 entry->key.l3_proto = fs->h_u.ether_spec.h_proto & entry->msk.l3_proto; 1657 if (fs->h_u.ether_spec.h_proto == htons(ETH_P_IP) || 1658 fs->h_u.ether_spec.h_proto == htons(ETH_P_IPV6)) { 1663 unsupp_mask = !is_zero_ether_addr(fs->m_u.ether_spec.h_dest) || 1664 !is_zero_ether_addr(fs->m_u.ether_spec.h_source) || 1665 (fs->m_u.ether_spec.h_proto != htons(0xffff));
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | ethtool_common.c | 656 struct ethhdr *mac_entry = &rule->h_u.ether_spec; 657 struct ethhdr *mac_mask = &rule->m_u.ether_spec; 929 struct ethhdr *mac_entry = &rule->h_u.ether_spec; 930 struct ethhdr *mac_mask = &rule->m_u.ether_spec;
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 803 struct ethhdr *mac_entry = &rule->h_u.ether_spec; 804 struct ethhdr *mac_mask = &rule->m_u.ether_spec; 1039 struct ethhdr *mac_entry = &rule->h_u.ether_spec; 1040 struct ethhdr *mac_mask = &rule->m_u.ether_spec;
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 656 struct ethhdr *mac_entry = &rule->h_u.ether_spec; 657 struct ethhdr *mac_mask = &rule->m_u.ether_spec; 930 struct ethhdr *mac_entry = &rule->h_u.ether_spec; 931 struct ethhdr *mac_mask = &rule->m_u.ether_spec;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs_ethtool.c | 317 struct ethhdr *eth_mask = &fs->m_u.ether_spec; 318 struct ethhdr *eth_val = &fs->h_u.ether_spec; 560 struct ethhdr *eth_mask = &fs->m_u.ether_spec;
|
/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 2457 fsp->h_u.ether_spec.h_proto = rule->filter.etype; 2458 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; 2466 ether_addr_copy(fsp->h_u.ether_spec.h_dest, 2471 eth_broadcast_addr(fsp->m_u.ether_spec.h_dest); 2474 ether_addr_copy(fsp->h_u.ether_spec.h_source, 2479 eth_broadcast_addr(fsp->m_u.ether_spec.h_source); 2931 if (fsp->m_u.ether_spec.h_proto == ETHER_TYPE_FULL_MASK) { 2932 input->filter.etype = fsp->h_u.ether_spec.h_proto; 2937 if (is_broadcast_ether_addr(fsp->m_u.ether_spec.h_source)) { 2940 fsp->h_u.ether_spec [all...] |
/linux-master/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 615 &fs->h_u.ether_spec.h_dest, 616 &fs->m_u.ether_spec.h_dest, 617 sizeof(fs->h_u.ether_spec.h_dest)); 619 &fs->h_u.ether_spec.h_source, 620 &fs->m_u.ether_spec.h_source, 621 sizeof(fs->h_u.ether_spec.h_source)); 623 &fs->h_u.ether_spec.h_proto, 624 &fs->m_u.ether_spec.h_proto, 625 sizeof(fs->h_u.ether_spec.h_proto)); 1389 eth_mask = &cmd->fs.m_u.ether_spec; [all...] |
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_ethtool.c | 1169 fsp->h_u.ether_spec.h_proto = rule->eth_data.etype; 1170 fsp->m_u.ether_spec.h_proto = rule->eth_mask.etype; 1361 fltr->eth_data.etype = fsp->h_u.ether_spec.h_proto; 1362 fltr->eth_mask.etype = fsp->m_u.ether_spec.h_proto;
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_filters.c | 142 fsp->m_u.ether_spec.h_proto == 0U) { 323 data->ethertype = be16_to_cpu(fsp->h_u.ether_spec.h_proto);
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-ethtool.c | 529 err = dpaa2_eth_prep_eth_rule(&fs->h_u.ether_spec, &fs->m_u.ether_spec,
|
/linux-master/include/uapi/linux/ |
H A D | ethtool.h | 1083 struct ethhdr ether_spec; member in union:ethtool_flow_union 1323 struct ethhdr ether_spec; member in union:ethtool_rx_ntuple_flow_spec::__anon2730 2025 #define ETHER_FLOW 0x12 /* spec only (ether_spec) */
|
/linux-master/net/ethtool/ |
H A D | ioctl.c | 3254 const struct ethhdr *ether_spec, *ether_m_spec; local 3256 ether_spec = &fs->h_u.ether_spec; 3257 ether_m_spec = &fs->m_u.ether_spec; 3261 ether_spec->h_source); 3267 ether_spec->h_dest); 3272 match->key.basic.n_proto = ether_spec->h_proto;
|
/linux-master/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_ethtool.c | 567 eth_h = &fs->h_u.ether_spec; 568 eth_m = &fs->m_u.ether_spec;
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_ethtool.c | 1385 eth_mask = &cmd->fs.m_u.ether_spec; 1590 eth_spec = &cmd->fs.h_u.ether_spec;
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 1096 struct ethhdr *h_ether = &fs->h_u.ether_spec; 1097 struct ethhdr *m_ether = &fs->m_u.ether_spec; 1213 struct ethhdr *h_ether = &fs->h_u.ether_spec; 1214 struct ethhdr *m_ether = &fs->m_u.ether_spec;
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 6152 ret = hclge_fd_check_ether_tuple(&fs->h_u.ether_spec, 6279 ether_addr_copy(rule->tuples.src_mac, fs->h_u.ether_spec.h_source); 6280 ether_addr_copy(rule->tuples_mask.src_mac, fs->m_u.ether_spec.h_source); 6282 ether_addr_copy(rule->tuples.dst_mac, fs->h_u.ether_spec.h_dest); 6283 ether_addr_copy(rule->tuples_mask.dst_mac, fs->m_u.ether_spec.h_dest); 6285 rule->tuples.ether_proto = be16_to_cpu(fs->h_u.ether_spec.h_proto); 6286 rule->tuples_mask.ether_proto = be16_to_cpu(fs->m_u.ether_spec.h_proto); 6804 eth_zero_addr(fs->m_u.ether_spec.h_dest); 6806 ether_addr_copy(fs->m_u.ether_spec.h_dest, 6890 hclge_fd_get_ether_info(rule, &fs->h_u.ether_spec, [all...] |
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 2342 struct ethhdr *mac_entry = &fs->h_u.ether_spec; 2343 struct ethhdr *mac_mask = &fs->m_u.ether_spec;
|