[ovs-git] [openvswitch/ovs] 298538: datapath: Remove linux/compat/include/linux/log2.h...
GitHub
noreply at github.com
Sun Apr 26 17:03:57 UTC 2015
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 298538142312f994b982b266f24f93405580ec5b
https://github.com/openvswitch/ovs/commit/298538142312f994b982b266f24f93405580ec5b
Author: Alex Wang <alexw at nicira.com>
Date: 2015-04-26 (Sun, 26 Apr 2015)
Changed paths:
M acinclude.m4
M datapath/linux/Modules.mk
R datapath/linux/compat/include/linux/log2.h
Log Message:
-----------
datapath: Remove linux/compat/include/linux/log2.h.
No longer need this compat file, we can use the upstream version
of the function.
Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
Commit: bedf02f45b3614b6217a7be167cc13cd50b533cf
https://github.com/openvswitch/ovs/commit/bedf02f45b3614b6217a7be167cc13cd50b533cf
Author: Alex Wang <alexw at nicira.com>
Date: 2015-04-26 (Sun, 26 Apr 2015)
Changed paths:
M AUTHORS
M datapath/linux/compat/dev-openvswitch.c
M datapath/linux/compat/exthdrs_core.c
M datapath/linux/compat/flex_array.c
M datapath/linux/compat/flow_dissector.c
M datapath/linux/compat/genetlink-openvswitch.c
M datapath/linux/compat/geneve.c
M datapath/linux/compat/gre.c
M datapath/linux/compat/gso.c
M datapath/linux/compat/gso.h
M datapath/linux/compat/include/linux/flex_array.h
M datapath/linux/compat/include/linux/ip.h
M datapath/linux/compat/include/linux/net.h
M datapath/linux/compat/include/linux/netdevice.h
M datapath/linux/compat/include/linux/reciprocal_div.h
M datapath/linux/compat/include/linux/skbuff.h
M datapath/linux/compat/include/net/checksum.h
M datapath/linux/compat/include/net/genetlink.h
M datapath/linux/compat/include/net/geneve.h
M datapath/linux/compat/include/net/gre.h
M datapath/linux/compat/include/net/ip_tunnels.h
M datapath/linux/compat/include/net/ipv6.h
M datapath/linux/compat/include/net/net_namespace.h
M datapath/linux/compat/include/net/udp.h
M datapath/linux/compat/include/net/udp_tunnel.h
M datapath/linux/compat/include/net/vxlan.h
M datapath/linux/compat/ip_tunnels_core.c
M datapath/linux/compat/net_namespace.c
M datapath/linux/compat/netdevice.c
M datapath/linux/compat/reciprocal_div.c
M datapath/linux/compat/skbuff-openvswitch.c
M datapath/linux/compat/udp.c
M datapath/linux/compat/udp_tunnel.c
M datapath/linux/compat/utils.c
M datapath/linux/compat/vxlan.c
Log Message:
-----------
datapath: Prevent linker error of unknown symbol.
With the latest change of separating vports into their own modules,
it is necessary to export all public functions in linux/compat/
directory. Also, we should prefix functions which replace the
upstream ones with 'rpl_' and others with 'ovs_'. This will prevent
the linker error when vport modules use those functions in the future.
e.g., the to be merged vport-stt module will use the flex_array_*
functions which are not currently exported.
Co-authored-by: Tuan Nguyen <tuan.nguyen at veriksystems.com>
Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
Commit: b296b82a87326e68773b970284b8e012def0e3ba
https://github.com/openvswitch/ovs/commit/b296b82a87326e68773b970284b8e012def0e3ba
Author: Alex Wang <alexw at nicira.com>
Date: 2015-04-26 (Sun, 26 Apr 2015)
Changed paths:
M datapath/Makefile.am
M datapath/README.md
M datapath/linux/Modules.mk
A datapath/linux/compat/build-aux/export-check-whitelist
Log Message:
-----------
datapath: Check the export of public functions in linux/compat/linux/.
This commit adds check in datapath/Makefile to make sure that all public
functions and exported symbols in linux/compat/ are either rpl_ or ovs_
prefixed, except those defined in compat/build-aux/export-check-whitelist.
Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
Compare: https://github.com/openvswitch/ovs/compare/3ed424e5e5d6...b296b82a8732
More information about the git
mailing list