/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_filters.c | 14 switch (fsp->flow_type & ~FLOW_EXT) { in aq_rule_is_approve() 191 if (fsp->flow_type & FLOW_EXT) { in aq_check_filter() 203 switch (fsp->flow_type & ~FLOW_EXT) { in aq_check_filter() 248 } else if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW && in aq_rule_is_not_support() 593 if (aq_rx_fltr->aq_fsp.flow_type & FLOW_EXT) { in aq_add_del_rule() 604 switch (aq_rx_fltr->aq_fsp.flow_type & ~FLOW_EXT) { in aq_add_del_rule()
|
/linux/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_ethtool.c | 137 fsp->flow_type |= FLOW_EXT; in txgbe_get_ethtool_fdir_entry() 204 switch (fsp->flow_type & ~FLOW_EXT) { in txgbe_flowspec_to_flow_type() 391 if (fsp->flow_type & FLOW_EXT) { in txgbe_add_ethtool_fdir_entry()
|
/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_ethtool.c | 983 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule() 989 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule() 1007 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule() 1224 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igc_ethtool_init_nfc_rule() 1251 if ((fsp->flow_type & FLOW_EXT) && fsp->h_ext.vlan_etype) { in igc_ethtool_init_nfc_rule() 1257 if ((fsp->flow_type & FLOW_EXT) && in igc_ethtool_init_nfc_rule() 1336 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) { in igc_ethtool_add_nfc_rule() 1350 if ((fsp->flow_type & FLOW_EXT) && in igc_ethtool_add_nfc_rule() 1359 if ((fsp->flow_type & FLOW_EXT) && in igc_ethtool_add_nfc_rule()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool_fdir.c | 398 int flow = (int)flow_type & ~FLOW_EXT; in ice_fdir_rem_flow() 491 if (!(fsp->flow_type & FLOW_EXT)) in ice_parse_rx_flow_user_data() 1350 switch (fsp->flow_type & ~FLOW_EXT) { in ice_cfg_fdir_xtrct_seq() 1420 fltr_idx = ice_ethtool_flow_to_fltr(fsp->flow_type & ~FLOW_EXT); in ice_cfg_fdir_xtrct_seq() 1870 flow_type = fsp->flow_type & ~FLOW_EXT; in ice_set_fdir_input_set() 1883 if (fsp->flow_type & FLOW_EXT) { in ice_set_fdir_input_set()
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 791 rule->flow_type |= FLOW_EXT; in efx_ethtool_get_class_rule() 910 u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); in efx_ethtool_set_class_rule() 927 if ((rule->flow_type & FLOW_EXT) && in efx_ethtool_set_class_rule() 1095 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in efx_ethtool_set_class_rule()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ethtool.c | 238 return flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in mlx5i_flow_type_mask()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs_ethtool.c | 58 return flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in flow_type_mask() 381 if ((fs->flow_type & FLOW_EXT) && in set_flow_attrs() 709 if ((fs->flow_type & FLOW_EXT)) { in validate_flow()
|
/linux/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.c | 409 if ((fs->flow_type & FLOW_EXT) && in bcmasp_netfilt_wr_to_hw() 422 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmasp_netfilt_wr_to_hw() 616 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmasp_netfilt_check_dup() 639 if (cur->flow_type & FLOW_EXT) { in bcmasp_netfilt_check_dup()
|
/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_ethtool.c | 859 if (!(fsp->flow_type & FLOW_EXT)) in iavf_parse_rx_flow_user_data() 904 fsp->flow_type |= FLOW_EXT; in iavf_fill_rx_flow_ext_data() 1122 if (fsp->flow_type & FLOW_EXT) { in iavf_add_fdir_fltr_info() 1129 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in iavf_add_fdir_fltr_info()
|
/linux/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 1084 if ((rule->flow_type & FLOW_EXT) && in gfar_convert_to_filer() 1107 switch (rule->flow_type & ~FLOW_EXT) { in gfar_convert_to_filer() 1209 if (flow->flow_type & FLOW_EXT) { in gfar_check_capability()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_ethtool.c | 1343 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_validate_flow() 1382 if ((cmd->fs.flow_type & FLOW_EXT)) { in mlx4_en_validate_flow() 1411 if ((cmd->fs.flow_type & FLOW_EXT) && in mlx4_en_ethtool_add_mac_rule() 1565 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_ethtool_to_net_trans_rule()
|
/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_flow_rule.c | 131 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in gve_generate_flow_rule()
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 3263 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data() 3306 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data() 3487 fsp->flow_type |= FLOW_EXT; in i40e_get_ethtool_fdir_entry() 4143 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_flow_str() 4311 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set() 4363 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set() 4530 if (fsp->flow_type & FLOW_EXT) { in i40e_check_fdir_input_set() 4881 input->flow_type = fsp->flow_type & ~FLOW_EXT; in i40e_add_fdir_ethtool()
|
H A D | i40e_txrx.c | 594 switch (input->flow_type & ~FLOW_EXT) { in i40e_add_del_fdir()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 1508 if ((fs->flow_type & FLOW_EXT) && in qede_flow_spec_validate_unused() 1514 if ((fs->flow_type & FLOW_EXT) && in qede_flow_spec_validate_unused() 2006 switch ((fs->flow_type & ~FLOW_EXT)) { in qede_flow_spec_to_rule()
|
/linux/include/uapi/linux/ |
H A D | ethtool.h | 2339 #define FLOW_EXT 0x80000000 macro
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 2455 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry() 2918 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) in igb_add_ethtool_nfc_entry() 2944 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igb_add_ethtool_nfc_entry()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 2592 fsp->flow_type |= FLOW_EXT; in ixgbe_get_ethtool_fdir_entry() 2769 switch (fsp->flow_type & ~FLOW_EXT) { in ixgbe_flowspec_to_flow_type() 2883 if (fsp->flow_type & FLOW_EXT) { in ixgbe_add_ethtool_fdir_entry()
|
/linux/net/ethtool/ |
H A D | ioctl.c | 3473 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create() 3604 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create() 3621 if (fs->flow_type & FLOW_EXT) { in ethtool_rx_flow_rule_create()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 1103 fs->flow_type |= FLOW_EXT; in bnxt_grxclsrule() 1255 if (fs->flow_type & FLOW_EXT) { in bnxt_add_l2_cls_rule() 1330 if ((fs->flow_type & (FLOW_MAC_EXT | FLOW_EXT)) || vf) in bnxt_add_ntuple_cls_rule() 1496 flow_type &= ~FLOW_EXT; in bnxt_srxclsrlins()
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_cls.c | 556 switch (flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in mvpp2_cls_ethtool_flow_to_type()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 6060 if (fs->flow_type & FLOW_EXT) { in hclge_fd_check_ext_tuple() 6135 u32 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in hclge_fd_parse_user_def_field() 6142 if (!(fs->flow_type & FLOW_EXT) || hclge_fd_is_user_def_all_masked(fs)) in hclge_fd_parse_user_def_field() 6205 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in hclge_fd_check_spec() 6399 u32 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in hclge_fd_get_tuple() 6433 if (fs->flow_type & FLOW_EXT) { in hclge_fd_get_tuple() 6873 if (fs->flow_type & FLOW_EXT) { in hclge_fd_get_ext_info() 6945 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in hclge_get_fd_rule_info()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_ethtool.c | 1693 fs->flow_type |= FLOW_EXT; in cxgb4_fill_filter_rule()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 2357 switch (fs->flow_type & ~FLOW_EXT) { in mv88e6xxx_policy_insert() 2376 if ((fs->flow_type & FLOW_EXT) && fs->m_ext.vlan_tci) { in mv88e6xxx_policy_insert()
|