Searched refs:NETIF_F_LOOPBACK (Results 1 – 14 of 14) sorted by relevance
47 (dst->dev->features & NETIF_F_LOOPBACK)) in sock_is_loopback()
106 if (features & NETIF_F_LOOPBACK) in mlx4_en_update_loopback_state()118 !(features & NETIF_F_LOOPBACK) && !priv->validate_loopback) in mlx4_en_update_loopback_state()133 int loopback = !!(features & NETIF_F_LOOPBACK); in mlx4_en_update_loopback_state()
79 if (!(dev->features & NETIF_F_LOOPBACK)) in mlx4_en_fill_qp_context()
2540 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_LOOPBACK)) { in mlx4_en_set_features()2542 (features & NETIF_F_LOOPBACK) ? "ON" : "OFF"); in mlx4_en_set_features()3343 dev->hw_features |= NETIF_F_LOOPBACK | in mlx4_en_init_netdev()
187 | NETIF_F_LOOPBACK; in gen_lo_setup()
118 #define NETIF_F_LOOPBACK __NETIF_F(LOOPBACK) macro
677 if (changed & NETIF_F_LOOPBACK) in enetc_pf_set_features()678 enetc_set_loopback(ndev, !!(features & NETIF_F_LOOPBACK)); in enetc_pf_set_features()719 NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_LOOPBACK; in enetc_pf_netdev_setup()
1773 mbx.lbk.enable = (features & NETIF_F_LOOPBACK) != 0; in nicvf_config_loopback()1783 if ((features & NETIF_F_LOOPBACK) && in nicvf_fix_features()1785 features &= ~NETIF_F_LOOPBACK; in nicvf_fix_features()1799 if ((changed & NETIF_F_LOOPBACK) && netif_running(netdev)) in nicvf_set_features()2232 netdev->hw_features |= NETIF_F_LOOPBACK; in nicvf_probe()
1748 if ((changed & NETIF_F_LOOPBACK) && netif_running(netdev)) in otx2_set_features()1750 features & NETIF_F_LOOPBACK); in otx2_set_features()2111 netdev->hw_features |= NETIF_F_LOOPBACK | NETIF_F_RXALL; in otx2_probe()
4917 if (changed & NETIF_F_LOOPBACK) { in bnx2x_fix_features()4918 features &= ~NETIF_F_LOOPBACK; in bnx2x_fix_features()4919 features |= dev->features & NETIF_F_LOOPBACK; in bnx2x_fix_features()4944 if (features & NETIF_F_LOOPBACK) { in bnx2x_set_features()
13294 dev->hw_features |= NETIF_F_LOOPBACK; in bnx2x_init_dev()
4882 if (features & NETIF_F_LOOPBACK) { in nv_set_loopback()4966 if ((changed & NETIF_F_LOOPBACK) && netif_running(dev)) { in nv_set_features()5617 if (dev->features & NETIF_F_LOOPBACK) in nv_open()5830 dev->hw_features |= NETIF_F_LOOPBACK; in nv_probe()6127 dev->features & (NETIF_F_LOOPBACK) ? in nv_probe()
1072 err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_LOOPBACK, in mlxsw_sp_set_features()1470 dev->hw_features |= NETIF_F_HW_TC | NETIF_F_LOOPBACK; in mlxsw_sp_port_create()
8292 if (features & NETIF_F_LOOPBACK) { in tg3_set_loopback()8329 if ((changed & NETIF_F_LOOPBACK) && netif_running(dev)) in tg3_set_features()11662 if (dev->features & NETIF_F_LOOPBACK) in tg3_start()17838 features |= NETIF_F_LOOPBACK; in tg3_init_one()