Lines Matching refs:net_device

28 struct net_device *dev_get_by_napi_id(unsigned int napi_id);
30 struct net_device *netdev_get_by_index_lock(struct net *net, int ifindex);
31 struct net_device *__netdev_put_lock(struct net_device *dev);
32 struct net_device *
33 netdev_xa_find_lock(struct net *net, struct net_device *dev,
36 DEFINE_FREE(netdev_unlock, struct net_device *, if (_T) netdev_unlock(_T));
39 for (struct net_device *var_name __free(netdev_unlock) = NULL; \
49 void linkwatch_init_dev(struct net_device *dev);
52 void dev_addr_flush(struct net_device *dev);
53 int dev_addr_init(struct net_device *dev);
54 void dev_addr_check(struct net_device *dev);
57 void net_shaper_flush_netdev(struct net_device *dev);
58 void net_shaper_set_real_num_tx_queues(struct net_device *dev,
61 static inline void net_shaper_flush_netdev(struct net_device *dev) {} in net_shaper_flush_netdev()
62 static inline void net_shaper_set_real_num_tx_queues(struct net_device *dev, in net_shaper_set_real_num_tx_queues()
82 struct net_device *dev;
88 int dev_change_name(struct net_device *dev, const char *newname);
96 int netdev_name_node_alt_create(struct net_device *dev, const char *name);
97 int netdev_name_node_alt_destroy(struct net_device *dev, const char *name);
99 int dev_validate_mtu(struct net_device *dev, int mtu,
101 int dev_set_mtu_ext(struct net_device *dev, int mtu,
104 int dev_get_phys_port_id(struct net_device *dev,
106 int dev_get_phys_port_name(struct net_device *dev,
109 int dev_change_proto_down(struct net_device *dev, bool proto_down);
110 void dev_change_proto_down_reason(struct net_device *dev, unsigned long mask,
113 typedef int (*bpf_op_t)(struct net_device *dev, struct netdev_bpf *bpf);
114 int dev_change_xdp_fd(struct net_device *dev, struct netlink_ext_ack *extack,
117 int dev_change_tx_queue_len(struct net_device *dev, unsigned long new_len);
118 void dev_set_group(struct net_device *dev, int new_group);
119 int dev_change_carrier(struct net_device *dev, bool new_carrier);
121 void __dev_set_rx_mode(struct net_device *dev);
123 void __dev_notify_flags(struct net_device *dev, unsigned int old_flags,
130 static inline void netif_set_up(struct net_device *dev, bool value) in netif_set_up()
142 static inline void netif_set_gso_max_size(struct net_device *dev, in netif_set_gso_max_size()
151 static inline void netif_set_gso_max_segs(struct net_device *dev, in netif_set_gso_max_segs()
158 static inline void netif_set_gro_max_size(struct net_device *dev, in netif_set_gro_max_size()
167 static inline void netif_set_gso_ipv4_max_size(struct net_device *dev, in netif_set_gso_ipv4_max_size()
174 static inline void netif_set_gro_ipv4_max_size(struct net_device *dev, in netif_set_gro_ipv4_max_size()
207 static inline void netdev_set_defer_hard_irqs(struct net_device *netdev, in netdev_set_defer_hard_irqs()
253 static inline void netdev_set_gro_flush_timeout(struct net_device *netdev, in netdev_set_gro_flush_timeout()
339 int dev_set_hwtstamp_phylib(struct net_device *dev,
342 int dev_get_hwtstamp_phylib(struct net_device *dev,