Searched refs:target_dev (Results 1 – 5 of 5) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | lwt_redirect.c | 160 const char *target_dev, bool need_mac) in send_and_capture_test_packets() argument 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() 193 static int setup_redirect_target(const char *target_dev, bool need_mac) in setup_redirect_target() argument 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 233 tap_fd = setup_redirect_target(target_dev, need_mac); in test_lwt_redirect_normal() [all …]
|
/linux/drivers/phy/ |
H A D | phy-core.c | 763 struct device *target_dev; in of_phy_simple_xlate() local 765 target_dev = class_find_device_by_of_node(&phy_class, args->np); in of_phy_simple_xlate() 766 if (!target_dev) in of_phy_simple_xlate() 769 put_device(target_dev); in of_phy_simple_xlate() 770 return to_phy(target_dev); in of_phy_simple_xlate()
|
/linux/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/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()
|