linux/net/tipc
Allan Stephens 5d9c54c1e9 tipc: Minor optimizations to name table translation code
Optimizes TIPC's name table translation code to avoid unnecessary
manipulation of the node address field of the resulting port id when
name translation fails.  This change is possible because a valid port
id cannot have a reference field of zero, so examining the reference
only is sufficient to determine if the translation was successful.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-09-06 18:12:56 -07:00
..
addr.c tipc: Reduce footprint by un-inlining address routines 2010-05-12 23:02:26 -07:00
addr.h tipc: Reduce footprint by un-inlining address routines 2010-05-12 23:02:26 -07:00
bcast.c tipc: Fix bug in broadcast link transmit statistics computation 2010-08-17 17:31:55 -07:00
bcast.h tipc: Reduce footprint by un-inlining port list routines 2010-05-12 23:02:27 -07:00
bearer.c tipc: Reduce footprint by un-inlining bearer congestion routine 2010-05-12 23:02:28 -07:00
bearer.h tipc: Reduce footprint by un-inlining bearer congestion routine 2010-05-12 23:02:28 -07:00
cluster.c tipc: add tipc_ prefix to fcns targeted for un-inlining 2010-05-12 23:02:25 -07:00
cluster.h tipc: Don't use structure names which easily globally conflict. 2008-09-02 23:38:32 -07:00
config.c tipc: Add support for "-s" configuration option 2010-05-12 23:02:23 -07:00
config.h
core.c tipc: Fix log buffer memory leak if initialization fails 2010-08-17 17:31:51 -07:00
core.h tipc: Reduce footprint by un-inlining buf_acquire routine 2010-05-12 23:02:28 -07:00
dbg.c tipc: fix non-const printf format arguments 2009-03-18 19:11:29 -07:00
dbg.h
discover.c tipc: Prevent missing name table entries when link flip-flops rapidly 2010-08-17 17:32:00 -07:00
discover.h
eth_media.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
handler.c
Kconfig tipc: Clean up configuration file 2010-01-19 14:23:57 -08:00
link.c tipc: Prevent missing name table entries when link flip-flops rapidly 2010-08-17 17:32:00 -07:00
link.h tipc: Relocate trivial link status functions to header file 2010-05-12 23:02:24 -07:00
Makefile
msg.c tipc: Reduce footprint by un-inlining tipc_msg_* routines 2010-05-12 23:02:29 -07:00
msg.h tipc: Reduce footprint by un-inlining tipc_msg_* routines 2010-05-12 23:02:29 -07:00
name_distr.c tipc: add tipc_ prefix to fcns targeted for un-inlining 2010-05-12 23:02:25 -07:00
name_distr.h
name_table.c tipc: Minor optimizations to name table translation code 2010-09-06 18:12:56 -07:00
name_table.h tipc: Don't use structure names which easily globally conflict. 2008-09-02 23:38:32 -07:00
net.c tipc: add tipc_ prefix to fcns targeted for un-inlining 2010-05-12 23:02:25 -07:00
net.h tipc: Don't use structure names which easily globally conflict. 2008-09-02 23:38:32 -07:00
netlink.c genetlink: make netns aware 2009-07-12 14:03:27 -07:00
node_subscr.c tipc: Don't use structure names which easily globally conflict. 2008-09-02 23:38:32 -07:00
node_subscr.h tipc: Don't use structure names which easily globally conflict. 2008-09-02 23:38:32 -07:00
node.c tipc: Prevent missing name table entries when link flip-flops rapidly 2010-08-17 17:32:00 -07:00
node.h tipc: Prevent missing name table entries when link flip-flops rapidly 2010-08-17 17:32:00 -07:00
port.c tipc: Minor optimizations to name table translation code 2010-09-06 18:12:56 -07:00
port.h tipc: Eliminate obsolete port's "congested_link" field 2010-05-12 23:02:20 -07:00
ref.c tipc: fix lockdep warning on address assignment 2010-03-16 14:15:45 -07:00
ref.h
socket.c tipc: Allow connect() to wait indefinitely 2010-08-17 17:31:59 -07:00
subscr.c TIPC: Updated topology subscription protocol according to latest spec 2010-04-06 19:50:19 -07:00
subscr.h tipc: fix endianness on tipc subscriber messages 2010-03-08 12:20:58 -08:00
user_reg.c
user_reg.h
zone.c tipc: Don't use structure names which easily globally conflict. 2008-09-02 23:38:32 -07:00
zone.h tipc: Don't use structure names which easily globally conflict. 2008-09-02 23:38:32 -07:00