Home
last modified time | relevance | path

Searched refs:vlan_etype (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_flows.c869 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/
Dbcmasp.c393 (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/
Digc_ethtool.c985 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()
Digc.h569 __be16 vlan_etype; member
Digc_main.c3603 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/
Di40e_ethtool.c3480 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()
Di40e.h231 __be16 vlan_etype; member
Di40e_txrx.c202 eth.h_proto = data->vlan_etype; in i40e_create_dummy_packet()
/linux-6.6.21/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1211 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/
Dioctl.c3318 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/
Dbcmgenet.c596 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/
Dethtool.h1102 __be16 vlan_etype; member
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2587 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/
Dice_ethtool_fdir.c1749 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/
Ddpaa2-ethtool.c493 if (ext_mask->vlan_etype) in dpaa2_eth_prep_ext_rule()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c652 if (fs->m_ext.vlan_etype || in validate_vlan()
/linux-6.6.21/drivers/net/dsa/
Dbcm_sf2_cfp.c1058 flow->m_ext.vlan_etype ^= cpu_to_be16(~0); in bcm_sf2_invert_masks()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dethtool_common.c947 (rule->m_ext.vlan_etype || rule->m_ext.data[0] || in efx_ethtool_set_class_rule()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dethtool_common.c946 (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/
Dethtool.c1055 (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/
Dmbox.h1451 __be16 vlan_etype; member
/linux-6.6.21/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c1509 (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/
Den_ethtool.c1402 if (cmd->fs.m_ext.vlan_etype || in mlx4_en_validate_flow()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5963 if (fs->h_ext.vlan_etype) { in hclge_fd_check_ext_tuple()