summaryrefslogtreecommitdiff
path: root/drivers/zorro/.gitignore
diff options
context:
space:
mode:
authorJon Maloy <jon.maloy@ericsson.com>2018-02-15 12:40:46 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-16 23:26:33 +0300
commit8985ecc7c1e07c42acc1e44ac56fa224f8a5c62f (patch)
treeed564ee8b615b55e4569b38ea039e3eb89dccbe0 /drivers/zorro/.gitignore
parent414574a0af36d329f560f542e650cc4a81cc1d69 (diff)
downloadlinux-8985ecc7c1e07c42acc1e44ac56fa224f8a5c62f.tar.xz
tipc: simplify endianness handling in topology subscriber
Because of the requirement for total distribution transparency, users send subscriptions and receive topology events in their own host format. It is up to the topology server to determine this format and do the correct conversions to and from its own host format when needed. Until now, this has been handled in a rather non-transparent way inside the topology server and subscriber code, leading to unnecessary complexity when creating subscriptions and issuing events. We now improve this situation by adding two new macros, tipc_sub_read() and tipc_evt_write(). Both those functions calculate the need for conversion internally before performing their respective operations. Hence, all handling of such conversions become transparent to the rest of the code. Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/zorro/.gitignore')
0 files changed, 0 insertions, 0 deletions