/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_flows.c | 822 u16 vlan_etype; in otx2_prepare_flow_request() local 824 if (fsp->m_ext.vlan_etype) { in otx2_prepare_flow_request() 826 if (be16_to_cpu(fsp->m_ext.vlan_etype) != 0xFFFF) in otx2_prepare_flow_request() 829 vlan_etype = be16_to_cpu(fsp->h_ext.vlan_etype); in otx2_prepare_flow_request() 831 if (vlan_etype != ETH_P_8021Q && in otx2_prepare_flow_request() 832 vlan_etype != ETH_P_8021AD) in otx2_prepare_flow_request() 835 memcpy(&pkt->vlan_etype, &fsp->h_ext.vlan_etype, in otx2_prepare_flow_request() 836 sizeof(pkt->vlan_etype)); in otx2_prepare_flow_request() 837 memcpy(&pmask->vlan_etype, &fsp->m_ext.vlan_etype, in otx2_prepare_flow_request() 838 sizeof(pmask->vlan_etype)); in otx2_prepare_flow_request() [all …]
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_ethtool.c | 3365 fsp->h_ext.vlan_etype = rule->vlan_etype; in i40e_get_ethtool_fdir_entry() 3366 fsp->m_ext.vlan_etype = htons(0xFFFF); in i40e_get_ethtool_fdir_entry() 4408 if (fsp->h_ext.vlan_etype != htons(ETH_P_8021Q) && in i40e_check_fdir_input_set() 4409 fsp->h_ext.vlan_etype != 0) in i40e_check_fdir_input_set() 4598 a->vlan_etype != b->vlan_etype) in i40e_match_fdir_filter() 4757 input->vlan_etype = fsp->h_ext.vlan_etype; in i40e_add_fdir_ethtool() 4758 if (!fsp->m_ext.vlan_etype && fsp->h_ext.vlan_tci) in i40e_add_fdir_ethtool() 4759 input->vlan_etype = cpu_to_be16(ETH_P_8021Q); in i40e_add_fdir_ethtool() 4760 if (fsp->m_ext.vlan_tci && input->vlan_etype) in i40e_add_fdir_ethtool()
|
A D | i40e.h | 230 __be16 vlan_etype; member
|
A D | i40e_txrx.c | 201 eth.h_proto = data->vlan_etype; in i40e_create_dummy_packet()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc.h | 504 __be16 vlan_etype; member
|
A D | igc_ethtool.c | 1230 if ((fsp->flow_type & FLOW_EXT) && fsp->h_ext.vlan_etype) { in igc_ethtool_init_nfc_rule() 1231 rule->filter.vlan_etype = fsp->h_ext.vlan_etype; in igc_ethtool_init_nfc_rule()
|
A D | igc_main.c | 3308 vlan = rule->filter.vlan_tci || rule->filter.vlan_etype; in igc_add_flex_filter() 3324 igc_flex_filter_add_field(&flex, &filter->vlan_etype, 12, in igc_add_flex_filter() 3325 sizeof(filter->vlan_etype), in igc_add_flex_filter()
|
/linux/drivers/net/ethernet/freescale/ |
A D | gianfar_ethtool.c | 1205 if (~flow->m_ext.vlan_etype) in gfar_check_capability() 1264 flow->m_ext.vlan_etype ^= cpu_to_be16(0xFFFF); in gfar_invert_masks()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_ethtool_fdir.c | 1519 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()
|
/linux/include/uapi/linux/ |
A D | ethtool.h | 1015 __be16 vlan_etype; member
|
/linux/net/ethtool/ |
A D | ioctl.c | 3269 if (ext_m_spec->vlan_etype) { in ethtool_rx_flow_rule_create() 3270 match->key.vlan.vlan_tpid = ext_h_spec->vlan_etype; in ethtool_rx_flow_rule_create() 3271 match->mask.vlan.vlan_tpid = ext_m_spec->vlan_etype; in ethtool_rx_flow_rule_create() 3291 if (ext_m_spec->vlan_etype || in ethtool_rx_flow_rule_create()
|
/linux/drivers/net/ethernet/broadcom/genet/ |
A D | bcmgenet.c | 614 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() 1428 if (VALIDATE_MASK(cmd->fs.m_ext.vlan_etype) || in bcmgenet_validate_flow()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ethtool.c | 2554 fsp->h_ext.vlan_etype = rule->filter.formatted.flex_bytes; in ixgbe_get_ethtool_fdir_entry() 2555 fsp->m_ext.vlan_etype = mask->formatted.flex_bytes; in ixgbe_get_ethtool_fdir_entry() 2848 fsp->h_ext.vlan_etype; in ixgbe_add_ethtool_fdir_entry() 2849 mask.formatted.flex_bytes = fsp->m_ext.vlan_etype; in ixgbe_add_ethtool_fdir_entry()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-ethtool.c | 461 if (ext_mask->vlan_etype) in dpaa2_eth_prep_ext_rule()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_fs_ethtool.c | 644 if (fs->m_ext.vlan_etype || in validate_vlan()
|
/linux/drivers/net/dsa/ |
A D | bcm_sf2_cfp.c | 1058 flow->m_ext.vlan_etype ^= cpu_to_be16(~0); in bcm_sf2_invert_masks()
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | mbox.h | 1336 __be16 vlan_etype; member
|
/linux/drivers/net/ethernet/sfc/falcon/ |
A D | ethtool.c | 1049 (rule->m_ext.vlan_etype || rule->m_ext.data[0] || in ef4_ethtool_set_class_rule()
|
/linux/drivers/net/ethernet/sfc/ |
A D | ethtool_common.c | 945 (rule->m_ext.vlan_etype || rule->m_ext.data[0] || in efx_ethtool_set_class_rule()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_filter.c | 1509 (fs->h_ext.vlan_etype || fs->h_ext.vlan_tci)) { in qede_flow_spec_validate_unused()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_ethtool.c | 1398 if (cmd->fs.m_ext.vlan_etype || in mlx4_en_validate_flow()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_main.c | 6325 if (fs->h_ext.vlan_etype) { in hclge_fd_check_ext_tuple()
|