/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_flows.c | 869 u16 vlan_etype; in otx2_prepare_flow_request() local 871 if (fsp->m_ext.vlan_etype) { in otx2_prepare_flow_request() 873 if (be16_to_cpu(fsp->m_ext.vlan_etype) != 0xFFFF) in otx2_prepare_flow_request() 876 vlan_etype = be16_to_cpu(fsp->h_ext.vlan_etype); in otx2_prepare_flow_request() 881 if (vlan_etype == ETH_P_8021Q && !fsp->m_ext.vlan_tci && in otx2_prepare_flow_request() 886 if (vlan_etype != ETH_P_8021Q && in otx2_prepare_flow_request() 887 vlan_etype != ETH_P_8021AD) in otx2_prepare_flow_request() 890 memcpy(&pkt->vlan_etype, &fsp->h_ext.vlan_etype, in otx2_prepare_flow_request() 891 sizeof(pkt->vlan_etype)); in otx2_prepare_flow_request() 892 memcpy(&pmask->vlan_etype, &fsp->m_ext.vlan_etype, in otx2_prepare_flow_request() [all …]
|
/linux-6.6.21/drivers/net/ethernet/broadcom/asp2/ |
D | bcmasp.c | 393 (fs->m_ext.vlan_etype || fs->m_ext.vlan_tci)) { in bcmasp_netfilt_wr_to_hw() 395 &fs->h_ext.vlan_etype, in bcmasp_netfilt_wr_to_hw() 396 &fs->m_ext.vlan_etype, in bcmasp_netfilt_wr_to_hw() 397 sizeof(fs->h_ext.vlan_etype)); in bcmasp_netfilt_wr_to_hw() 623 if (cur->h_ext.vlan_etype != fs->h_ext.vlan_etype || in bcmasp_netfilt_check_dup() 624 cur->m_ext.vlan_etype != fs->m_ext.vlan_etype || in bcmasp_netfilt_check_dup()
|
/linux-6.6.21/drivers/net/ethernet/intel/igc/ |
D | igc_ethtool.c | 985 fsp->h_ext.vlan_etype = rule->filter.vlan_etype; in igc_ethtool_get_nfc_rule() 986 fsp->m_ext.vlan_etype = ETHER_TYPE_FULL_MASK; in igc_ethtool_get_nfc_rule() 1252 if ((fsp->flow_type & FLOW_EXT) && fsp->h_ext.vlan_etype) { in igc_ethtool_init_nfc_rule() 1253 rule->filter.vlan_etype = fsp->h_ext.vlan_etype; in igc_ethtool_init_nfc_rule() 1361 fsp->m_ext.vlan_etype && in igc_ethtool_add_nfc_rule() 1362 fsp->m_ext.vlan_etype != ETHER_TYPE_FULL_MASK) { in igc_ethtool_add_nfc_rule()
|
D | igc.h | 569 __be16 vlan_etype; member
|
D | igc_main.c | 3603 vlan = rule->filter.vlan_tci || rule->filter.vlan_etype; in igc_add_flex_filter() 3619 igc_flex_filter_add_field(&flex, &filter->vlan_etype, 12, in igc_add_flex_filter() 3620 sizeof(filter->vlan_etype), in igc_add_flex_filter()
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 3480 fsp->h_ext.vlan_etype = rule->vlan_etype; in i40e_get_ethtool_fdir_entry() 3481 fsp->m_ext.vlan_etype = htons(0xFFFF); in i40e_get_ethtool_fdir_entry() 4528 if (fsp->h_ext.vlan_etype != htons(ETH_P_8021Q) && in i40e_check_fdir_input_set() 4529 fsp->h_ext.vlan_etype != 0) in i40e_check_fdir_input_set() 4718 a->vlan_etype != b->vlan_etype) in i40e_match_fdir_filter() 4877 input->vlan_etype = fsp->h_ext.vlan_etype; in i40e_add_fdir_ethtool() 4878 if (!fsp->m_ext.vlan_etype && fsp->h_ext.vlan_tci) in i40e_add_fdir_ethtool() 4879 input->vlan_etype = cpu_to_be16(ETH_P_8021Q); in i40e_add_fdir_ethtool() 4880 if (fsp->m_ext.vlan_tci && input->vlan_etype) in i40e_add_fdir_ethtool()
|
D | i40e.h | 231 __be16 vlan_etype; member
|
D | i40e_txrx.c | 202 eth.h_proto = data->vlan_etype; in i40e_create_dummy_packet()
|
/linux-6.6.21/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1211 if (~flow->m_ext.vlan_etype) in gfar_check_capability() 1270 flow->m_ext.vlan_etype ^= cpu_to_be16(0xFFFF); in gfar_invert_masks()
|
/linux-6.6.21/net/ethtool/ |
D | ioctl.c | 3318 if (ext_m_spec->vlan_etype) { in ethtool_rx_flow_rule_create() 3319 match->key.vlan.vlan_tpid = ext_h_spec->vlan_etype; in ethtool_rx_flow_rule_create() 3320 match->mask.vlan.vlan_tpid = ext_m_spec->vlan_etype; in ethtool_rx_flow_rule_create() 3340 if (ext_m_spec->vlan_etype || in ethtool_rx_flow_rule_create()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 596 if (fs->m_ext.vlan_etype || in bcmgenet_hfb_create_rxnfc_filter() 599 &fs->h_ext.vlan_etype, in bcmgenet_hfb_create_rxnfc_filter() 600 &fs->m_ext.vlan_etype, in bcmgenet_hfb_create_rxnfc_filter() 601 sizeof(fs->h_ext.vlan_etype)); in bcmgenet_hfb_create_rxnfc_filter() 1408 if (VALIDATE_MASK(cmd->fs.m_ext.vlan_etype) || in bcmgenet_validate_flow()
|
/linux-6.6.21/include/uapi/linux/ |
D | ethtool.h | 1102 __be16 vlan_etype; member
|
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 2587 fsp->h_ext.vlan_etype = rule->filter.formatted.flex_bytes; in ixgbe_get_ethtool_fdir_entry() 2588 fsp->m_ext.vlan_etype = mask->formatted.flex_bytes; in ixgbe_get_ethtool_fdir_entry() 2890 fsp->h_ext.vlan_etype; in ixgbe_add_ethtool_fdir_entry() 2891 mask.formatted.flex_bytes = fsp->m_ext.vlan_etype; in ixgbe_add_ethtool_fdir_entry()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool_fdir.c | 1749 input->ext_data.vlan_type = fsp->h_ext.vlan_etype; in ice_set_fdir_input_set() 1753 input->ext_mask.vlan_type = fsp->m_ext.vlan_etype; in ice_set_fdir_input_set()
|
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-ethtool.c | 493 if (ext_mask->vlan_etype) in dpaa2_eth_prep_ext_rule()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 652 if (fs->m_ext.vlan_etype || in validate_vlan()
|
/linux-6.6.21/drivers/net/dsa/ |
D | bcm_sf2_cfp.c | 1058 flow->m_ext.vlan_etype ^= cpu_to_be16(~0); in bcm_sf2_invert_masks()
|
/linux-6.6.21/drivers/net/ethernet/sfc/siena/ |
D | ethtool_common.c | 947 (rule->m_ext.vlan_etype || rule->m_ext.data[0] || in efx_ethtool_set_class_rule()
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | ethtool_common.c | 946 (rule->m_ext.vlan_etype || rule->m_ext.data[0] || in efx_ethtool_set_class_rule()
|
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 1055 (rule->m_ext.vlan_etype || rule->m_ext.data[0] || in ef4_ethtool_set_class_rule()
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.h | 1451 __be16 vlan_etype; member
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 1509 (fs->h_ext.vlan_etype || fs->h_ext.vlan_tci)) { in qede_flow_spec_validate_unused()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 1402 if (cmd->fs.m_ext.vlan_etype || in mlx4_en_validate_flow()
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 5963 if (fs->h_ext.vlan_etype) { in hclge_fd_check_ext_tuple()
|