#ifndef DEV_H #define DEV_H #include #include "built_in.h" extern int device_mtu(const char *ifname); extern int device_address(const char *ifname, int af, struct sockaddr_storage *ss); extern int device_ifindex(const char *ifname); extern int device_type(const char *ifname); extern short device_get_flags(const char *ifname); extern void device_set_flags(const char *ifname, const short flags); extern int device_up_and_running(char *ifname); extern u32 device_bitrate(const char *ifname); #endif /* DEV_H */ ref='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSowmini Varadhan <sowmini.varadhan@oracle.com>2014-10-25 15:12:31 -0400
committerDavid S. Miller <davem@davemloft.net>2014-10-25 16:20:16 -0400
commit13b13dd97c3a45857b2b622add06b1c70b748abf (patch)
tree5ebb758c58de5f7755aca98d23a1b34aa48defe4 /net/ipv4/ipconfig.c
parent2a968dd8f7d71ae85c4fe0ff190fbfb4212faf98 (diff)
sunvnet: Remove irqsave/irqrestore on vio.lock
After the NAPIfication of sunvnet, we no longer need to synchronize by doing irqsave/restore on vio.lock in the I/O fastpath. NAPI ->poll() is non-reentrant, so all RX processing occurs strictly in a serialized environment. TX reclaim is done in NAPI context, so the netif_tx_lock can be used to serialize critical sections between Tx and Rx paths. Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipconfig.c')