Searched refs:ether_spec (Results 1 - 21 of 21) sorted by relevance

/linux-master/drivers/net/ethernet/engleder/
H A Dtsnep_rxnfc.c115 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 Dotx2_flows.c816 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 Dbcmasp.c425 &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 Digc_ethtool.c978 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 Dnfp_net_ethtool.c1381 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 Dethtool_common.c656 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 Dethtool.c803 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 Dethtool_common.c656 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 Den_fs_ethtool.c317 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 Digb_ethtool.c2457 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 Dbcmgenet.c615 &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 Diavf_ethtool.c1169 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 Daq_filters.c142 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 Ddpaa2-ethtool.c529 err = dpaa2_eth_prep_eth_rule(&fs->h_u.ether_spec, &fs->m_u.ether_spec,
/linux-master/include/uapi/linux/
H A Dethtool.h1083 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 Dioctl.c3254 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 Denetc_ethtool.c567 eth_h = &fs->h_u.ether_spec;
568 eth_m = &fs->m_u.ether_spec;
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1385 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 Dbnxt_ethtool.c1096 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 Dhclge_main.c6152 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 Dchip.c2342 struct ethhdr *mac_entry = &fs->h_u.ether_spec;
2343 struct ethhdr *mac_mask = &fs->m_u.ether_spec;

Completed in 329 milliseconds