Home
last modified time | relevance | path

Searched refs:flow_type (Results 1 – 25 of 125) sorted by relevance

12345

/linux/arch/powerpc/sysdev/
A Dcpm2_pic.c142 if (flow_type == IRQ_TYPE_NONE) in cpm2_set_irq_type()
143 flow_type = IRQ_TYPE_EDGE_BOTH; in cpm2_set_irq_type()
145 if (flow_type != IRQ_TYPE_EDGE_BOTH && in cpm2_set_irq_type()
146 flow_type != IRQ_TYPE_EDGE_FALLING) in cpm2_set_irq_type()
149 if (flow_type == IRQ_TYPE_NONE) in cpm2_set_irq_type()
150 flow_type = IRQ_TYPE_LEVEL_LOW; in cpm2_set_irq_type()
152 if (flow_type & (IRQ_TYPE_EDGE_RISING | IRQ_TYPE_LEVEL_HIGH)) in cpm2_set_irq_type()
156 irqd_set_trigger_type(d, flow_type); in cpm2_set_irq_type()
157 if (flow_type & IRQ_TYPE_LEVEL_LOW) in cpm2_set_irq_type()
171 return (flow_type & IRQ_TYPE_LEVEL_LOW) ? in cpm2_set_irq_type()
[all …]
A Dehv_pic.c112 int ehv_pic_set_irq_type(struct irq_data *d, unsigned int flow_type) in ehv_pic_set_irq_type() argument
118 if (flow_type == IRQ_TYPE_NONE) in ehv_pic_set_irq_type()
119 flow_type = IRQ_TYPE_LEVEL_LOW; in ehv_pic_set_irq_type()
121 irqd_set_trigger_type(d, flow_type); in ehv_pic_set_irq_type()
123 vecpri = ehv_pic_type_to_vecpri(flow_type); in ehv_pic_set_irq_type()
A Dipic.c598 static int ipic_set_irq_type(struct irq_data *d, unsigned int flow_type) in ipic_set_irq_type() argument
604 if (flow_type == IRQ_TYPE_NONE) in ipic_set_irq_type()
605 flow_type = IRQ_TYPE_LEVEL_LOW; in ipic_set_irq_type()
609 if (!(flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_EDGE_FALLING))) { in ipic_set_irq_type()
611 flow_type); in ipic_set_irq_type()
615 if ((flow_type & IRQ_TYPE_EDGE_FALLING) && !ipic_info[src].ack) { in ipic_set_irq_type()
622 irqd_set_trigger_type(d, flow_type); in ipic_set_irq_type()
623 if (flow_type & IRQ_TYPE_LEVEL_LOW) { in ipic_set_irq_type()
640 return (flow_type & IRQ_TYPE_LEVEL_LOW) ? 0 : -EINVAL; in ipic_set_irq_type()
643 if ((flow_type & IRQ_TYPE_SENSE_MASK) == IRQ_TYPE_EDGE_FALLING) { in ipic_set_irq_type()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_fs_ethtool.c40 static u32 flow_type_mask(u32 flow_type) in flow_type_mask() argument
340 u32 flow_type = flow_type_mask(fs->flow_type); in set_flow_attrs() local
342 switch (flow_type) { in set_flow_attrs()
368 if ((fs->flow_type & FLOW_EXT) && in set_flow_attrs()
372 if (fs->flow_type & FLOW_MAC_EXT && in set_flow_attrs()
413 if (fs->flow_type & FLOW_RSS) { in flow_get_tirn()
416 u32 flow_type; in flow_get_tirn() local
424 flow_type = flow_type_mask(fs->flow_type); in flow_get_tirn()
702 if ((fs->flow_type & FLOW_EXT)) { in validate_flow()
848 switch (flow_type) { in flow_type_to_traffic_type()
[all …]
/linux/drivers/net/ethernet/intel/ice/
A Dice_fdir.c915 flow = input->flow_type; in ice_fdir_get_gen_prgm_pkt()
1224 enum ice_fltr_ptype flow_type = a->flow_type; in ice_fdir_comp_rules() local
1230 if (flow_type == ICE_FLTR_PTYPE_NONF_IPV4_TCP || in ice_fdir_comp_rules()
1231 flow_type == ICE_FLTR_PTYPE_NONF_IPV4_UDP || in ice_fdir_comp_rules()
1248 if (flow_type == ICE_FLTR_PTYPE_NONF_IPV6_UDP || in ice_fdir_comp_rules()
1249 flow_type == ICE_FLTR_PTYPE_NONF_IPV6_TCP || in ice_fdir_comp_rules()
1281 enum ice_fltr_ptype flow_type; in ice_fdir_is_dup_fltr() local
1283 if (rule->flow_type != input->flow_type) in ice_fdir_is_dup_fltr()
1286 flow_type = input->flow_type; in ice_fdir_is_dup_fltr()
1287 if (flow_type == ICE_FLTR_PTYPE_NONF_IPV4_TCP || in ice_fdir_is_dup_fltr()
[all …]
A Dice_ethtool_fdir.c133 fsp->flow_type = ice_fltr_to_ethtool_flow(rule->flow_type); in ice_get_ethtool_fdir_entry()
138 switch (fsp->flow_type) { in ice_get_ethtool_fdir_entry()
213 rule->flow_type); in ice_get_ethtool_fdir_entry()
316 enum ice_fltr_ptype flow_type) in ice_fdir_rem_flow() argument
412 if (!(fsp->flow_type & FLOW_EXT)) in ice_parse_rx_flow_user_data()
1478 int flow_type; in ice_set_fdir_input_set() local
1508 flow_type = fsp->flow_type & ~FLOW_EXT; in ice_set_fdir_input_set()
1514 input->flow_type = ice_ethtool_flow_to_fltr(flow_type); in ice_set_fdir_input_set()
1516 if (fsp->flow_type & FLOW_EXT) { in ice_set_fdir_input_set()
1527 switch (flow_type) { in ice_set_fdir_input_set()
[all …]
A Dice_arfs.c24 ice_is_arfs_using_perfect_flow(struct ice_hw *hw, enum ice_fltr_ptype flow_type) in ice_is_arfs_using_perfect_flow() argument
38 switch (flow_type) { in ice_is_arfs_using_perfect_flow()
64 switch (entry->fltr_info.flow_type) { in ice_arfs_update_active_fltr_cntrs()
91 entry->fltr_info.flow_type); in ice_arfs_update_active_fltr_cntrs()
190 if (arfs_entry->fltr_info.flow_type != ICE_FLTR_PTYPE_NONF_IPV4_UDP && in ice_arfs_is_flow_expired()
191 arfs_entry->fltr_info.flow_type != ICE_FLTR_PTYPE_NONF_IPV6_UDP) in ice_arfs_is_flow_expired()
228 enum ice_fltr_ptype flow_type = e->fltr_info.flow_type; in ice_arfs_update_flow_rules() local
240 if (flow_type == ICE_FLTR_PTYPE_NONF_IPV4_UDP || in ice_arfs_update_flow_rules()
241 flow_type == ICE_FLTR_PTYPE_NONF_IPV6_UDP) in ice_arfs_update_flow_rules()
321 fltr_info->flow_type = (ip_proto == IPPROTO_TCP) ? in ice_arfs_build_entry()
[all …]
A Dice_virtchnl_fdir.c528 enum ice_fltr_ptype flow = conf->input.flow_type; in ice_vc_fdir_set_flow_hdr()
874 flow = input->flow_type; in ice_vc_fdir_config_input_set()
1033 input->flow_type = ICE_FLTR_PTYPE_NON_IP_L2; in ice_vc_fdir_parse_pattern()
1070 input->flow_type = ICE_FLTR_PTYPE_NONF_IPV4_TCP; in ice_vc_fdir_parse_pattern()
1072 input->flow_type = ICE_FLTR_PTYPE_NONF_IPV6_TCP; in ice_vc_fdir_parse_pattern()
1104 input->flow_type = in ice_vc_fdir_parse_pattern()
1107 input->flow_type = in ice_vc_fdir_parse_pattern()
1159 input->flow_type = ICE_FLTR_PTYPE_NONF_IPV4_AH; in ice_vc_fdir_parse_pattern()
1161 input->flow_type = ICE_FLTR_PTYPE_NONF_IPV6_AH; in ice_vc_fdir_parse_pattern()
1331 if (a->flow_type != b->flow_type) in ice_vc_fdir_comp_rules()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_flows.c488 u32 flow_type) in otx2_prepare_ipv4_flow() argument
499 switch (flow_type) { in otx2_prepare_ipv4_flow()
633 if (flow_type == AH_V4_FLOW) in otx2_prepare_ipv4_flow()
647 u32 flow_type) in otx2_prepare_ipv6_flow() argument
658 switch (flow_type) { in otx2_prepare_ipv6_flow()
754 if (flow_type == AH_V6_FLOW) in otx2_prepare_ipv6_flow()
773 u32 flow_type; in otx2_prepare_flow_request() local
776 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in otx2_prepare_flow_request()
777 switch (flow_type) { in otx2_prepare_flow_request()
879 u32 flow_type; in otx2_is_flow_rule_dmacfilter() local
[all …]
/linux/drivers/irqchip/
A Dirq-tb10x.c42 static int tb10x_irq_set_type(struct irq_data *data, unsigned int flow_type) in tb10x_irq_set_type() argument
54 switch (flow_type & IRQF_TRIGGER_MASK) { in tb10x_irq_set_type()
62 flow_type = IRQ_TYPE_LEVEL_LOW; in tb10x_irq_set_type()
77 irqd_set_trigger_type(data, flow_type); in tb10x_irq_set_type()
78 irq_setup_alt_chip(data, flow_type); in tb10x_irq_set_type()
A Dirq-sunxi-nmi.c97 static int sunxi_sc_nmi_set_type(struct irq_data *data, unsigned int flow_type) in sunxi_sc_nmi_set_type() argument
108 switch (flow_type & IRQF_TRIGGER_MASK) { in sunxi_sc_nmi_set_type()
129 irqd_set_trigger_type(data, flow_type); in sunxi_sc_nmi_set_type()
130 irq_setup_alt_chip(data, flow_type); in sunxi_sc_nmi_set_type()
133 if (ct->type & flow_type) in sunxi_sc_nmi_set_type()
A Dirq-al-fic.c64 static int al_fic_irq_set_type(struct irq_data *data, unsigned int flow_type) in al_fic_irq_set_type() argument
73 if (((flow_type & IRQ_TYPE_SENSE_MASK) != IRQ_TYPE_LEVEL_HIGH) && in al_fic_irq_set_type()
74 ((flow_type & IRQ_TYPE_SENSE_MASK) != IRQ_TYPE_EDGE_RISING)) { in al_fic_irq_set_type()
75 pr_debug("fic doesn't support flow type %d\n", flow_type); in al_fic_irq_set_type()
80 new_state = (flow_type & IRQ_TYPE_LEVEL_HIGH) ? in al_fic_irq_set_type()
A Dirq-rda-intc.c40 static int rda_intc_set_type(struct irq_data *data, unsigned int flow_type) in rda_intc_set_type() argument
43 if ((flow_type & (IRQF_TRIGGER_HIGH | IRQF_TRIGGER_LOW)) == flow_type) in rda_intc_set_type()
A Dirq-pic32-evic.c77 unsigned int flow_type) in pic32_set_type_edge() argument
83 if (!(flow_type & IRQ_TYPE_EDGE_BOTH)) in pic32_set_type_edge()
89 ret = pic32_set_ext_polarity(i, flow_type); in pic32_set_type_edge()
95 irqd_set_trigger_type(data, flow_type); in pic32_set_type_edge()
/linux/arch/powerpc/sysdev/xics/
A Dxics-common.c380 int xics_set_irq_type(struct irq_data *d, unsigned int flow_type) in xics_set_irq_type() argument
389 if (flow_type == IRQ_TYPE_DEFAULT || flow_type == IRQ_TYPE_NONE) in xics_set_irq_type()
390 flow_type = IRQ_TYPE_EDGE_RISING; in xics_set_irq_type()
392 if (flow_type != IRQ_TYPE_EDGE_RISING && in xics_set_irq_type()
393 flow_type != IRQ_TYPE_LEVEL_LOW) in xics_set_irq_type()
396 irqd_set_trigger_type(d, flow_type); in xics_set_irq_type()
/linux/drivers/net/ethernet/marvell/mvpp2/
A Dmvpp2_cls.c16 .flow_type = _type, \
1373 if (info->fs.flow_type & FLOW_RSS) in mvpp2_ethtool_cls_rule_ins()
1383 efs->rule.flow_type = mvpp2_cls_ethtool_flow_to_type(info->fs.flow_type); in mvpp2_ethtool_cls_rule_ins()
1384 if (efs->rule.flow_type < 0) { in mvpp2_ethtool_cls_rule_ins()
1385 ret = efs->rule.flow_type; in mvpp2_ethtool_cls_rule_ins()
1571 if (!(rxnfc->fs.flow_type & FLOW_RSS) || in mvpp22_port_rss_ctx_delete()
1628 u32 flow_type; in mvpp2_ethtool_rxfh_set() local
1630 flow_type = mvpp2_cls_ethtool_flow_to_type(info->flow_type); in mvpp2_ethtool_rxfh_set()
1632 switch (flow_type) { in mvpp2_ethtool_rxfh_set()
1666 u32 flow_type; in mvpp2_ethtool_rxfh_get() local
[all …]
/linux/drivers/gpio/
A Dgpio-rda.c88 unsigned int flow_type) in rda_gpio_set_irq() argument
94 switch (flow_type) { in rda_gpio_set_irq()
160 static int rda_gpio_irq_set_type(struct irq_data *data, unsigned int flow_type) in rda_gpio_irq_set_type() argument
166 ret = rda_gpio_set_irq(chip, offset, flow_type); in rda_gpio_irq_set_type()
170 if (flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH)) in rda_gpio_irq_set_type()
172 else if (flow_type & (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING)) in rda_gpio_irq_set_type()
A Dgpio-hlwd.c149 unsigned int flow_type) in hlwd_gpio_irq_setup_emulation() argument
163 if (flow_type & IRQ_TYPE_EDGE_RISING) in hlwd_gpio_irq_setup_emulation()
165 if (flow_type & IRQ_TYPE_EDGE_FALLING) in hlwd_gpio_irq_setup_emulation()
169 static int hlwd_gpio_irq_set_type(struct irq_data *data, unsigned int flow_type) in hlwd_gpio_irq_set_type() argument
180 switch (flow_type) { in hlwd_gpio_irq_set_type()
194 hlwd_gpio_irq_setup_emulation(hlwd, data->hwirq, flow_type); in hlwd_gpio_irq_set_type()
/linux/drivers/net/ethernet/aquantia/atlantic/
A Daq_filters.c11 if (fsp->flow_type & FLOW_MAC_EXT) in aq_rule_is_approve()
14 switch (fsp->flow_type & ~FLOW_EXT) { in aq_rule_is_approve()
56 if (fsp1->flow_type != fsp2->flow_type || in aq_match_filter()
191 if (fsp->flow_type & FLOW_EXT) { in aq_check_filter()
203 switch (fsp->flow_type & ~FLOW_EXT) { in aq_check_filter()
254 } else if (fsp->flow_type & FLOW_MAC_EXT) { in aq_rule_is_not_support()
493 switch (fsp->flow_type) { in aq_set_data_fl3l4()
530 if (fsp->flow_type != IP_USER_FLOW && in aq_set_data_fl3l4()
531 fsp->flow_type != IPV6_USER_FLOW) { in aq_set_data_fl3l4()
593 if (aq_rx_fltr->aq_fsp.flow_type & FLOW_EXT) { in aq_add_del_rule()
[all …]
/linux/drivers/net/ethernet/sfc/
A Dethtool_common.c730 rule->flow_type = ETHER_FLOW; in efx_ethtool_get_class_rule()
754 rule->flow_type = IPV4_USER_FLOW; in efx_ethtool_get_class_rule()
774 rule->flow_type = IPV6_USER_FLOW; in efx_ethtool_get_class_rule()
796 rule->flow_type |= FLOW_EXT; in efx_ethtool_get_class_rule()
802 rule->flow_type |= FLOW_RSS; in efx_ethtool_get_class_rule()
885 if (info->fs.flow_type & FLOW_RSS) in efx_ethtool_get_rxnfc()
927 u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); in efx_ethtool_set_class_rule() local
944 if ((rule->flow_type & FLOW_EXT) && in efx_ethtool_set_class_rule()
951 if (rule->flow_type & FLOW_RSS) in efx_ethtool_set_class_rule()
958 if (rule->flow_type & FLOW_RSS) in efx_ethtool_set_class_rule()
[all …]
/linux/arch/mips/bcm63xx/
A Dirq.c278 unsigned int flow_type) in bcm63xx_external_irq_set_type() argument
285 flow_type &= IRQ_TYPE_SENSE_MASK; in bcm63xx_external_irq_set_type()
287 if (flow_type == IRQ_TYPE_NONE) in bcm63xx_external_irq_set_type()
288 flow_type = IRQ_TYPE_LEVEL_LOW; in bcm63xx_external_irq_set_type()
291 switch (flow_type) { in bcm63xx_external_irq_set_type()
365 irqd_set_trigger_type(d, flow_type); in bcm63xx_external_irq_set_type()
366 if (flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH)) in bcm63xx_external_irq_set_type()
/linux/arch/mips/kernel/
A Dirq_txx9.c112 static int txx9_irq_set_type(struct irq_data *d, unsigned int flow_type) in txx9_irq_set_type() argument
120 if (flow_type & IRQF_TRIGGER_PROBE) in txx9_irq_set_type()
122 switch (flow_type & IRQF_TRIGGER_MASK) { in txx9_irq_set_type()
/linux/drivers/net/dsa/
A Dbcm_sf2_cfp.c364 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_ipv4_rule_set()
378 if (fs->flow_type & FLOW_EXT) { in bcm_sf2_cfp_ipv4_rule_set()
595 if (rule->fs.flow_type != fs->flow_type || in bcm_sf2_cfp_rule_cmp()
600 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_rule_cmp()
616 if (rule->fs.flow_type & FLOW_EXT) { in bcm_sf2_cfp_rule_cmp()
644 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_ipv6_rule_set()
658 if (fs->flow_type & FLOW_EXT) { in bcm_sf2_cfp_ipv6_rule_set()
881 if (fs->flow_type & FLOW_EXT) { in bcm_sf2_cfp_rule_insert()
907 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_rule_insert()
934 if (fs->flow_type & FLOW_MAC_EXT) in bcm_sf2_cfp_rule_set()
[all …]
/linux/arch/mips/txx9/generic/
A Dirq_tx4939.c104 static int tx4939_irq_set_type(struct irq_data *d, unsigned int flow_type) in tx4939_irq_set_type() argument
112 if (flow_type & IRQF_TRIGGER_PROBE) in tx4939_irq_set_type()
114 switch (flow_type & IRQF_TRIGGER_MASK) { in tx4939_irq_set_type()
/linux/drivers/net/ethernet/intel/iavf/
A Diavf_fdir.c535 switch (fltr->flow_type) { in iavf_fill_fdir_add_msg()
606 static const char *iavf_fdir_flow_proto_name(enum iavf_fdir_flow_type flow_type) in iavf_fdir_flow_proto_name() argument
608 switch (flow_type) { in iavf_fdir_flow_proto_name()
643 const char *proto = iavf_fdir_flow_proto_name(fltr->flow_type); in iavf_print_fdir_fltr()
648 switch (fltr->flow_type) { in iavf_print_fdir_fltr()
727 if (tmp->flow_type != fltr->flow_type) in iavf_fdir_is_dup_fltr()

Completed in 57 milliseconds

12345