Home
last modified time | relevance | path

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

123

/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);
/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c431 bool promisc) in hw_atl2_hw_new_rx_filter_vlan_promisc() argument
433 u16 off_action = (!promisc && in hw_atl2_hw_new_rx_filter_vlan_promisc()
445 static void hw_atl2_hw_new_rx_filter_promisc(struct aq_hw_s *self, bool promisc) in hw_atl2_hw_new_rx_filter_promisc() argument
447 u16 off_action = promisc ? HW_ATL2_ACTION_DISABLE : HW_ATL2_ACTION_DROP; in hw_atl2_hw_new_rx_filter_promisc()
460 hw_atl2_hw_new_rx_filter_vlan_promisc(self, promisc | in hw_atl2_hw_new_rx_filter_promisc()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c710 struct mlx5_flow_table *ft = priv->fs.promisc.ft.t; in mlx5e_add_promisc_rule()
723 rule_p = &priv->fs.promisc.rule; in mlx5e_add_promisc_rule()
736 struct mlx5e_flow_table *ft = &priv->fs.promisc.ft; in mlx5e_create_promisc_table()
767 if (WARN(!priv->fs.promisc.rule, "Trying to remove non-existing promiscuous rule")) in mlx5e_del_promisc_rule()
769 mlx5_del_flow_rules(priv->fs.promisc.rule); in mlx5e_del_promisc_rule()
770 priv->fs.promisc.rule = NULL; in mlx5e_del_promisc_rule()
775 if (WARN(!priv->fs.promisc.ft.t, "Trying to remove non-existing promiscuous table")) in mlx5e_destroy_promisc_table()
778 mlx5_destroy_flow_table(priv->fs.promisc.ft.t); in mlx5e_destroy_promisc_table()
779 priv->fs.promisc.ft.t = NULL; in mlx5e_destroy_promisc_table()
Deswitch.c638 bool promisc, bool mc_promisc) in esw_apply_vport_rx_mode() argument
643 goto promisc; in esw_apply_vport_rx_mode()
658 goto promisc; in esw_apply_vport_rx_mode()
665 promisc: in esw_apply_vport_rx_mode()
666 if (IS_ERR_OR_NULL(vport->promisc_rule) != promisc) in esw_apply_vport_rx_mode()
669 if (promisc) { in esw_apply_vport_rx_mode()
/drivers/net/ethernet/wiznet/
Dw5300.c98 bool promisc; member
263 w5300_write(priv, W5300_S0_MR, priv->promisc ? in w5300_hw_start()
462 if (priv->promisc != set_promisc) { in w5300_set_rx_mode()
463 priv->promisc = set_promisc; in w5300_set_rx_mode()
Dw5100.c164 bool promisc; member
695 if (!priv->promisc) { in w5100_hw_start()
971 if (priv->promisc != set_promisc) { in w5100_set_rx_mode()
972 priv->promisc = set_promisc; in w5100_set_rx_mode()
/drivers/net/ethernet/freescale/fman/
Dmac.h61 bool promisc; member
/drivers/net/wireless/intersil/orinoco/
Dhw.h47 int mc_count, int promisc);
Dhw.c1075 int mc_count, int promisc) in __orinoco_hw_set_multicast_list() argument
1080 if (promisc != priv->promiscuous) { in __orinoco_hw_set_multicast_list()
1083 promisc); in __orinoco_hw_set_multicast_list()
1088 priv->promiscuous = promisc; in __orinoco_hw_set_multicast_list()
1094 if (!promisc && (mc_count || priv->mc_count)) { in __orinoco_hw_set_multicast_list()
Dmain.c1701 int promisc, mc_count; in __orinoco_set_multicast_list() local
1707 promisc = 1; in __orinoco_set_multicast_list()
1710 promisc = 0; in __orinoco_set_multicast_list()
1714 err = __orinoco_hw_set_multicast_list(priv, dev, mc_count, promisc); in __orinoco_set_multicast_list()
/drivers/net/ethernet/mellanox/mlx4/
Dport.c1346 u32 promisc; in mlx4_common_set_port() local
1376 promisc = be32_to_cpu(qpn_context->promisc) >> in mlx4_common_set_port()
1378 qpn_context->promisc = cpu_to_be32( in mlx4_common_set_port()
1379 promisc << SET_PORT_PROMISC_SHIFT | in mlx4_common_set_port()
1381 promisc = be32_to_cpu(qpn_context->mcast) >> in mlx4_common_set_port()
1384 promisc << SET_PORT_MC_PROMISC_SHIFT | in mlx4_common_set_port()
1643 u8 promisc) in mlx4_SET_PORT_qpn_calc() argument
1661 context->promisc = cpu_to_be32(promisc << SET_PORT_PROMISC_SHIFT | in mlx4_SET_PORT_qpn_calc()
/drivers/net/ethernet/i825xx/
Dsun3_82586.h238 unsigned char promisc; /* promisc-mode(0) , et al (1-7) */ member
Dsun3_82586.c428 cfg_cmd->promisc = 0; in init586()
433 cfg_cmd->promisc = 1; in init586()
437 cfg_cmd->promisc = 1; in init586()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h174 struct mlx5e_promisc_table promisc; member
/drivers/scsi/fnic/
Dvnic_dev.h136 int broadcast, int promisc, int allmulti);
/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/alteon/
Dacenic.c2256 ap->promisc = 1; in ace_open()
2258 ap->promisc = 0; in ace_open()
2294 if (ap->promisc) { in ace_close()
2299 ap->promisc = 0; in ace_close()
2758 if ((dev->flags & IFF_PROMISC) && !(ap->promisc)) { in ace_set_multicast_list()
2763 ap->promisc = 1; in ace_set_multicast_list()
2764 }else if (!(dev->flags & IFF_PROMISC) && (ap->promisc)) { in ace_set_multicast_list()
2769 ap->promisc = 0; in ace_set_multicast_list()
/drivers/net/wireless/
Dray_cs.c1799 UCHAR promisc; in set_multicast_list() local
1807 promisc = 1; in set_multicast_list()
1809 &promisc, sizeof(promisc)); in set_multicast_list()
1815 promisc = 0; in set_multicast_list()
1817 &promisc, sizeof(promisc)); in set_multicast_list()
/drivers/net/ethernet/ti/
Dnetcp.h209 int (*set_rx_mode)(void *intf_priv, bool promisc);
Dnetcp_core.c1497 static int netcp_set_promiscuous(struct netcp_intf *netcp, bool promisc) in netcp_set_promiscuous() argument
1508 error = module->set_rx_mode(priv->module_priv, promisc); in netcp_set_promiscuous()
1519 bool promisc; in netcp_set_rx_mode() local
1521 promisc = (ndev->flags & IFF_PROMISC || in netcp_set_rx_mode()
1538 if (promisc) in netcp_set_rx_mode()
1544 netcp_set_promiscuous(netcp, promisc); in netcp_set_rx_mode()
Dam65-cpsw-nuss.c284 bool promisc) in am65_cpsw_slave_set_promisc() argument
288 if (promisc && !common->is_emac_mode) { in am65_cpsw_slave_set_promisc()
293 if (promisc) { in am65_cpsw_slave_set_promisc()
311 bool promisc; in am65_cpsw_nuss_ndo_slave_set_rx_mode() local
313 promisc = !!(ndev->flags & IFF_PROMISC); in am65_cpsw_nuss_ndo_slave_set_rx_mode()
314 am65_cpsw_slave_set_promisc(port, promisc); in am65_cpsw_nuss_ndo_slave_set_rx_mode()
316 if (promisc) in am65_cpsw_nuss_ndo_slave_set_rx_mode()
/drivers/net/ethernet/ibm/ehea/
Dehea.h440 int promisc; /* Indicates IFF_PROMISC state */ member
/drivers/net/wireless/atmel/
Dat76c50x-usb.h404 int promisc; member

123