/linux-4.4.14/arch/powerpc/sysdev/ |
D | cpm2_pic.c | 132 static int cpm2_set_irq_type(struct irq_data *d, unsigned int flow_type) in cpm2_set_irq_type() argument 142 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() [all …]
|
D | ehv_pic.c | 111 int ehv_pic_set_irq_type(struct irq_data *d, unsigned int flow_type) in ehv_pic_set_irq_type() argument 117 if (flow_type == IRQ_TYPE_NONE) in ehv_pic_set_irq_type() 118 flow_type = IRQ_TYPE_LEVEL_LOW; in ehv_pic_set_irq_type() 120 irqd_set_trigger_type(d, flow_type); in ehv_pic_set_irq_type() 122 vecpri = ehv_pic_type_to_vecpri(flow_type); in ehv_pic_set_irq_type()
|
D | ipic.c | 601 static int ipic_set_irq_type(struct irq_data *d, unsigned int flow_type) in ipic_set_irq_type() argument 607 if (flow_type == IRQ_TYPE_NONE) in ipic_set_irq_type() 608 flow_type = IRQ_TYPE_LEVEL_LOW; in ipic_set_irq_type() 612 if (!(flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_EDGE_FALLING))) { in ipic_set_irq_type() 614 flow_type); in ipic_set_irq_type() 618 if ((flow_type & IRQ_TYPE_EDGE_FALLING) && !ipic_info[src].ack) { in ipic_set_irq_type() 625 irqd_set_trigger_type(d, flow_type); in ipic_set_irq_type() 626 if (flow_type & IRQ_TYPE_LEVEL_LOW) { in ipic_set_irq_type() 643 return (flow_type & IRQ_TYPE_LEVEL_LOW) ? 0 : -EINVAL; in ipic_set_irq_type() 646 if ((flow_type & IRQ_TYPE_SENSE_MASK) == IRQ_TYPE_EDGE_FALLING) { in ipic_set_irq_type()
|
D | mpc8xx_pic.c | 51 static int mpc8xx_set_irq_type(struct irq_data *d, unsigned int flow_type) in mpc8xx_set_irq_type() argument 54 if ((flow_type & IRQ_TYPE_EDGE_FALLING) && !(irqd_to_hwirq(d) & 1)) { in mpc8xx_set_irq_type()
|
D | mpic.h | 37 extern int mpic_set_irq_type(struct irq_data *d, unsigned int flow_type);
|
D | mpic.c | 867 int mpic_set_irq_type(struct irq_data *d, unsigned int flow_type) in mpic_set_irq_type() argument 874 mpic, d->irq, src, flow_type); in mpic_set_irq_type() 882 if (flow_type == IRQ_TYPE_NONE) in mpic_set_irq_type() 883 flow_type = IRQ_TYPE_DEFAULT; in mpic_set_irq_type() 886 if (flow_type == IRQ_TYPE_DEFAULT) { in mpic_set_irq_type() 894 flow_type = IRQ_TYPE_EDGE_RISING; in mpic_set_irq_type() 897 flow_type = IRQ_TYPE_EDGE_FALLING; in mpic_set_irq_type() 900 flow_type = IRQ_TYPE_LEVEL_HIGH; in mpic_set_irq_type() 903 flow_type = IRQ_TYPE_LEVEL_LOW; in mpic_set_irq_type() 909 irqd_set_trigger_type(d, flow_type); in mpic_set_irq_type() [all …]
|
D | uic.c | 122 static int uic_set_irq_type(struct irq_data *d, unsigned int flow_type) in uic_set_irq_type() argument 130 switch (flow_type & IRQ_TYPE_SENSE_MASK) { in uic_set_irq_type()
|
D | xilinx_intc.c | 82 static int xilinx_intc_set_type(struct irq_data *d, unsigned int flow_type) in xilinx_intc_set_type() argument
|
/linux-4.4.14/arch/avr32/mach-at32ap/ |
D | extint.c | 89 static int eic_set_irq_type(struct irq_data *d, unsigned int flow_type) in eic_set_irq_type() argument 96 flow_type &= IRQ_TYPE_SENSE_MASK; in eic_set_irq_type() 97 if (flow_type == IRQ_TYPE_NONE) in eic_set_irq_type() 98 flow_type = IRQ_TYPE_LEVEL_LOW; in eic_set_irq_type() 104 switch (flow_type) { in eic_set_irq_type() 129 irqd_set_trigger_type(d, flow_type); in eic_set_irq_type() 130 if (flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH)) in eic_set_irq_type()
|
/linux-4.4.14/drivers/irqchip/ |
D | irq-tb10x.c | 54 static int tb10x_irq_set_type(struct irq_data *data, unsigned int flow_type) in tb10x_irq_set_type() argument 66 switch (flow_type & IRQF_TRIGGER_MASK) { in tb10x_irq_set_type() 74 flow_type = IRQ_TYPE_LEVEL_LOW; in tb10x_irq_set_type() 88 irqd_set_trigger_type(data, flow_type); in tb10x_irq_set_type() 89 irq_setup_alt_chip(data, flow_type); in tb10x_irq_set_type()
|
D | irq-sunxi-nmi.c | 75 static int sunxi_sc_nmi_set_type(struct irq_data *data, unsigned int flow_type) in sunxi_sc_nmi_set_type() argument 86 switch (flow_type & IRQF_TRIGGER_MASK) { in sunxi_sc_nmi_set_type() 107 irqd_set_trigger_type(data, flow_type); in sunxi_sc_nmi_set_type() 108 irq_setup_alt_chip(data, flow_type); in sunxi_sc_nmi_set_type() 111 if (ct->type & flow_type) in sunxi_sc_nmi_set_type()
|
D | irq-vt8500.c | 115 static int vt8500_irq_set_type(struct irq_data *d, unsigned int flow_type) in vt8500_irq_set_type() argument 124 switch (flow_type) { in vt8500_irq_set_type()
|
D | irq-imgpdc.c | 150 static int syswake_irq_set_type(struct irq_data *data, unsigned int flow_type) in syswake_irq_set_type() argument 158 switch (flow_type) { in syswake_irq_set_type() 188 irq_setup_alt_chip(data, flow_type); in syswake_irq_set_type()
|
D | irq-metag-ext.c | 402 static int meta_intc_irq_set_type(struct irq_data *data, unsigned int flow_type) in meta_intc_irq_set_type() argument 414 if (flow_type & IRQ_TYPE_LEVEL_MASK) in meta_intc_irq_set_type() 424 if (flow_type & IRQ_TYPE_LEVEL_MASK) in meta_intc_irq_set_type()
|
/linux-4.4.14/arch/mips/bcm63xx/ |
D | irq.c | 279 unsigned int flow_type) in bcm63xx_external_irq_set_type() argument 286 flow_type &= IRQ_TYPE_SENSE_MASK; in bcm63xx_external_irq_set_type() 288 if (flow_type == IRQ_TYPE_NONE) in bcm63xx_external_irq_set_type() 289 flow_type = IRQ_TYPE_LEVEL_LOW; in bcm63xx_external_irq_set_type() 292 switch (flow_type) { in bcm63xx_external_irq_set_type() 366 irqd_set_trigger_type(d, flow_type); in bcm63xx_external_irq_set_type() 367 if (flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH)) in bcm63xx_external_irq_set_type()
|
/linux-4.4.14/arch/mips/kernel/ |
D | irq_txx9.c | 112 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-4.4.14/arch/mips/txx9/generic/ |
D | irq_tx4939.c | 104 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-4.4.14/drivers/mfd/ |
D | pm8921-core.c | 209 static int pm8xxx_irq_set_type(struct irq_data *d, unsigned int flow_type) in pm8xxx_irq_set_type() argument 221 if (flow_type & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) { in pm8xxx_irq_set_type() 222 if (flow_type & IRQF_TRIGGER_RISING) in pm8xxx_irq_set_type() 224 if (flow_type & IRQF_TRIGGER_FALLING) in pm8xxx_irq_set_type() 229 if (flow_type & IRQF_TRIGGER_HIGH) in pm8xxx_irq_set_type()
|
D | htc-i2cpld.c | 61 unsigned int flow_type; member 110 chip->flow_type = flags; in htcpld_set_type() 191 unsigned oldb, newb, type = chip->flow_type; in htcpld_handler()
|
/linux-4.4.14/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pic.c | 176 static int mpc52xx_extirq_set_type(struct irq_data *d, unsigned int flow_type) in mpc52xx_extirq_set_type() argument 183 (int) irqd_to_hwirq(d), l2irq, flow_type); in mpc52xx_extirq_set_type() 185 switch (flow_type) { in mpc52xx_extirq_set_type() 215 static int mpc52xx_null_set_type(struct irq_data *d, unsigned int flow_type) in mpc52xx_null_set_type() argument
|
D | mpc52xx_gpt.c | 166 static int mpc52xx_gpt_irq_set_type(struct irq_data *d, unsigned int flow_type) in mpc52xx_gpt_irq_set_type() argument 172 dev_dbg(gpt->dev, "%s: virq=%i type=%x\n", __func__, d->irq, flow_type); in mpc52xx_gpt_irq_set_type() 176 if (flow_type & IRQF_TRIGGER_RISING) in mpc52xx_gpt_irq_set_type() 178 if (flow_type & IRQF_TRIGGER_FALLING) in mpc52xx_gpt_irq_set_type()
|
/linux-4.4.14/arch/mips/jz4740/ |
D | gpio.c | 343 static int jz_gpio_irq_set_type(struct irq_data *data, unsigned int flow_type) in jz_gpio_irq_set_type() argument 348 if (flow_type == IRQ_TYPE_EDGE_BOTH) { in jz_gpio_irq_set_type() 351 flow_type = IRQ_TYPE_EDGE_FALLING; in jz_gpio_irq_set_type() 353 flow_type = IRQ_TYPE_EDGE_RISING; in jz_gpio_irq_set_type() 359 switch (flow_type) { in jz_gpio_irq_set_type()
|
/linux-4.4.14/arch/arm/mach-pxa/ |
D | pxa3xx.c | 309 static int pxa_set_ext_wakeup_type(struct irq_data *d, unsigned int flow_type) in pxa_set_ext_wakeup_type() argument 311 if (flow_type & IRQ_TYPE_EDGE_RISING) in pxa_set_ext_wakeup_type() 314 if (flow_type & IRQ_TYPE_EDGE_FALLING) in pxa_set_ext_wakeup_type()
|
/linux-4.4.14/include/linux/ |
D | ethtool.h | 21 u32 flow_type; member 32 u32 flow_type; member
|
D | irq.h | 361 int (*irq_set_type)(struct irq_data *data, unsigned int flow_type);
|
/linux-4.4.14/arch/arm/mach-davinci/ |
D | cp_intc.c | 54 static int cp_intc_set_irq_type(struct irq_data *d, unsigned int flow_type) in cp_intc_set_irq_type() argument 61 switch (flow_type) { in cp_intc_set_irq_type()
|
/linux-4.4.14/arch/mips/pnx833x/common/ |
D | interrupts.c | 209 static int pnx833x_set_type_gpio_irq(struct irq_data *d, unsigned int flow_type) in pnx833x_set_type_gpio_irq() argument 214 switch (flow_type) { in pnx833x_set_type_gpio_irq()
|
/linux-4.4.14/drivers/gpio/ |
D | gpio-mpc8xxx.c | 246 static int mpc8xxx_irq_set_type(struct irq_data *d, unsigned int flow_type) in mpc8xxx_irq_set_type() argument 252 switch (flow_type) { in mpc8xxx_irq_set_type() 274 static int mpc512x_irq_set_type(struct irq_data *d, unsigned int flow_type) in mpc512x_irq_set_type() argument 291 switch (flow_type) { in mpc512x_irq_set_type()
|
D | gpio-tz1090.c | 320 static int gpio_set_irq_type(struct irq_data *data, unsigned int flow_type) in gpio_set_irq_type() argument 326 switch (flow_type) { in gpio_set_irq_type() 352 irq_setup_alt_chip(data, flow_type); in gpio_set_irq_type() 354 if (flow_type == IRQ_TYPE_EDGE_BOTH) in gpio_set_irq_type()
|
D | gpio-sx150x.c | 374 static int sx150x_irq_set_type(struct irq_data *d, unsigned int flow_type) in sx150x_irq_set_type() argument 379 if (flow_type & (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_LEVEL_LOW)) in sx150x_irq_set_type() 384 if (flow_type & IRQ_TYPE_EDGE_RISING) in sx150x_irq_set_type() 386 if (flow_type & IRQ_TYPE_EDGE_FALLING) in sx150x_irq_set_type()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | opal-irqchip.c | 101 static int opal_event_set_type(struct irq_data *d, unsigned int flow_type) in opal_event_set_type() argument 108 if (flow_type != IRQ_TYPE_LEVEL_HIGH) in opal_event_set_type()
|
/linux-4.4.14/drivers/spmi/ |
D | spmi-pmic-arb.c | 544 static int qpnpint_irq_set_type(struct irq_data *d, unsigned int flow_type) in qpnpint_irq_set_type() argument 551 if (flow_type & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) { in qpnpint_irq_set_type() 553 if (flow_type & IRQF_TRIGGER_RISING) in qpnpint_irq_set_type() 555 if (flow_type & IRQF_TRIGGER_FALLING) in qpnpint_irq_set_type() 558 if ((flow_type & (IRQF_TRIGGER_HIGH)) && in qpnpint_irq_set_type() 559 (flow_type & (IRQF_TRIGGER_LOW))) in qpnpint_irq_set_type() 563 if (flow_type & IRQF_TRIGGER_HIGH) in qpnpint_irq_set_type()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 2355 switch (rule->filter.formatted.flow_type) { in ixgbe_get_ethtool_fdir_entry() 2357 fsp->flow_type = TCP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2360 fsp->flow_type = UDP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2363 fsp->flow_type = SCTP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2366 fsp->flow_type = IP_USER_FLOW; in ixgbe_get_ethtool_fdir_entry() 2389 fsp->flow_type |= FLOW_EXT; in ixgbe_get_ethtool_fdir_entry() 2430 switch (cmd->flow_type) { in ixgbe_get_rss_hash_opts() 2555 u8 *flow_type) in ixgbe_flowspec_to_flow_type() argument 2557 switch (fsp->flow_type & ~FLOW_EXT) { in ixgbe_flowspec_to_flow_type() 2559 *flow_type = IXGBE_ATR_FLOW_TYPE_TCPV4; in ixgbe_flowspec_to_flow_type() [all …]
|
D | ixgbe_82599.c | 1390 u8 flow_type; in ixgbe_fdir_add_signature_filter_82599() local 1398 tunnel = !!(input.formatted.flow_type & IXGBE_ATR_L4TYPE_TUNNEL_MASK); in ixgbe_fdir_add_signature_filter_82599() 1399 flow_type = input.formatted.flow_type & in ixgbe_fdir_add_signature_filter_82599() 1401 switch (flow_type) { in ixgbe_fdir_add_signature_filter_82599() 1417 fdircmd |= (u32)flow_type << IXGBE_FDIRCMD_FLOW_TYPE_SHIFT; in ixgbe_fdir_add_signature_filter_82599() 1572 switch (input_mask->formatted.flow_type & IXGBE_ATR_L4TYPE_MASK) { in ixgbe_fdir_set_input_mask_82599() 1695 fdircmd |= input->formatted.flow_type << IXGBE_FDIRCMD_FLOW_TYPE_SHIFT; in ixgbe_fdir_write_perfect_filter_82599()
|
D | ixgbe_type.h | 2906 u8 flow_type; member 2922 u8 flow_type; member
|
D | ixgbe_main.c | 7423 input.formatted.flow_type = IXGBE_ATR_FLOW_TYPE_TCPV4; in ixgbe_atr() 7426 input.formatted.flow_type = IXGBE_ATR_FLOW_TYPE_TCPV6; in ixgbe_atr() 7439 input.formatted.flow_type |= IXGBE_ATR_L4TYPE_TUNNEL_MASK; in ixgbe_atr()
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | ethtool.c | 818 rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ? in efx_ethtool_get_class_rule() 840 rule->flow_type = ETHER_FLOW; in efx_ethtool_get_class_rule() 865 rule->flow_type |= FLOW_EXT; in efx_ethtool_get_class_rule() 888 switch (info->flow_type) { in efx_ethtool_get_rxnfc() 969 if ((rule->flow_type & FLOW_EXT) && in efx_ethtool_set_class_rule() 979 switch (rule->flow_type & ~FLOW_EXT) { in efx_ethtool_set_class_rule() 985 spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V4_FLOW ? in efx_ethtool_set_class_rule() 1044 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in efx_ethtool_set_class_rule()
|
/linux-4.4.14/arch/powerpc/platforms/85xx/ |
D | socrates_fpga_pic.c | 192 unsigned int flow_type) in socrates_fpga_pic_set_type() argument 202 switch (flow_type & IRQ_TYPE_SENSE_MASK) { in socrates_fpga_pic_set_type()
|
/linux-4.4.14/include/uapi/linux/ |
D | ethtool.h | 796 __u32 flow_type; member 884 __u32 flow_type; member 964 __u32 flow_type; member
|
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_ethtool.c | 339 switch (cmd->flow_type) { in sxgbe_get_rss_hash_opts() 396 switch (cmd->flow_type) { in sxgbe_set_rss_hash_opt()
|
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 431 switch (info->flow_type) { in nicvf_get_rss_hash_opts() 480 info->flow_type, info->data); in nicvf_set_rss_hash_opts() 485 switch (info->flow_type) { in nicvf_set_rss_hash_opts()
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
D | niu.c | 6927 static void niu_ethflow_to_l3proto(int flow_type, u8 *pid) in niu_ethflow_to_l3proto() argument 6929 switch (flow_type) { in niu_ethflow_to_l3proto() 6956 static int niu_class_to_ethflow(u64 class, int *flow_type) in niu_class_to_ethflow() argument 6960 *flow_type = TCP_V4_FLOW; in niu_class_to_ethflow() 6963 *flow_type = UDP_V4_FLOW; in niu_class_to_ethflow() 6966 *flow_type = AH_V4_FLOW; in niu_class_to_ethflow() 6969 *flow_type = SCTP_V4_FLOW; in niu_class_to_ethflow() 6972 *flow_type = TCP_V6_FLOW; in niu_class_to_ethflow() 6975 *flow_type = UDP_V6_FLOW; in niu_class_to_ethflow() 6978 *flow_type = AH_V6_FLOW; in niu_class_to_ethflow() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 1966 cmd->flow_type = pf->vsi[pf->lan_vsi]->rxnfc.flow_type; in i40e_get_rss_hash_opts() 1970 switch (cmd->flow_type) { in i40e_get_rss_hash_opts() 2063 fsp->flow_type = rule->flow_type; in i40e_get_ethtool_fdir_entry() 2064 if (fsp->flow_type == IP_USER_FLOW) { in i40e_get_ethtool_fdir_entry() 2163 switch (nfc->flow_type) { in i40e_set_rss_hash_opt() 2436 input->flow_type = fsp->flow_type; in i40e_add_fdir_ethtool()
|
D | i40e.h | 208 u8 flow_type; member
|
D | i40e_txrx.c | 406 switch (input->flow_type & ~FLOW_EXT) { in i40e_add_del_fdir() 437 input->flow_type); in i40e_add_del_fdir()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 876 if (!gfar_ethflow_to_filer_table(priv, cmd->data, cmd->flow_type)) in gfar_set_hash_opts() 1172 if ((rule->flow_type & FLOW_EXT) && in gfar_convert_to_filer() 1197 switch (rule->flow_type & ~FLOW_EXT) { in gfar_convert_to_filer() 1299 if (flow->flow_type & FLOW_EXT) { in gfar_check_capability() 1307 if (flow->flow_type == IP_USER_FLOW) in gfar_check_capability()
|
/linux-4.4.14/drivers/net/ethernet/cisco/enic/ |
D | enic_ethtool.c | 370 fsp->flow_type = TCP_V4_FLOW; in enic_grxclsrule() 373 fsp->flow_type = UDP_V4_FLOW; in enic_grxclsrule()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40evf_ethtool.c | 382 switch (cmd->flow_type) { in i40evf_get_rss_hash_opts() 478 switch (nfc->flow_type) { in i40evf_set_rss_hash_opt()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 1003 static u64 be_get_rss_hash_opts(struct be_adapter *adapter, u64 flow_type) in be_get_rss_hash_opts() argument 1007 switch (flow_type) { in be_get_rss_hash_opts() 1050 cmd->data = be_get_rss_hash_opts(adapter, cmd->flow_type); in be_get_rxnfc() 1072 switch (cmd->flow_type) { in be_set_rss_hash_opts()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 1234 if (cmd->fs.flow_type & FLOW_MAC_EXT) { in mlx4_en_validate_flow() 1240 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_validate_flow() 1279 if ((cmd->fs.flow_type & FLOW_EXT)) { in mlx4_en_validate_flow() 1309 if ((cmd->fs.flow_type & FLOW_EXT) && in mlx4_en_ethtool_add_mac_rule() 1330 if (cmd->fs.flow_type & FLOW_MAC_EXT) in mlx4_en_ethtool_add_mac_rule_by_ipv4() 1463 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_ethtool_to_net_trans_rule()
|
D | mcg.c | 760 enum mlx4_net_trans_promisc_mode flow_type) in mlx4_map_sw_to_hw_steering_mode() argument 762 if (flow_type >= MLX4_FS_MODE_NUM) { in mlx4_map_sw_to_hw_steering_mode() 763 mlx4_err(dev, "Invalid flow type. type = %d\n", flow_type); in mlx4_map_sw_to_hw_steering_mode() 766 return __promisc_mode[flow_type]; in mlx4_map_sw_to_hw_steering_mode()
|
/linux-4.4.14/drivers/vlynq/ |
D | vlynq.c | 164 static int vlynq_irq_type(struct irq_data *d, unsigned int flow_type) in vlynq_irq_type() argument 173 switch (flow_type & IRQ_TYPE_SENSE_MASK) { in vlynq_irq_type()
|
/linux-4.4.14/arch/mips/alchemy/common/ |
D | irq.c | 426 static int au1x_ic_settype(struct irq_data *d, unsigned int flow_type) in au1x_ic_settype() argument 450 switch (flow_type) { /* cfgregs 2:1:0 */ in au1x_ic_settype()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 3271 switch (info->flow_type) { in bnx2x_get_rss_flags() 3326 info->flow_type, info->data); in bnx2x_set_rss_flags() 3328 switch (info->flow_type) { in bnx2x_set_rss_flags() 3357 if ((info->flow_type == UDP_V4_FLOW) && in bnx2x_set_rss_flags() 3364 } else if ((info->flow_type == UDP_V6_FLOW) && in bnx2x_set_rss_flags()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 334 fs->flow_type = TCP_V4_FLOW; in bnxt_grxclsrule() 336 fs->flow_type = UDP_V4_FLOW; in bnxt_grxclsrule()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_ethtool.c | 757 switch (cmd->flow_type) { in fm10k_get_rss_hash_opts() 825 switch (nfc->flow_type) { in fm10k_set_rss_hash_opt()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | main.c | 1462 enum mlx4_net_trans_promisc_mode flow_type, in __mlx4_ib_create_flow() argument 1490 if (mlx4_map_sw_to_hw_steering_mode(mdev->dev, flow_type) < 0) in __mlx4_ib_create_flow() 1500 ctrl->type = mlx4_map_sw_to_hw_steering_mode(mdev->dev, flow_type); in __mlx4_ib_create_flow()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 1042 switch (info->flow_type) { in get_rxnfc()
|
/linux-4.4.14/include/linux/mlx4/ |
D | device.h | 1395 enum mlx4_net_trans_promisc_mode flow_type);
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb_ethtool.c | 2430 switch (cmd->flow_type) { in igb_get_rss_hash_opts() 2501 switch (nfc->flow_type) { in igb_set_rss_hash_opt()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | ethtool.c | 2120 switch (info->flow_type) { in e1000_get_rxnfc()
|