Searched refs:target_dev (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | lwt_redirect.c | 171 ping_dev(target_dev, false); in send_and_capture_test_packets() 179 psock = new_packet_sock(target_dev); in send_and_capture_test_packets() 180 ping_dev(target_dev, true); in send_and_capture_test_packets() 198 tap_fd = open_tuntap(target_dev, need_mac); in setup_redirect_target() 202 target_index = if_nametoindex(target_dev); in setup_redirect_target() 211 SYS(fail, "ip link set %s up", target_dev); in setup_redirect_target() 229 const char *target_dev = "tap0"; in test_lwt_redirect_normal() local 243 const char *target_dev = "tun0"; in test_lwt_redirect_normal_nomac() local 260 const char *target_dev = "tap0"; in __test_lwt_redirect_dev_down() local 268 ping_dev(target_dev, true); in __test_lwt_redirect_dev_down() [all …]
|
| /linux-6.15/drivers/net/wan/framer/ |
| H A D | framer-core.c | 746 struct device *target_dev; in framer_provider_simple_of_xlate() local 748 target_dev = class_find_device_by_of_node(&framer_class, args->np); in framer_provider_simple_of_xlate() 749 if (!target_dev) in framer_provider_simple_of_xlate() 752 put_device(target_dev); in framer_provider_simple_of_xlate() 753 return dev_to_framer(target_dev); in framer_provider_simple_of_xlate()
|
| /linux-6.15/drivers/phy/ |
| H A D | phy-core.c | 740 struct device *target_dev; in of_phy_simple_xlate() local 742 target_dev = class_find_device_by_of_node(&phy_class, args->np); in of_phy_simple_xlate() 743 if (!target_dev) in of_phy_simple_xlate() 746 put_device(target_dev); in of_phy_simple_xlate() 747 return to_phy(target_dev); in of_phy_simple_xlate()
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_tc_u32.c | 117 struct net_device *n_dev, *target_dev; in fill_action_fields() local 121 target_dev = tcf_mirred_dev(a); in fill_action_fields() 124 if (target_dev == n_dev) { in fill_action_fields()
|
| H A D | cxgb4_tc_flower.c | 707 struct net_device *n_dev, *target_dev; in cxgb4_validate_flow_actions() local 718 target_dev = act->dev; in cxgb4_validate_flow_actions() 721 if (target_dev == n_dev) { in cxgb4_validate_flow_actions()
|
| /linux-6.15/drivers/net/ethernet/intel/ice/ |
| H A D | ice_tc_lib.c | 674 struct net_device *target_dev, in ice_tc_setup_action() argument 687 ice_is_port_repr_netdev(target_dev)) { in ice_tc_setup_action() 688 repr = ice_netdev_to_repr(target_dev); in ice_tc_setup_action() 693 ice_tc_is_dev_uplink(target_dev)) { in ice_tc_setup_action() 699 ice_is_port_repr_netdev(target_dev)) { in ice_tc_setup_action() 700 repr = ice_netdev_to_repr(target_dev); in ice_tc_setup_action()
|