Home
last modified time | relevance | path

Searched refs:promisc (Results 1 – 25 of 37) sorted by relevance

12

/drivers/net/ethernet/cisco/enic/
Denic_dev.c79 int broadcast, int promisc, int allmulti) in enic_dev_packet_filter() argument
85 multicast, broadcast, promisc, allmulti); in enic_dev_packet_filter()
Denic_dev.h47 int broadcast, int promisc, int allmulti);
Dvnic_dev.h138 int broadcast, int promisc, int allmulti);
Dvnic_dev.c757 int broadcast, int promisc, int allmulti) in vnic_dev_packet_filter() argument
766 (promisc ? CMD_PFILTER_PROMISCUOUS : 0) | in vnic_dev_packet_filter()
/drivers/net/ethernet/mellanox/mlx4/
Dport.c705 u32 promisc; in mlx4_common_set_port() local
734 promisc = be32_to_cpu(qpn_context->promisc) >> in mlx4_common_set_port()
736 qpn_context->promisc = cpu_to_be32( in mlx4_common_set_port()
737 promisc << SET_PORT_PROMISC_SHIFT | in mlx4_common_set_port()
739 promisc = be32_to_cpu(qpn_context->mcast) >> in mlx4_common_set_port()
742 promisc << SET_PORT_MC_PROMISC_SHIFT | in mlx4_common_set_port()
1001 u8 promisc) in mlx4_SET_PORT_qpn_calc() argument
1019 context->promisc = cpu_to_be32(promisc << SET_PORT_PROMISC_SHIFT | in mlx4_SET_PORT_qpn_calc()
/drivers/net/ethernet/wiznet/
Dw5300.c100 bool promisc; member
273 w5300_write(priv, W5300_S0_MR, priv->promisc ? in w5300_hw_start()
479 if (priv->promisc != set_promisc) { in w5300_set_rx_mode()
480 priv->promisc = set_promisc; in w5300_set_rx_mode()
Dw5100.c104 bool promisc; member
355 w5100_write(priv, W5100_S0_MR, priv->promisc ? in w5100_hw_start()
559 if (priv->promisc != set_promisc) { in w5100_set_rx_mode()
560 priv->promisc = set_promisc; in w5100_set_rx_mode()
/drivers/net/wireless/orinoco/
Dhw.h46 int mc_count, int promisc);
Dhw.c1069 int mc_count, int promisc) in __orinoco_hw_set_multicast_list() argument
1074 if (promisc != priv->promiscuous) { in __orinoco_hw_set_multicast_list()
1077 promisc); in __orinoco_hw_set_multicast_list()
1082 priv->promiscuous = promisc; in __orinoco_hw_set_multicast_list()
1088 if (!promisc && (mc_count || priv->mc_count)) { in __orinoco_hw_set_multicast_list()
Dmain.c1717 int promisc, mc_count; in __orinoco_set_multicast_list() local
1723 promisc = 1; in __orinoco_set_multicast_list()
1726 promisc = 0; in __orinoco_set_multicast_list()
1730 err = __orinoco_hw_set_multicast_list(priv, dev, mc_count, promisc); in __orinoco_set_multicast_list()
/drivers/net/ethernet/i825xx/
Dsun3_82586.h238 unsigned char promisc; /* promisc-mode(0) , et al (1-7) */ member
Dsun3_82586.c431 cfg_cmd->promisc = 0; in init586()
436 cfg_cmd->promisc = 1; in init586()
440 cfg_cmd->promisc = 1; in init586()
/drivers/scsi/fnic/
Dvnic_dev.h134 int broadcast, int promisc, int allmulti);
Dvnic_dev.c473 int broadcast, int promisc, int allmulti) in vnic_dev_packet_filter() argument
482 (promisc ? CMD_PFILTER_PROMISCUOUS : 0) | in vnic_dev_packet_filter()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c1134 int mtu, int promisc, int all_multi, int bcast, int vlanex, in t4vf_set_rxmode() argument
1142 if (promisc < 0) in t4vf_set_rxmode()
1143 promisc = FW_VI_RXMODE_CMD_PROMISCEN_M; in t4vf_set_rxmode()
1159 FW_VI_RXMODE_CMD_PROMISCEN_V(promisc) | in t4vf_set_rxmode()
/drivers/net/ethernet/alteon/
Dacenic.c2263 ap->promisc = 1; in ace_open()
2265 ap->promisc = 0; in ace_open()
2301 if (ap->promisc) { in ace_close()
2306 ap->promisc = 0; in ace_close()
2765 if ((dev->flags & IFF_PROMISC) && !(ap->promisc)) { in ace_set_multicast_list()
2770 ap->promisc = 1; in ace_set_multicast_list()
2771 }else if (!(dev->flags & IFF_PROMISC) && (ap->promisc)) { in ace_set_multicast_list()
2776 ap->promisc = 0; in ace_set_multicast_list()
/drivers/net/wireless/
Dray_cs.c1806 UCHAR promisc; in set_multicast_list() local
1814 promisc = 1; in set_multicast_list()
1816 &promisc, sizeof(promisc)); in set_multicast_list()
1822 promisc = 0; in set_multicast_list()
1824 &promisc, sizeof(promisc)); in set_multicast_list()
Dat76c50x-usb.h408 int promisc; member
Dat76c50x-usb.c1486 priv->mib_buf.data.byte = priv->promisc ? 1 : 0; in at76_work_set_promisc()
2084 if (flags && !priv->promisc) { in at76_configure_filter()
2086 priv->promisc = 1; in at76_configure_filter()
2087 } else if (!flags && priv->promisc) { in at76_configure_filter()
2089 priv->promisc = 0; in at76_configure_filter()
/drivers/staging/wlan-ng/
Dprism2sta.c926 u16 promisc; in prism2sta_setmulticast() local
933 promisc = P80211ENUM_truth_true; in prism2sta_setmulticast()
935 promisc = P80211ENUM_truth_false; in prism2sta_setmulticast()
939 promisc); in prism2sta_setmulticast()
/drivers/net/ethernet/ibm/ehea/
Dehea.h454 int promisc; /* Indicates IFF_PROMISC state */ member
/drivers/net/ethernet/mellanox/mlx5/core/
Den_flow_table.c725 mlx5e_add_eth_addr_rule(priv, &ea->promisc, MLX5E_PROMISC); in mlx5e_set_rx_mode_work()
745 mlx5e_del_eth_addr_from_flow_table(priv, &ea->promisc); in mlx5e_set_rx_mode_work()
Den.h455 struct mlx5e_eth_addr_info promisc; member
/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.c931 priv->promisc = (dev->flags & IFF_PROMISC) ? 1 : 0; in _rtl92e_init_priv_variable()
2257 short promisc; in _rtl92e_set_multicast() local
2259 promisc = (dev->flags & IFF_PROMISC) ? 1 : 0; in _rtl92e_set_multicast()
2260 priv->promisc = promisc; in _rtl92e_set_multicast()
Drtl_core.h424 short promisc; member

12