#ifndef TPRINTF_H #define TPRINTF_H #include "built_in.h" #include "colors.h" #include "colorize.h" extern void tprintf_init(void); extern void tprintf(char *msg, ...) __check_format_printf(1, 2); extern void tprintf_flush(void); extern void tprintf_cleanup(void); extern void tputchar_safe(int c); extern void tputs_safe(const char *str, size_t len); #define DEFAULT_TTY_SIZE 80 #endif /* TPRINTF_H */ link rel='vcs-git' href='git://git.distanz.ch/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaobo Xu <xushaobo2@huawei.com>2016-11-23 19:41:08 +0000
committerDoug Ledford <dledford@redhat.com>2016-12-03 14:20:42 -0500
commit82547469782a952452c84c055c7911e635c77cd0 (patch)
tree758e21bccc0f7bf22d8191e9c0df0792142b5daa
parent5e6ff78a229c2f231f2f743b017987621e469858 (diff)
IB/hns: Implement the add_gid/del_gid and optimize the GIDs management
IB core has implemented the calculation of GIDs and the management of GID tables, and it is now responsible to supply query function for GIDs. So the calculation of GIDs and the management of GID tables in the RoCE driver is redundant. The patch is to implement the add_gid/del_gid to set the GIDs in the RoCE driver, remove the redundant calculation and management of GIDs in the notifier call of the net device and the inet, and update the query_gid. Signed-off-by: Shaobo Xu <xushaobo2@huawei.com> Reviewed-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: Doug Ledford <dledford@redhat.com>