Home
last modified time | relevance | path

Searched refs:netpoll (Results 1 – 18 of 18) sorted by relevance

/linux/include/linux/
H A Dnetpoll.h19 struct netpoll {
60 int __netpoll_setup(struct netpoll *np, struct net_device *ndev);
61 void __netpoll_free(struct netpoll *np); in netpoll_poll_disable()
62 void netpoll_cleanup(struct netpoll *np); in netpoll_poll_enable()
63 void do_netpoll_cleanup(struct netpoll *np);
64 netdev_tx_t netpoll_send_skb(struct netpoll *np, struct sk_buff *skb);
24 struct netpoll { global() struct
44 namenetpoll global() argument
H A Dif_macvlan.h36 struct netpoll *netpoll; member
H A Dif_vlan.h160 struct netpoll;
176 * @netpoll: netpoll instance "propagated" down to @real_dev
196 struct netpoll *netpoll; member
/linux/net/core/
H A Dnetpoll.c24 #include <linux/netpoll.h>
52 * netpoll.carrier_timeout module-parameter ABI. Its value is exposed to in netpoll_get_carrier_timeout()
185 * the dev_open/close paths use this to block netpoll activity in netpoll_poll_dev()
271 static netdev_tx_t __netpoll_send_skb(struct netpoll *np, struct sk_buff *skb) in __netpoll_send_skb()
341 netdev_tx_t netpoll_send_skb(struct netpoll *np, struct sk_buff *skb)
358 int __netpoll_setup(struct netpoll *np, struct net_device *ndev) in __netpoll_setup()
419 static void __netpoll_cleanup(struct netpoll *np) in __netpoll_cleanup()
428 * its refcnt tracks how many netpoll structures are linked to it. We
444 void __netpoll_free(struct netpoll *np) in do_netpoll_cleanup()
455 void do_netpoll_cleanup(struct netpoll *n in netpoll_cleanup()
[all...]
H A DMakefile28 obj-$(CONFIG_NETPOLL) += netpoll.o
/linux/net/8021q/
H A Dvlan_dev.c35 #include <linux/netpoll.h>
98 return netpoll_send_skb(vlan->netpoll, skb); in vlan_netpoll_send_skb()
742 struct netpoll *netpoll; in vlan_dev_get_iflink()
745 netpoll = kzalloc_obj(*netpoll); in vlan_dev_fill_forward_path()
747 if (!netpoll) in vlan_dev_fill_forward_path()
750 err = __netpoll_setup(netpoll, real_dev); in vlan_dev_fill_forward_path()
752 kfree(netpoll); in vlan_dev_fill_forward_path()
756 vlan->netpoll in vlan_dev_fill_forward_path()
704 struct netpoll *netpoll; vlan_dev_netpoll_setup() local
727 struct netpoll *netpoll = vlan->netpoll; vlan_dev_netpoll_cleanup() local
[all...]
/linux/net/dsa/
H A Duser.h31 struct netpoll *netpoll; member
H A Duser.c875 return netpoll_send_skb(p->netpoll, skb); in dsa_user_netpoll_send_skb()
1318 struct netpoll *netpoll; in dsa_user_netpoll_setup() local
1321 netpoll = kzalloc_obj(*netpoll); in dsa_user_netpoll_setup()
1322 if (!netpoll) in dsa_user_netpoll_setup()
1325 err = __netpoll_setup(netpoll, conduit); in dsa_user_netpoll_setup()
1327 kfree(netpoll); in dsa_user_netpoll_setup()
1331 p->netpoll = netpoll; in dsa_user_netpoll_setup()
1339 struct netpoll *netpoll = p->netpoll; in dsa_user_netpoll_cleanup() local
1341 if (!netpoll) in dsa_user_netpoll_cleanup()
1344 p->netpoll = NULL; in dsa_user_netpoll_cleanup()
[all …]
/linux/drivers/net/
H A Dmacvlan.c34 #include <linux/netpoll.h>
582 return netpoll_send_skb(vlan->netpoll, skb); in macvlan_netpoll_send_skb()
1155 struct netpoll *netpoll; in macvlan_dev_netpoll_setup()
1158 netpoll = kzalloc_obj(*netpoll); in macvlan_dev_netpoll_setup()
1160 if (!netpoll) in macvlan_dev_netpoll_setup()
1163 err = __netpoll_setup(netpoll, real_dev); in macvlan_dev_netpoll_setup()
1165 kfree(netpoll); in macvlan_dev_netpoll_cleanup()
1169 vlan->netpoll in macvlan_dev_netpoll_cleanup()
1145 struct netpoll *netpoll; macvlan_dev_netpoll_setup() local
1168 struct netpoll *netpoll = vlan->netpoll; macvlan_dev_netpoll_cleanup() local
[all...]
H A Dnetconsole.c18 * 2003-09-07 rewritten with netpoll api
38 #include <linux/netpoll.h>
201 * @np: The netpoll structure for this target.
235 struct netpoll np;
380 static void netcons_wait_carrier(struct netpoll *np, struct net_device *ndev) in netcons_wait_carrier()
396 * to select the egress interface for the given netpoll instance. buf in netcons_egress_dev()
401 static char *netcons_egress_dev(struct netpoll *np, char *buf, size_t bufsz) in netcons_egress_dev()
417 struct netpoll *np = &nt->np; in netcons_take_ipv6()
461 struct netpoll *np = &nt->np; in netcons_take_ipv4()
491 struct netpoll *n in netcons_local_ip_unset()
[all...]
/linux/net/bridge/
H A Dbr_device.c12 #include <linux/netpoll.h>
309 struct netpoll *np; in __br_netpoll_enable()
358 struct netpoll *np = p->np; in br_netpoll_disable()
H A Dbr_private.h14 #include <linux/netpoll.h>
459 struct netpoll *np;
/linux/include/net/
H A Dbonding.h184 struct netpoll *np;
/linux/Documentation/networking/
H A Dnetconsole.rst10 2.6 port and netpoll api by Matt Mackall <mpm@selenic.com>, Sep 9 2003
/linux/drivers/net/team/
H A Dteam_core.c18 #include <linux/netpoll.h>
1143 struct netpoll *np; in __team_port_enable_netpoll()
1169 struct netpoll *np = port->np; in team_port_disable_netpoll()
1328 netdev_err(dev, "Failed to enable netpoll on device %s\n", in team_port_add()
/linux/drivers/net/bonding/
H A Dbond_main.c1394 struct netpoll *np; in slave_enable_netpoll()
1413 struct netpoll *np = slave->np; in slave_disable_netpoll()
2227 slave_info(bond_dev, slave_dev, "master_dev is using netpoll, but new slave device does not support netpoll\n"); in bond_enslave()
5606 * netpoll path, tell netpoll to queue the frame for later tx in bond_start_xmit()
6676 /* Make sure we don't have an imbalance on our netpoll blocking */
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt4306 netpoll.carrier_timeout=
4308 netpoll should wait for a carrier. By default netpoll
/linux/
H A DMAINTAINERS19539 F: include/linux/netpoll.h