| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_pf_common.h | 20 void enetc_set_si_uc_promisc(struct enetc_si *si, int si_id, bool promisc); 21 void enetc_set_si_mc_promisc(struct enetc_si *si, int si_id, bool promisc); 24 void enetc_set_si_vlan_promisc(struct enetc_si *si, int si_id, bool promisc);
|
| H A D | enetc_pf_common.c | 90 void enetc_set_si_uc_promisc(struct enetc_si *si, int si_id, bool promisc) in enetc_set_si_uc_promisc() argument 103 if (promisc) in enetc_set_si_uc_promisc() 112 void enetc_set_si_mc_promisc(struct enetc_si *si, int si_id, bool promisc) in enetc_set_si_mc_promisc() argument 125 if (promisc) in enetc_set_si_mc_promisc() 174 void enetc_set_si_vlan_promisc(struct enetc_si *si, int si_id, bool promisc) in enetc_set_si_vlan_promisc() argument 187 if (promisc) in enetc_set_si_vlan_promisc()
|
| H A D | enetc_pf.c | 448 bool promisc = !(features & NETIF_F_HW_VLAN_CTAG_FILTER); in enetc_pf_set_features() local 450 enetc_set_si_vlan_promisc(priv->si, 0, promisc); in enetc_pf_set_features()
|
| /linux/net/bridge/ |
| H A D | br_input.c | 33 static int br_pass_frame_up(struct sk_buff *skb, bool promisc) in br_pass_frame_up() argument 68 BR_INPUT_SKB_CB(skb)->promisc = promisc; in br_pass_frame_up() 88 bool promisc; in br_handle_frame_finish() local 146 promisc = !!(br->dev->flags & IFF_PROMISC); in br_handle_frame_finish() 147 local_rcv = promisc; in br_handle_frame_finish() 235 return br_pass_frame_up(skb, promisc); in br_handle_frame_finish() 412 BR_INPUT_SKB_CB(skb)->promisc = false; in br_handle_frame()
|
| H A D | br_netfilter_hooks.c | 589 bool promisc = BR_INPUT_SKB_CB(skb)->promisc; in br_nf_local_in() local 595 if (promisc) { in br_nf_local_in()
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | bridge_vlan_aware.sh | 158 ip link set $h2 promisc on 193 ip link set $h2 promisc off 221 ip link set $h2 promisc on 234 ip link set $h2 promisc off 251 ip link set $h2 promisc on 287 ip link set $h2 promisc off
|
| H A D | lib.sh | 1516 ip link set $host1_if promisc on 1566 ip link set $host1_if promisc off 1584 ip link set $host2_if promisc on 1602 ip link set $host2_if promisc off 2301 local promisc 2308 promisc=$(ip -j -d link show dev $dev | jq -r '.[].promiscuity') 2312 [[ $promisc == 1 ]] && echo "no" || echo "yes"
|
| H A D | local_termination.sh | 113 # Disable promisc to ensure we don't receive unknown MAC DA packets 199 ip link set dev $rcv_if_name promisc on 203 ip link set dev $rcv_if_name promisc off 279 check_rcv $rcv_if_name "Unicast IPv4 to unknown MAC address, promisc" \ 299 check_rcv $rcv_if_name "Multicast IPv4 to unknown group, promisc" \ 316 check_rcv $rcv_if_name "Multicast IPv6 to unknown group, promisc" \
|
| /linux/drivers/net/ethernet/adi/ |
| H A D | adin1140.c | 273 bool all_multi, promisc; in adin1140_rx_mode() local 287 promisc = false; in adin1140_rx_mode() 290 promisc = true; in adin1140_rx_mode() 298 promisc = true; in adin1140_rx_mode() 301 ret = adin1140_promiscuous_mode(priv, promisc); in adin1140_rx_mode() 310 if (!promisc) { in adin1140_rx_mode()
|
| H A D | adin1110.c | 795 bool promisc) in adin1110_set_promisc_mode() argument 801 promisc = false; in adin1110_set_promisc_mode() 809 mask, promisc ? mask : 0); in adin1110_set_promisc_mode()
|
| /linux/net/bridge/netfilter/ |
| H A D | nf_conntrack_bridge.c | 297 bool promisc = BR_INPUT_SKB_CB(skb)->promisc; in nf_ct_bridge_in() local 301 if (promisc) { in nf_ct_bridge_in()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | fs.h | 149 void mlx5e_enable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc); 150 void mlx5e_disable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc);
|
| /linux/drivers/net/ethernet/cisco/enic/ |
| H A D | enic_dev.h | 32 int broadcast, int promisc, int allmulti);
|
| H A D | vnic_dev.h | 130 int broadcast, int promisc, int allmulti);
|
| /linux/drivers/net/ethernet/i825xx/ |
| H A D | sun3_82586.h | 239 unsigned char promisc; /* promisc-mode(0) , et al (1-7) */ member
|
| H A D | sun3_82586.c | 428 cfg_cmd->promisc = 0; in init586() 433 cfg_cmd->promisc = 1; in init586() 437 cfg_cmd->promisc = 1; in init586()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | port.c | 1326 u32 promisc; in mlx4_common_set_port() local 1356 promisc = be32_to_cpu(qpn_context->promisc) >> in mlx4_common_set_port() 1358 qpn_context->promisc = cpu_to_be32( in mlx4_common_set_port() 1359 promisc << SET_PORT_PROMISC_SHIFT | in mlx4_common_set_port() 1361 promisc = be32_to_cpu(qpn_context->mcast) >> in mlx4_common_set_port() 1364 promisc << SET_PORT_MC_PROMISC_SHIFT | in mlx4_common_set_port() 1623 u8 promisc) in mlx4_SET_PORT_qpn_calc() argument 1641 context->promisc = cpu_to_be32(promisc << SET_PORT_PROMISC_SHIFT | in mlx4_SET_PORT_qpn_calc()
|
| /linux/drivers/scsi/fnic/ |
| H A D | vnic_dev.h | 124 int broadcast, int promisc, int allmulti);
|
| /linux/drivers/net/ethernet/broadcom/asp2/ |
| H A D | bcmasp.c | 822 unsigned char promisc[ETH_ALEN]; in bcmasp_set_promisc() local 824 eth_zero_addr(promisc); in bcmasp_set_promisc() 826 bcmasp_set_mda_filter(intf, promisc, promisc, i); in bcmasp_set_promisc()
|
| /linux/drivers/net/wireless/atmel/ |
| H A D | at76c50x-usb.h | 404 int promisc; member
|
| H A D | at76c50x-usb.c | 1474 priv->mib_buf.data.byte = priv->promisc ? 1 : 0; in at76_work_set_promisc() 2078 if (flags && !priv->promisc) { in at76_configure_filter() 2080 priv->promisc = 1; in at76_configure_filter() 2081 } else if (!flags && priv->promisc) { in at76_configure_filter() 2083 priv->promisc = 0; in at76_configure_filter()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
| H A D | t4vf_hw.c | 1474 int mtu, int promisc, int all_multi, int bcast, int vlanex, in t4vf_set_rxmode() argument 1482 if (promisc < 0) in t4vf_set_rxmode() 1483 promisc = FW_VI_RXMODE_CMD_PROMISCEN_M; in t4vf_set_rxmode() 1499 FW_VI_RXMODE_CMD_PROMISCEN_V(promisc) | in t4vf_set_rxmode()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | eswitch.c | 649 bool promisc, bool mc_promisc) in esw_apply_vport_rx_mode() argument 654 goto promisc; in esw_apply_vport_rx_mode() 669 goto promisc; in esw_apply_vport_rx_mode() 676 promisc: in esw_apply_vport_rx_mode() 677 if (IS_ERR_OR_NULL(vport->promisc_rule) != promisc) in esw_apply_vport_rx_mode() 680 if (promisc) { in esw_apply_vport_rx_mode()
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | am65-cpsw-nuss.c | 353 bool promisc) in am65_cpsw_slave_set_promisc() argument 357 if (promisc && !common->is_emac_mode) { in am65_cpsw_slave_set_promisc() 362 if (promisc) { in am65_cpsw_slave_set_promisc() 380 bool promisc; in am65_cpsw_nuss_ndo_slave_set_rx_mode() local 382 promisc = !!(ndev->flags & IFF_PROMISC); in am65_cpsw_nuss_ndo_slave_set_rx_mode() 383 am65_cpsw_slave_set_promisc(port, promisc); in am65_cpsw_nuss_ndo_slave_set_rx_mode() 385 if (promisc) in am65_cpsw_nuss_ndo_slave_set_rx_mode()
|
| /linux/Documentation/networking/device_drivers/ethernet/intel/ |
| H A D | ice.rst | 610 # ip link set <ethX> promisc on 618 NOTE: By default, the ethtool private flag vf-true-promisc-support is set to 623 # ethtool --set-priv-flags <ethX> vf-true-promisc-support on 625 The vf-true-promisc-support private flag does not enable promiscuous mode; 629 vf-true-promisc-support private flag is only exposed to the first PF of the 631 vf-true-promisc-support setting. 893 when VF true promiscuous mode (vf-true-promisc-support) and double VLANs are
|