Home
last modified time | relevance | path

Searched refs:NETIF_F_LOOPBACK (Results 1 – 18 of 18) sorted by relevance

/linux/net/sunrpc/
H A Dsunrpc.h33 (dst->dev->features & NETIF_F_LOOPBACK)) in sock_is_loopback()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_main.c106 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()
H A Den_resources.c79 if (!(dev->features & NETIF_F_LOOPBACK)) in mlx4_en_fill_qp_context()
H A Den_netdev.c2556 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()
/linux/drivers/net/
H A Dloopback.c185 | NETIF_F_LOOPBACK; in gen_lo_setup()
/linux/include/linux/
H A Dnetdev_features.h121 #define NETIF_F_LOOPBACK __NETIF_F(LOOPBACK) macro
/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_main.c1769 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()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.c721 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()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_lib.c811 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()
H A Didpf_virtchnl.c2772 loopback.enable = idpf_is_feature_ena(vport, NETIF_F_LOOPBACK); in idpf_send_ena_dis_loopback_msg()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_pf.c2193 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()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c4932 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()
H A Dbnx2x_main.c13232 dev->hw_features |= NETIF_F_LOOPBACK; in bnx2x_init_dev()
/linux/drivers/net/ethernet/nvidia/
H A Dforcedeth.c4883 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()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c1254 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()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_main.c3639 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()
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c8353 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()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c13024 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()