Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/arch/um/drivers/
A Dpcap_kern.c13 int promisc; member
27 ppri->promisc = init->promisc; in pcap_init_kern()
61 .promisc = 1, in pcap_setup()
80 init->promisc = 1; in pcap_setup()
82 init->promisc = 0; in pcap_setup()
A Dpcap_user.h10 int promisc; member
A Dpcap_user.c23 pri->promisc, 0, errors); in pcap_user_init()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_fs.c57 struct mlx5e_promisc_table promisc; member
440 void mlx5e_enable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc) in mlx5e_enable_cvlan_filter() argument
446 if (promisc) in mlx5e_enable_cvlan_filter()
457 if (promisc) in mlx5e_disable_cvlan_filter()
748 struct mlx5_flow_table *ft = fs->promisc.ft.t; in mlx5e_add_promisc_rule()
761 rule_p = &fs->promisc.rule; in mlx5e_add_promisc_rule()
774 struct mlx5e_flow_table *ft = &fs->promisc.ft; in mlx5e_create_promisc_table()
807 mlx5_del_flow_rules(fs->promisc.rule); in mlx5e_del_promisc_rule()
808 fs->promisc.rule = NULL; in mlx5e_del_promisc_rule()
816 mlx5_destroy_flow_table(fs->promisc.ft.t); in mlx5e_destroy_promisc_table()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/cisco/enic/
A Denic_dev.c64 int broadcast, int promisc, int allmulti) in enic_dev_packet_filter() argument
70 multicast, broadcast, promisc, allmulti); in enic_dev_packet_filter()
A Denic_dev.h32 int broadcast, int promisc, int allmulti);
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_npc_hash.c1150 bool promisc; in __rvu_npc_exact_cmd_rules_cnt_update() local
1153 promisc = table->promisc_mode[drop_mcam_idx]; in __rvu_npc_exact_cmd_rules_cnt_update()
1165 if (promisc) in __rvu_npc_exact_cmd_rules_cnt_update()
1427 bool *promisc; in rvu_npc_exact_promisc_disable() local
1443 promisc = &table->promisc_mode[drop_mcam_idx]; in rvu_npc_exact_promisc_disable()
1445 if (!*promisc) { in rvu_npc_exact_promisc_disable()
1451 *promisc = false; in rvu_npc_exact_promisc_disable()
1478 bool *promisc; in rvu_npc_exact_promisc_enable() local
1494 promisc = &table->promisc_mode[drop_mcam_idx]; in rvu_npc_exact_promisc_enable()
1496 if (*promisc) { in rvu_npc_exact_promisc_enable()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dfs.h137 void mlx5e_enable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc);
138 void mlx5e_disable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc);
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
A 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()
/linux-6.3-rc2/tools/testing/selftests/drivers/net/dsa/
A Dlocal_termination.sh120 ip link set dev $rcv_if_name promisc on
124 ip link set dev $rcv_if_name promisc off
A Dlib.sh1230 ip link set $host1_if promisc on
1280 ip link set $host1_if promisc off
1298 ip link set $host2_if promisc on
1316 ip link set $host2_if promisc off
/linux-6.3-rc2/tools/testing/selftests/net/forwarding/
A Dlocal_termination.sh120 ip link set dev $rcv_if_name promisc on
124 ip link set dev $rcv_if_name promisc off
A Dlib.sh1230 ip link set $host1_if promisc on
1280 ip link set $host1_if promisc off
1298 ip link set $host2_if promisc on
1316 ip link set $host2_if promisc off
/linux-6.3-rc2/drivers/net/ethernet/wiznet/
A 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()
/linux-6.3-rc2/drivers/net/ethernet/freescale/fman/
A Dmac.h32 bool promisc; member
/linux-6.3-rc2/drivers/net/wireless/intersil/orinoco/
A Dhw.h47 int mc_count, int promisc);
A 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()
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Dtc.c762 struct efx_filter_spec promisc, allmulti; in efx_tc_insert_rep_filters() local
769 efx_filter_init_rx(&promisc, EFX_FILTER_PRI_REQUIRED, 0, 0); in efx_tc_insert_rep_filters()
770 efx_filter_set_uc_def(&promisc); in efx_tc_insert_rep_filters()
771 efx_filter_set_vport_id(&promisc, efx->tc->reps_mport_vport_id); in efx_tc_insert_rep_filters()
772 rc = efx_filter_insert_filter(efx, &promisc, false); in efx_tc_insert_rep_filters()
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac4_core.c475 if (hw->promisc) { in dwmac4_add_hw_vlan_rx_fltr()
530 if (hw->promisc) { in dwmac4_del_hw_vlan_rx_fltr()
718 if (!hw->promisc) { in dwmac4_set_filter()
719 hw->promisc = 1; in dwmac4_set_filter()
723 if (hw->promisc) { in dwmac4_set_filter()
724 hw->promisc = 0; in dwmac4_set_filter()
/linux-6.3-rc2/drivers/net/ethernet/i825xx/
A Dsun3_82586.h238 unsigned char promisc; /* promisc-mode(0) , et al (1-7) */ member
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A 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()
/linux-6.3-rc2/tools/testing/selftests/drivers/net/bonding/
A Dnet_forwarding_lib.sh1230 ip link set $host1_if promisc on
1280 ip link set $host1_if promisc off
1298 ip link set $host2_if promisc on
1316 ip link set $host2_if promisc off
/linux-6.3-rc2/tools/testing/selftests/drivers/net/team/
A Dnet_forwarding_lib.sh1230 ip link set $host1_if promisc on
1280 ip link set $host1_if promisc off
1298 ip link set $host2_if promisc on
1316 ip link set $host2_if promisc off
/linux-6.3-rc2/drivers/scsi/fnic/
A Dvnic_dev.h124 int broadcast, int promisc, int allmulti);
/linux-6.3-rc2/drivers/net/ethernet/ti/
A Dnetcp.h209 int (*set_rx_mode)(void *intf_priv, bool promisc);

Completed in 78 milliseconds

1234