#ifndef __API_DEBUG_INTERNAL_H__ #define __API_DEBUG_INTERNAL_H__ #include "debug.h" #define __pr(func, fmt, ...) \ do { \ if ((func)) \ (func)("libapi: " fmt, ##__VA_ARGS__); \ } while (0) extern libapi_print_fn_t __pr_warning; extern libapi_print_fn_t __pr_info; extern libapi_print_fn_t __pr_debug; #define pr_warning(fmt, ...) __pr(__pr_warning, fmt, ##__VA_ARGS__) #define pr_info(fmt, ...) __pr(__pr_info, fmt, ##__VA_ARGS__) #define pr_debug(fmt, ...) __pr(__pr_debug, fmt, ##__VA_ARGS__) #endif /* __API_DEBUG_INTERNAL_H__ */ >
summaryrefslogtreecommitdiff
path: root/net/Kconfig
AgeCommit message (Collapse)AuthorFilesLines
2017-02-08gro_cells: move to net/core/gro_cells.cEric Dumazet1-0/+4
We have many gro cells users, so lets move the code to avoid duplication. This creates a CONFIG_GRO_CELLS option. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-03net: Introduce ife encapsulation moduleYotam Gigi1-0/+1
This module is responsible for the ife encapsulation protocol encode/decode logics. That module can: - ife_encode: encode skb and reserve space for the ife meta header - ife_decode: decode skb and extract the meta header size - ife_tlv_meta_encode - encodes one tlv entry into the reserved ife header space. - ife_tlv_meta_decode - decodes one tlv entry from the packet - ife_tlv_meta_next - advance to the next tlv Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Yotam Gigi <yotamg@mellanox.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Roman Mashak <mrv@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>