Searched refs:NETIF_F_LOOPBACK (Results 1 – 18 of 18) sorted by relevance
33 (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()
2556 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_LOOPBACK)) { in mlx4_en_set_features()2558 (features & NETIF_F_LOOPBACK) ? "ON" : "OFF"); in mlx4_en_set_features()3373 dev->hw_features |= NETIF_F_LOOPBACK | in mlx4_en_init_netdev()
185 | NETIF_F_LOOPBACK; in gen_lo_setup()
121 #define NETIF_F_LOOPBACK __NETIF_F(LOOPBACK) macro
1769 mbx.lbk.enable = (features & NETIF_F_LOOPBACK) != 0; in nicvf_config_loopback()1779 if ((features & NETIF_F_LOOPBACK) && in nicvf_fix_features()1781 features &= ~NETIF_F_LOOPBACK; in nicvf_fix_features()1795 if ((changed & NETIF_F_LOOPBACK) && netif_running(netdev)) in nicvf_set_features()2213 netdev->hw_features |= NETIF_F_LOOPBACK; in nicvf_probe()
721 if (changed & NETIF_F_LOOPBACK) in enetc_pf_set_features()722 enetc_set_loopback(ndev, !!(features & NETIF_F_LOOPBACK)); in enetc_pf_set_features()788 NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_LOOPBACK | in enetc_pf_netdev_setup()
811 offloads |= NETIF_F_LOOPBACK; in idpf_cfg_netdev()2131 if (changed & NETIF_F_LOOPBACK) { in idpf_set_features()2132 netdev->features ^= NETIF_F_LOOPBACK; in idpf_set_features()
2772 loopback.enable = idpf_is_feature_ena(vport, NETIF_F_LOOPBACK); in idpf_send_ena_dis_loopback_msg()
2193 if ((changed & NETIF_F_LOOPBACK) && netif_running(netdev)) in otx2_set_features()2195 features & NETIF_F_LOOPBACK); in otx2_set_features()3051 netdev->hw_features |= NETIF_F_LOOPBACK | NETIF_F_RXALL; in otx2_probe()
4932 if (changed & NETIF_F_LOOPBACK) { in bnx2x_fix_features()4933 features &= ~NETIF_F_LOOPBACK; in bnx2x_fix_features()4934 features |= dev->features & NETIF_F_LOOPBACK; in bnx2x_fix_features()4959 if (features & NETIF_F_LOOPBACK) { in bnx2x_set_features()
13232 dev->hw_features |= NETIF_F_LOOPBACK; in bnx2x_init_dev()
4883 if (features & NETIF_F_LOOPBACK) { in nv_set_loopback()4967 if ((changed & NETIF_F_LOOPBACK) && netif_running(dev)) { in nv_set_features()5618 if (dev->features & NETIF_F_LOOPBACK) in nv_open()5828 dev->hw_features |= NETIF_F_LOOPBACK; in nv_probe()6127 dev->features & (NETIF_F_LOOPBACK) ? in nv_probe()
1254 err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_LOOPBACK, in mlxsw_sp_set_features()1681 dev->hw_features |= NETIF_F_HW_TC | NETIF_F_LOOPBACK; in mlxsw_sp_port_create()
3639 netdev->hw_features |= NETIF_F_LOOPBACK; in ice_set_netdev_features()6519 if (changed & NETIF_F_LOOPBACK) in ice_set_features()6520 ret = ice_set_loopback(vsi, !!(features & NETIF_F_LOOPBACK)); in ice_set_features()
8353 if (features & NETIF_F_LOOPBACK) { in tg3_set_loopback()8390 if ((changed & NETIF_F_LOOPBACK) && netif_running(dev)) in tg3_set_features()11726 if (dev->features & NETIF_F_LOOPBACK) in tg3_start()17872 features |= NETIF_F_LOOPBACK; in tg3_init_one()
13024 if ((features ^ netdev->features) & NETIF_F_LOOPBACK) in i40e_set_features()13025 return i40e_set_loopback(vsi, !!(features & NETIF_F_LOOPBACK)); in i40e_set_features()13782 netdev->hw_features |= hw_features | NETIF_F_LOOPBACK; in i40e_config_netdev()