Home
last modified time | relevance | path

Searched refs:vlan_etype (Results 1 - 25 of 41) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A 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()
878 /* Drop rule with vlan_etype == 802.1Q 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, in otx2_prepare_flow_request()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/asp2/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
H A 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()
H A Digc.h569 __be16 vlan_etype; member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A 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 in i40e_add_fdir_ethtool()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c1201 if (~flow->m_ext.vlan_etype) in gfar_check_capability()
1260 flow->m_ext.vlan_etype ^= cpu_to_be16(0xFFFF); in gfar_invert_masks()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/
H A 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()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dethtool.h308 __be16 vlan_etype; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2565 fsp->h_ext.vlan_etype = rule->filter.formatted.flex_bytes; in ixgbe_get_ethtool_fdir_entry()
2566 fsp->m_ext.vlan_etype = mask->formatted.flex_bytes; in ixgbe_get_ethtool_fdir_entry()
2868 fsp->h_ext.vlan_etype; in ixgbe_add_ethtool_fdir_entry()
2869 mask.formatted.flex_bytes = fsp->m_ext.vlan_etype; in ixgbe_add_ethtool_fdir_entry()
/kernel/linux/linux-5.10/net/ethtool/
H A Dioctl.c3160 if (ext_m_spec->vlan_etype) { in ethtool_rx_flow_rule_create()
3161 match->key.vlan.vlan_tpid = ext_h_spec->vlan_etype; in ethtool_rx_flow_rule_create()
3162 match->mask.vlan.vlan_tpid = ext_m_spec->vlan_etype; in ethtool_rx_flow_rule_create()
3182 if (ext_m_spec->vlan_etype || in ethtool_rx_flow_rule_create()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A 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()
/kernel/linux/linux-6.6/net/ethtool/
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c596 if (fs->m_ext.vlan_etype || in validate_vlan()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c461 if (ext_mask->vlan_etype) in dpaa2_eth_prep_ext_rule()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dethtool.h959 * @vlan_etype: VLAN EtherType
963 * Note, @vlan_etype, @vlan_tci, and @data are only valid if %FLOW_EXT
970 __be16 vlan_etype; member
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c652 if (fs->m_ext.vlan_etype || in validate_vlan()
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dethtool.h1090 * @vlan_etype: VLAN EtherType
1095 * Note, @vlan_etype, @vlan_tci, and @data are only valid if %FLOW_EXT
1102 __be16 vlan_etype; member
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c493 if (ext_mask->vlan_etype) in dpaa2_eth_prep_ext_rule()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dethtool.h363 __be16 vlan_etype; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dethtool.h363 __be16 vlan_etype; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c614 if (fs->m_ext.vlan_etype || in bcmgenet_hfb_create_rxnfc_filter()
617 &fs->h_ext.vlan_etype, in bcmgenet_hfb_create_rxnfc_filter()
618 &fs->m_ext.vlan_etype, in bcmgenet_hfb_create_rxnfc_filter()
619 sizeof(fs->h_ext.vlan_etype)); in bcmgenet_hfb_create_rxnfc_filter()
1379 if (VALIDATE_MASK(cmd->fs.m_ext.vlan_etype) || in bcmgenet_validate_flow()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/genet/
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c1519 input->ext_data.vlan_type = fsp->h_ext.vlan_etype; in ice_set_fdir_input_set()
1523 input->ext_mask.vlan_type = fsp->m_ext.vlan_etype; in ice_set_fdir_input_set()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A 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()
/kernel/linux/linux-5.10/drivers/net/dsa/
H A Dbcm_sf2_cfp.c1062 flow->m_ext.vlan_etype ^= cpu_to_be16(~0); in bcm_sf2_invert_masks()

Completed in 72 milliseconds

12