Home
last modified time | relevance | path

Searched refs:net_device (Results 1 – 25 of 1804) sorted by relevance

12345678910>>...73

/linux/include/net/
H A Ddcbnl.h13 struct net_device;
22 u16 dcb_getrewr(struct net_device *dev, struct dcb_app *app);
23 int dcb_setrewr(struct net_device *dev, struct dcb_app *app);
24 int dcb_delrewr(struct net_device *dev, struct dcb_app *app);
26 int dcb_setapp(struct net_device *, struct dcb_app *);
27 u8 dcb_getapp(struct net_device *, struct dcb_app *);
28 int dcb_ieee_setapp(struct net_device *, struct dcb_app *);
29 int dcb_ieee_delapp(struct net_device *, struct dcb_app *);
30 u8 dcb_ieee_getapp_mask(struct net_device *, struct dcb_app *);
36 void dcb_getrewr_prio_pcp_mask_map(const struct net_device *dev,
[all …]
H A Drtnetlink.h147 struct net_device *(*alloc)(struct nlattr *tb[],
152 void (*setup)(struct net_device *dev);
162 int (*newlink)(struct net_device *dev,
165 int (*changelink)(struct net_device *dev,
169 void (*dellink)(struct net_device *dev,
172 size_t (*get_size)(const struct net_device *dev);
174 const struct net_device *dev);
176 size_t (*get_xstats_size)(const struct net_device *dev);
178 const struct net_device *dev);
184 int (*slave_changelink)(struct net_device *dev,
[all …]
H A Dfailover.h10 int (*slave_pre_register)(struct net_device *slave_dev,
11 struct net_device *failover_dev);
12 int (*slave_register)(struct net_device *slave_dev,
13 struct net_device *failover_dev);
14 int (*slave_pre_unregister)(struct net_device *slave_dev,
15 struct net_device *failover_dev);
16 int (*slave_unregister)(struct net_device *slave_dev,
17 struct net_device *failover_dev);
18 int (*slave_link_change)(struct net_device *slave_dev,
19 struct net_device *failover_dev);
[all …]
H A Dndisc.h63 struct net_device;
134 struct ndisc_options *ndisc_parse_options(const struct net_device *dev,
148 * int (*parse_options)(const struct net_device *dev,
156 * void (*update)(const struct net_device *dev, struct neighbour *n,
163 * int (*opt_addr_space)(const struct net_device *dev, u8 icmp6_type,
170 * void (*fill_addr_option)(const struct net_device *dev,
180 * void (*prefix_rcv_add_addr)(struct net *net, struct net_device *dev,
196 int (*parse_options)(const struct net_device *dev,
199 void (*update)(const struct net_device *dev, struct neighbour *n,
202 int (*opt_addr_space)(const struct net_device *de
[all...]
/linux/include/linux/
H A Dnetdevice.h91 void netdev_set_default_ethtool_ops(struct net_device *dev,
93 void netdev_sw_irq_coalesce_default_on(struct net_device *dev);
264 struct net_device *mc_dev;
319 int (*create) (struct sk_buff *skb, struct net_device *dev,
323 const struct net_device *dev,
327 const struct net_device *dev,
409 struct net_device *dev;
484 * Currently, a net_device can only have a single rx_handler registered. Trying
487 * To register a rx_handler on a net_device, use netdev_rx_handler_register().
488 * To unregister a rx_handler on a net_device, us
2161 struct net_device { global() struct
2174 netdev_opsnet_device global() argument
2175 header_opsnet_device global() argument
2176 _txnet_device global() argument
2200 tcx_egressnet_device global() argument
2215 ip6_ptrnet_device global() argument
2235 tcx_ingressnet_device global() argument
2237 namenet_device global() argument
2238 name_nodenet_device global() argument
2239 ifaliasnet_device global() argument
2244 mem_endnet_device global() argument
2245 mem_startnet_device global() argument
2246 base_addrnet_device global() argument
2255 dev_listnet_device global() argument
2256 napi_listnet_device global() argument
2257 unreg_listnet_device global() argument
2259 unreg_list_netnet_device global() argument
2261 close_listnet_device global() argument
2262 ptype_allnet_device global() argument
2264 __anone7d468151408net_device global() argument
2267 adj_listnet_device global() argument
2292 statsnet_device global() argument
2294 core_statsnet_device global() argument
2297 carrier_up_countnet_device global() argument
2298 carrier_down_countnet_device global() argument
2301 wireless_handlersnet_device global() argument
2303 ethtool_opsnet_device global() argument
2305 l3mdev_opsnet_device global() argument
2308 ndisc_opsnet_device global() argument
2312 xfrmdev_opsnet_device global() argument
2316 tlsdev_opsnet_device global() argument
2319 operstatenet_device global() argument
2320 link_modenet_device global() argument
2322 if_portnet_device global() argument
2323 dmanet_device global() argument
2326 perm_addrnet_device global() argument
2327 addr_assign_typenet_device global() argument
2328 addr_lennet_device global() argument
2329 upper_levelnet_device global() argument
2330 lower_levelnet_device global() argument
2331 threadednet_device global() argument
2333 neigh_priv_lennet_device global() argument
2334 dev_idnet_device global() argument
2335 dev_portnet_device global() argument
2336 irqnet_device global() argument
2337 priv_lennet_device global() argument
2339 addr_list_locknet_device global() argument
2341 ucnet_device global() argument
2342 mcnet_device global() argument
2343 dev_addrsnet_device global() argument
2346 queues_ksetnet_device global() argument
2349 unlink_listnet_device global() argument
2351 promiscuitynet_device global() argument
2352 allmultinet_device global() argument
2353 uc_promiscnet_device global() argument
2354 work_nodenet_device global() argument
2355 work_trackernet_device global() argument
2356 work_pendingnet_device global() argument
2357 work_core_pendingnet_device global() argument
2358 rx_mode_addr_cachenet_device global() argument
2359 rx_mode_retry_timernet_device global() argument
2360 rx_mode_retry_countnet_device global() argument
2362 nested_levelnet_device global() argument
2367 ip_ptrnet_device global() argument
2369 fib_nh_headnet_device global() argument
2372 vlan_infonet_device global() argument
2375 dsa_ptrnet_device global() argument
2378 tipc_ptrnet_device global() argument
2381 ieee80211_ptrnet_device global() argument
2384 ieee802154_ptrnet_device global() argument
2387 mpls_ptrnet_device global() argument
2390 mctp_ptrnet_device global() argument
2393 psp_devnet_device global() argument
2400 dev_addrnet_device global() argument
2402 num_rx_queuesnet_device global() argument
2408 xdp_zc_max_segsnet_device global() argument
2409 ingress_queuenet_device global() argument
2411 nf_hooks_ingressnet_device global() argument
2414 broadcastnet_device global() argument
2416 rx_cpu_rmapnet_device global() argument
2418 index_hlistnet_device global() argument
2423 num_tx_queuesnet_device global() argument
2424 qdiscnet_device global() argument
2425 tx_queue_lennet_device global() argument
2426 tx_global_locknet_device global() argument
2428 xdp_bulkqnet_device global() argument
2434 watchdog_timernet_device global() argument
2435 watchdog_timeonet_device global() argument
2436 watchdog_locknet_device global() argument
2437 watchdog_ref_heldnet_device global() argument
2462 priv_destructornet_device global() argument
2465 ml_privnet_device global() argument
2466 ml_priv_typenet_device global() argument
2469 garp_portnet_device global() argument
2472 mrp_portnet_device global() argument
2475 dm_privatenet_device global() argument
2477 devnet_device global() argument
2478 sysfs_groupsnet_device global() argument
2479 sysfs_rx_queue_groupnet_device global() argument
2481 rtnl_link_opsnet_device global() argument
2483 stat_opsnet_device global() argument
2485 queue_mgmt_opsnet_device global() argument
2497 tso_max_sizenet_device global() argument
2499 tso_max_segsnet_device global() argument
2502 dcbnl_opsnet_device global() argument
2504 prio_tc_mapnet_device global() argument
2507 fcoe_ddp_xidnet_device global() argument
2510 priomapnet_device global() argument
2535 udp_tunnel_nicnet_device global() argument
2536 cfgnet_device global() argument
2542 cfg_pendingnet_device global() argument
2543 ethtoolnet_device global() argument
2546 xdp_statenet_device global() argument
2548 dev_addr_shadownet_device global() argument
2549 linkwatch_dev_trackernet_device global() argument
2550 watchdog_dev_trackernet_device global() argument
2551 dev_registered_trackernet_device global() argument
2552 offload_xstats_l3net_device global() argument
2554 devlink_portnet_device global() argument
2557 dpll_pinnet_device global() argument
2561 page_poolsnet_device global() argument
2565 irq_modernet_device global() argument
2567 max_pacing_offload_horizonnet_device global() argument
2568 napi_confignet_device global() argument
2569 num_napi_configsnet_device global() argument
2570 napi_defer_hard_irqsnet_device global() argument
2571 gro_flush_timeoutnet_device global() argument
2578 upnet_device global() argument
2584 request_ops_locknet_device global() argument
2653 hwprovnet_device global() argument
2744 netdev_for_each_tx_queue(struct net_device * dev,void (* f)(struct net_device *,struct netdev_queue *,void *),void * arg) netdev_for_each_tx_queue() argument
4597 DEFINE_FREE(dev_put,struct net_device *,if (_T)dev_put (_T)) DEFINE_FREE() argument
5133 __dev_uc_sync(struct net_device * dev,int (* sync)(struct net_device *,const unsigned char *),int (* unsync)(struct net_device *,const unsigned char *)) __dev_uc_sync() argument
5135 __dev_uc_sync(struct net_device * dev,int (* sync)(struct net_device *,const unsigned char *),int (* unsync)(struct net_device *,const unsigned char *)) __dev_uc_sync() argument
5149 __dev_uc_unsync(struct net_device * dev,int (* unsync)(struct net_device *,const unsigned char *)) __dev_uc_unsync() argument
5177 __dev_mc_sync(struct net_device * dev,int (* sync)(struct net_device *,const unsigned char *),int (* unsync)(struct net_device *,const unsigned char *)) __dev_mc_sync() argument
5179 __dev_mc_sync(struct net_device * dev,int (* sync)(struct net_device *,const unsigned char *),int (* unsync)(struct net_device *,const unsigned char *)) __dev_mc_sync() argument
5193 __dev_mc_unsync(struct net_device * dev,int (* unsync)(struct net_device *,const unsigned char *)) __dev_mc_unsync() argument
[all...]
H A Dethtool.h132 struct net_device;
219 void ethtool_rxfh_context_lost(struct net_device *dev, u32 context_id);
220 void ethtool_rxfh_indir_lost(struct net_device *dev);
221 bool ethtool_rxfh_indir_can_resize(struct net_device *dev, const u32 *tbl,
223 void ethtool_rxfh_indir_resize(struct net_device *dev, u32 *tbl,
225 int ethtool_rxfh_ctxs_can_resize(struct net_device *dev, u32 new_indir_size);
226 void ethtool_rxfh_ctxs_resize(struct net_device *dev, u32 new_indir_size);
326 __ethtool_get_link_ksettings(struct net_device *dev,
328 int netif_get_link_ksettings(struct net_device *dev,
832 * @dev: pointer to net_device structur
[all...]
H A Dhdlc.h20 int (*open)(struct net_device *dev);
21 void (*close)(struct net_device *dev);
22 void (*start)(struct net_device *dev); /* if open & DCD */
23 void (*stop)(struct net_device *dev); /* if open & !DCD */
24 void (*detach)(struct net_device *dev);
25 int (*ioctl)(struct net_device *dev, struct if_settings *ifs);
26 __be16 (*type_trans)(struct sk_buff *skb, struct net_device *dev);
28 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
37 int (*attach)(struct net_device *dev,
41 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
[all …]
H A Dlapb.h12 struct net_device;
33 void (*connect_confirmation)(struct net_device *dev, int reason);
34 void (*connect_indication)(struct net_device *dev, int reason);
35 void (*disconnect_confirmation)(struct net_device *dev, int reason);
36 void (*disconnect_indication)(struct net_device *dev, int reason);
37 int (*data_indication)(struct net_device *dev, struct sk_buff *skb);
38 void (*data_transmit)(struct net_device *dev, struct sk_buff *skb);
53 extern int lapb_register(struct net_device *dev,
55 extern int lapb_unregister(struct net_device *dev);
56 extern int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms);
[all …]
H A Dif_vlan.h88 static inline int vlan_get_rx_ctag_filter_info(struct net_device *dev) in vlan_get_rx_ctag_filter_info()
94 static inline void vlan_drop_rx_ctag_filter_info(struct net_device *dev) in vlan_drop_rx_ctag_filter_info()
100 static inline int vlan_get_rx_stag_filter_info(struct net_device *dev) in vlan_get_rx_stag_filter_info()
106 static inline void vlan_drop_rx_stag_filter_info(struct net_device *dev) in vlan_drop_rx_stag_filter_info()
136 extern struct net_device *__vlan_find_dev_deep_rcu(struct net_device *real_dev,
138 extern int vlan_for_each(struct net_device *dev,
139 int (*action)(struct net_device *dev, int vid,
141 extern struct net_device *vlan_dev_real_dev(const struct net_device *de
[all...]
/linux/net/core/
H A Ddev.h32 struct net_device *dev_get_by_napi_id(unsigned int napi_id);
34 struct net_device *netdev_put_lock(struct net_device *dev, struct net *net,
37 static inline struct net_device *
38 __netdev_put_lock(struct net_device *dev, struct net *net) in __netdev_put_lock()
43 struct net_device *
44 netdev_xa_find_lock(struct net *net, struct net_device *dev,
47 DEFINE_FREE(netdev_unlock, struct net_device *, if (_T) netdev_unlock(_T));
50 for (struct net_device *var_name __free(netdev_unlock) = NULL; \
54 struct net_device *
[all...]
/linux/net/8021q/
H A Dvlan.h25 struct net_device __rcu **vlan_devices_arrays[VLAN_PROTO_NUM]
30 struct net_device *real_dev; /* The ethernet(like) device
53 static inline struct net_device *__vlan_group_get_device(struct vlan_group *vg, in __vlan_group_get_device()
57 struct net_device __rcu **array; in __vlan_group_get_device()
66 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, in __vlan_group_get_device()
80 struct net_device *dev) in vlan_group_set_device()
83 struct net_device __rcu **array; in vlan_group_set_device()
93 static inline struct net_device *vlan_find_dev(struct net_device *real_dev,
105 static inline netdev_features_t vlan_tnl_features(struct net_device *real_de in vlan_find_dev()
[all...]
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib.h154 static inline struct ipoib_dev_priv *ipoib_priv(const struct net_device *dev) in ipoib_priv()
181 struct net_device *dev;
240 struct net_device *dev;
250 struct net_device *dev;
325 struct net_device *dev;
326 void (*next_priv_destructor)(struct net_device *dev);
394 struct net_device *parent;
425 struct net_device *dev;
434 struct net_device *dev;
457 struct net_device *dev;
[all …]
/linux/drivers/net/hyperv/
H A Dnetvsc.c38 int netvsc_switch_datapath(struct net_device *ndev, bool vf) in netvsc_switch_datapath()
174 struct netvsc_device *net_device; in alloc_net_device() local
176 net_device = kzalloc_obj(struct netvsc_device); in alloc_net_device()
177 if (!net_device) in alloc_net_device()
180 init_waitqueue_head(&net_device->wait_drain); in alloc_net_device()
181 net_device->destroy = false; in alloc_net_device()
182 net_device->tx_disable = true; in alloc_net_device()
184 net_device->max_pkt = RNDIS_MAX_PKT_DEFAULT; in alloc_net_device()
185 net_device->pkt_align = RNDIS_PKT_ALIGN_DEFAULT; in alloc_net_device()
187 init_completion(&net_device in alloc_net_device()
205 netvsc_revoke_recv_buf(struct hv_device * device,struct netvsc_device * net_device,struct net_device * ndev) netvsc_revoke_recv_buf() argument
255 netvsc_revoke_send_buf(struct hv_device * device,struct netvsc_device * net_device,struct net_device * ndev) netvsc_revoke_send_buf() argument
306 netvsc_teardown_recv_gpadl(struct hv_device * device,struct netvsc_device * net_device,struct net_device * ndev) netvsc_teardown_recv_gpadl() argument
327 netvsc_teardown_send_gpadl(struct hv_device * device,struct netvsc_device * net_device,struct net_device * ndev) netvsc_teardown_send_gpadl() argument
347 netvsc_alloc_recv_comp_ring(struct netvsc_device * net_device,u32 q_idx) netvsc_alloc_recv_comp_ring() argument
362 netvsc_init_buf(struct hv_device * device,struct netvsc_device * net_device,const struct netvsc_device_info * device_info) netvsc_init_buf() argument
589 negotiate_nvsp_ver(struct hv_device * device,struct netvsc_device * net_device,struct nvsp_message * init_packet,u32 nvsp_ver) negotiate_nvsp_ver() argument
651 netvsc_connect_vsp(struct hv_device * device,struct netvsc_device * net_device,const struct netvsc_device_info * device_info) netvsc_connect_vsp() argument
727 struct netvsc_device *net_device netvsc_device_remove() local
771 netvsc_free_send_slot(struct netvsc_device * net_device,u32 index) netvsc_free_send_slot() argument
778 netvsc_send_tx_complete(struct net_device * ndev,struct netvsc_device * net_device,struct vmbus_channel * channel,const struct vmpacket_descriptor * desc,int budget) netvsc_send_tx_complete() argument
838 netvsc_send_completion(struct net_device * ndev,struct netvsc_device * net_device,struct vmbus_channel * incoming_channel,const struct vmpacket_descriptor * desc,int budget) netvsc_send_completion() argument
950 netvsc_get_next_send_section(struct netvsc_device * net_device) netvsc_get_next_send_section() argument
963 netvsc_copy_to_send_buf(struct netvsc_device * net_device,unsigned int section_index,u32 pend_size,struct hv_netvsc_packet * packet,struct rndis_message * rndis_msg,struct hv_page_buffer * pb,bool xmit_more) netvsc_copy_to_send_buf() argument
1125 netvsc_send_pkt(struct hv_device * device,struct hv_netvsc_packet * packet,struct netvsc_device * net_device,struct hv_page_buffer * pb,struct sk_buff * skb) netvsc_send_pkt() argument
1262 struct netvsc_device *net_device netvsc_send() local
1467 netvsc_receive(struct net_device * ndev,struct netvsc_device * net_device,struct netvsc_channel * nvchan,const struct vmpacket_descriptor * desc) netvsc_receive() argument
1678 netvsc_process_raw_pkt(struct hv_device * device,struct netvsc_channel * nvchan,struct netvsc_device * net_device,struct net_device * ndev,const struct vmpacket_descriptor * desc,int budget) netvsc_process_raw_pkt() argument
1724 struct netvsc_device *net_device = nvchan->net_device; netvsc_poll() local
1795 struct netvsc_device *net_device; netvsc_device_add() local
[all...]
/linux/net/switchdev/
H A Dswitchdev.c54 typedef void switchdev_deferred_func_t(struct net_device *dev,
59 struct net_device *dev;
111 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue()
132 struct net_device *dev, in switchdev_port_attr_notify()
158 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
166 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
180 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
197 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
224 struct net_device *dev, in switchdev_port_obj_notify()
247 static void switchdev_obj_id_to_helpful_msg(struct net_device *de
[all...]
/linux/include/linux/can/
H A Ddev.h45 struct net_device *dev;
74 int (*do_set_bittiming)(struct net_device *dev);
75 int (*do_set_mode)(struct net_device *dev, enum can_mode mode);
76 int (*do_set_termination)(struct net_device *dev, u16 term);
77 int (*do_get_state)(const struct net_device *dev,
79 int (*do_get_berr_counter)(const struct net_device *dev,
103 void can_setup(struct net_device *dev);
105 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max,
111 void free_candev(struct net_device *dev);
114 struct can_priv *safe_candev_priv(struct net_device *de
[all...]
/linux/net/dsa/
H A Duser.h14 struct net_device;
23 struct net_device *dev);
40 void dsa_user_destroy(struct net_device *user_dev);
41 int dsa_user_suspend(struct net_device *user_dev);
42 int dsa_user_resume(struct net_device *user_dev);
45 int dsa_user_host_uc_install(struct net_device *dev, const u8 *addr);
46 void dsa_user_host_uc_uninstall(struct net_device *dev);
47 void dsa_user_sync_ha(struct net_device *dev);
48 void dsa_user_unsync_ha(struct net_device *dev);
49 void dsa_user_setup_tagger(struct net_device *user);
[all …]
/linux/drivers/net/ethernet/8390/
H A D8390.h29 void ei_poll(struct net_device *dev);
30 void eip_poll(struct net_device *dev);
35 void NS8390_init(struct net_device *dev, int startp);
36 int ei_open(struct net_device *dev);
37 int ei_close(struct net_device *dev);
39 void ei_tx_timeout(struct net_device *dev, unsigned int txqueue);
40 netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev);
41 void ei_set_multicast_list(struct net_device *dev);
42 struct net_device_stats *ei_get_stats(struct net_device *dev);
46 struct net_device *__alloc_ei_netdev(int size);
[all …]
/linux/drivers/usb/gadget/function/
H A Du_ether.h119 struct net_device *gether_setup_name_default(const char *netname);
128 int gether_register_netdev(struct net_device *net);
139 static inline struct net_device *gether_setup_default(void) in gether_setup_default()
151 void gether_set_gadget(struct net_device *net, struct usb_gadget *g);
164 int gether_attach_gadget(struct net_device *net, struct usb_gadget *g);
175 void gether_detach_gadget(struct net_device *net);
177 DEFINE_FREE(detach_gadget, struct net_device *, if (_T) gether_detach_gadget(_T))
188 int gether_set_dev_addr(struct net_device *net, const char *dev_addr);
199 int gether_get_dev_addr(struct net_device *net, char *dev_addr, int len);
210 int gether_set_host_addr(struct net_device *net, const char *host_addr);
[all …]
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_dcbnl.c13 static u8 qede_dcbnl_getstate(struct net_device *netdev) in qede_dcbnl_getstate()
20 static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state) in qede_dcbnl_setstate()
27 static void qede_dcbnl_getpermhwaddr(struct net_device *netdev, in qede_dcbnl_getpermhwaddr()
33 static void qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgtx()
43 static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgtx()
51 static void qede_dcbnl_getpgtccfgrx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgrx()
61 static void qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgrx()
69 static void qede_dcbnl_getpfccfg(struct net_device *netdev, int prio, in qede_dcbnl_getpfccfg()
77 static void qede_dcbnl_setpfccfg(struct net_device *netdev, int prio, in qede_dcbnl_setpfccfg()
85 static u8 qede_dcbnl_getcap(struct net_device *netdev, int capid, u8 *cap) in qede_dcbnl_getcap()
[all …]
/linux/drivers/net/
H A Dnet_failover.c30 static bool net_failover_xmit_ready(struct net_device *dev) in net_failover_xmit_ready()
35 static int net_failover_open(struct net_device *dev) in net_failover_open()
38 struct net_device *primary_dev, *standby_dev; in net_failover_open()
71 static int net_failover_close(struct net_device *dev) in net_failover_close()
74 struct net_device *slave_dev; in net_failover_close()
90 struct net_device *dev) in net_failover_drop_xmit()
98 struct net_device *dev) in net_failover_start_xmit()
101 struct net_device *xmit_dev; in net_failover_start_xmit()
117 static u16 net_failover_select_queue(struct net_device *dev, in net_failover_select_queue()
119 struct net_device *sb_dev) in net_failover_select_queue()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_repr.h21 struct net_device __rcu *reprs[] __counted_by(num_reprs);
52 struct net_device *netdev;
78 static inline bool nfp_netdev_is_nfp_repr(struct net_device *netdev) in nfp_netdev_is_nfp_repr()
83 static inline int nfp_repr_get_port_id(struct net_device *netdev) in nfp_repr_get_port_id()
90 struct net_device *
94 void nfp_repr_inc_rx_stats(struct net_device *netdev, unsigned int len);
96 nfp_repr_transfer_features(struct net_device *netdev, struct net_device *lower);
97 int nfp_repr_init(struct nfp_app *app, struct net_device *netdev,
99 struct net_device *pf_netdev);
100 void nfp_repr_free(struct net_device *netdev);
[all …]
/linux/net/batman-adv/
H A Dhard-interface.h65 struct net_device *__batadv_get_real_netdev(struct net_device *net_device);
66 struct net_device *batadv_get_real_netdev(struct net_device *net_device);
67 u32 batadv_netdev_get_wifi_flags(struct net_device *net_dev);
71 batadv_hardif_get_by_netdev(struct net_device *net_dev);
72 int batadv_hardif_enable_interface(struct net_device *net_dev,
73 struct net_device *mesh_iface);
75 int batadv_hardif_min_mtu(struct net_device *mesh_iface);
76 void batadv_update_min_mtu(struct net_device *mesh_iface);
H A Dhard-interface.c48 .key_len = sizeof(struct net_device *),
79 batadv_hardif_get_by_netdev(struct net_device *net_dev) in batadv_hardif_get_by_netdev()
82 struct net_device *mesh_iface; in batadv_hardif_get_by_netdev()
104 static struct net *batadv_getlink_net(const struct net_device *netdev, in batadv_getlink_net()
127 static bool batadv_mutual_parents(const struct net_device *dev1, in batadv_mutual_parents()
129 const struct net_device *dev2, in batadv_mutual_parents()
162 static bool batadv_is_on_batman_iface(const struct net_device *net_dev) in batadv_is_on_batman_iface()
165 struct net_device *parent_dev; in batadv_is_on_batman_iface()
211 static bool batadv_is_valid_iface(const struct net_device *net_dev) in batadv_is_valid_iface()
240 struct net_device *__batadv_get_real_netdev(struct net_device *netdev) in __batadv_get_real_netdev()
[all …]
/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dfs_enet.h75 int (*setup_data)(struct net_device *dev);
76 int (*allocate_bd)(struct net_device *dev);
77 void (*free_bd)(struct net_device *dev);
78 void (*cleanup_data)(struct net_device *dev);
79 void (*set_multicast_list)(struct net_device *dev);
80 void (*restart)(struct net_device *dev, phy_interface_t interface,
82 void (*stop)(struct net_device *dev);
83 void (*napi_clear_event)(struct net_device *dev);
84 void (*napi_enable)(struct net_device *dev);
85 void (*napi_disable)(struct net_device *dev);
[all …]
/linux/net/ethtool/
H A Dcommon.h38 int __ethtool_get_link(struct net_device *dev);
43 int ethtool_check_max_channel(struct net_device *dev,
49 int ethtool_check_rss_ctx_busy(struct net_device *dev, u32 rss_context);
52 void ethtool_ringparam_get_cfg(struct net_device *dev,
59 int ethtool_get_rx_ring_count(struct net_device *dev);
61 int __ethtool_get_ts_info(struct net_device *dev, struct kernel_ethtool_ts_info *info);
62 int ethtool_get_ts_info_by_phc(struct net_device *dev,
65 int ethtool_net_get_ts_info_by_phc(struct net_device *dev,
69 ethtool_phy_get_ts_info_by_phc(struct net_device *dev,
72 bool net_support_hwtstamp_qualifier(struct net_device *de
[all...]

12345678910>>...73