Lines Matching defs:dev
29 static netdev_tx_t nsim_start_xmit(struct sk_buff *skb, struct net_device *dev) in nsim_start_xmit()
47 static void nsim_set_rx_mode(struct net_device *dev) in nsim_set_rx_mode()
51 static int nsim_change_mtu(struct net_device *dev, int new_mtu) in nsim_change_mtu()
64 nsim_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) in nsim_get_stats64()
82 static int nsim_set_vf_mac(struct net_device *dev, int vf, u8 *mac) in nsim_set_vf_mac()
95 static int nsim_set_vf_vlan(struct net_device *dev, int vf, in nsim_set_vf_vlan()
111 static int nsim_set_vf_rate(struct net_device *dev, int vf, int min, int max) in nsim_set_vf_rate()
125 static int nsim_set_vf_spoofchk(struct net_device *dev, int vf, bool val) in nsim_set_vf_spoofchk()
137 static int nsim_set_vf_rss_query_en(struct net_device *dev, int vf, bool val) in nsim_set_vf_rss_query_en()
149 static int nsim_set_vf_trust(struct net_device *dev, int vf, bool val) in nsim_set_vf_trust()
162 nsim_get_vf_config(struct net_device *dev, int vf, struct ifla_vf_info *ivi) in nsim_get_vf_config()
185 static int nsim_set_vf_link_state(struct net_device *dev, int vf, int state) in nsim_set_vf_link_state()
210 nsim_setup_tc(struct net_device *dev, enum tc_setup_type type, void *type_data) in nsim_setup_tc()
226 nsim_set_features(struct net_device *dev, netdev_features_t features) in nsim_set_features()
236 static struct devlink_port *nsim_get_devlink_port(struct net_device *dev) in nsim_get_devlink_port()
266 static void nsim_setup(struct net_device *dev) in nsim_setup()
288 struct net_device *dev; in nsim_create() local
338 struct net_device *dev = ns->netdev; in nsim_destroy() local