/* * f2fs IO tracer * * Copyright (c) 2014 Motorola Mobility * Copyright (c) 2014 Jaegeuk Kim * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef __F2FS_TRACE_H__ #define __F2FS_TRACE_H__ #ifdef CONFIG_F2FS_IO_TRACE #include enum file_type { __NORMAL_FILE, __DIR_FILE, __NODE_FILE, __META_FILE, __ATOMIC_FILE, __VOLATILE_FILE, __MISC_FILE, }; struct last_io_info { int major, minor; pid_t pid; enum file_type type; struct f2fs_io_info fio; block_t len; }; extern void f2fs_trace_pid(struct page *); extern void f2fs_trace_ios(struct f2fs_io_info *, int); extern void f2fs_build_trace_ios(void); extern void f2fs_destroy_trace_ios(void); #else #define f2fs_trace_pid(p) #define f2fs_trace_ios(i, n) #define f2fs_build_trace_ios() #define f2fs_destroy_trace_ios() #endif #endif /* __F2FS_TRACE_H__ */ is.form.submit();'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Yasevich <vyasevich@gmail.com>2017-01-29 22:52:53 -0500
committerDavid S. Miller <davem@davemloft.net>2017-01-30 15:51:12 -0500
commit2b89ed65a6f201a6a4f0450ad289aa4bf491608c (patch)
tree84d46ed640f648af30847b308ccc88a467dba2df /net/ieee802154
parentd585df1c5ccf995fcee910705ad7a9cdd11d4152 (diff)
ipv6: Paritially checksum full MTU frames
IPv6 will mark data that is smaller that mtu - headersize as CHECKSUM_PARTIAL, but if the data will completely fill the mtu, the packet checksum will be computed in software instead. Extend the conditional to include the data that fills the mtu as well. Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154')