Lines Matching full:net_device
29 struct net_device *dev_get_by_napi_id(unsigned int napi_id);
31 struct net_device *netdev_get_by_index_lock(struct net *net, int ifindex);
32 struct net_device *__netdev_put_lock(struct net_device *dev);
33 struct net_device *
34 netdev_xa_find_lock(struct net *net, struct net_device *dev,
37 DEFINE_FREE(netdev_unlock, struct net_device *, if (_T) netdev_unlock(_T));
40 for (struct net_device *var_name __free(netdev_unlock) = NULL; \
50 void linkwatch_init_dev(struct net_device *dev);
53 void dev_addr_flush(struct net_device *dev);
54 int dev_addr_init(struct net_device *dev);
55 void dev_addr_check(struct net_device *dev);
58 void net_shaper_flush_netdev(struct net_device *dev);
59 void net_shaper_set_real_num_tx_queues(struct net_device *dev,
62 static inline void net_shaper_flush_netdev(struct net_device *dev) {} in net_shaper_flush_netdev()
63 static inline void net_shaper_set_real_num_tx_queues(struct net_device *dev, in net_shaper_set_real_num_tx_queues()
83 struct net_device *dev;
89 int netif_change_name(struct net_device *dev, const char *newname);
90 int dev_change_name(struct net_device *dev, const char *newname);
98 int netdev_name_node_alt_create(struct net_device *dev, const char *name);
99 int netdev_name_node_alt_destroy(struct net_device *dev, const char *name);
101 int dev_validate_mtu(struct net_device *dev, int mtu,
103 int netif_set_mtu_ext(struct net_device *dev, int new_mtu,
106 int dev_get_phys_port_id(struct net_device *dev,
108 int dev_get_phys_port_name(struct net_device *dev,
111 int netif_change_proto_down(struct net_device *dev, bool proto_down);
112 int dev_change_proto_down(struct net_device *dev, bool proto_down);
113 void netdev_change_proto_down_reason_locked(struct net_device *dev,
116 typedef int (*bpf_op_t)(struct net_device *dev, struct netdev_bpf *bpf);
117 int dev_change_xdp_fd(struct net_device *dev, struct netlink_ext_ack *extack,
120 int netif_change_tx_queue_len(struct net_device *dev, unsigned long new_len);
121 int dev_change_tx_queue_len(struct net_device *dev, unsigned long new_len);
122 void netif_set_group(struct net_device *dev, int new_group);
123 void dev_set_group(struct net_device *dev, int new_group);
124 int netif_change_carrier(struct net_device *dev, bool new_carrier);
125 int dev_change_carrier(struct net_device *dev, bool new_carrier);
127 void __dev_set_rx_mode(struct net_device *dev);
129 void __dev_notify_flags(struct net_device *dev, unsigned int old_flags,
136 static inline void netif_set_up(struct net_device *dev, bool value) in netif_set_up()
150 static inline void netif_set_gso_max_size(struct net_device *dev, in netif_set_gso_max_size()
159 static inline void netif_set_gso_max_segs(struct net_device *dev, in netif_set_gso_max_segs()
166 static inline void netif_set_gro_max_size(struct net_device *dev, in netif_set_gro_max_size()
175 static inline void netif_set_gso_ipv4_max_size(struct net_device *dev, in netif_set_gso_ipv4_max_size()
182 static inline void netif_set_gro_ipv4_max_size(struct net_device *dev, in netif_set_gro_ipv4_max_size()
212 * @netdev: the net_device for which all NAPIs will have defer_hard_irqs set
215 static inline void netdev_set_defer_hard_irqs(struct net_device *netdev, in netdev_set_defer_hard_irqs()
258 * @netdev: the net_device for which all NAPIs will have gro_flush_timeout set
261 static inline void netdev_set_gro_flush_timeout(struct net_device *netdev, in netdev_set_gro_flush_timeout()
359 int dev_set_hwtstamp_phylib(struct net_device *dev,
362 int dev_get_hwtstamp_phylib(struct net_device *dev,