From 1e19b740345f7b5c351a884b899fb22341005b1d Mon Sep 17 00:00:00 2001 From: Yibo Zhu Date: Sun, 10 Jun 2018 23:43:59 -0700 Subject: [PATCH] add copyright headers --- ffrouter/constant.h | 3 +++ ffrouter/ffrouter.cpp | 3 +++ ffrouter/ffrouter.h | 3 +++ ffrouter/log.h | 3 +++ ffrouter/main.cpp | 3 +++ ffrouter/rdma_api.cpp | 3 +++ ffrouter/rdma_api.h | 3 +++ ffrouter/shared_memory.cpp | 3 +++ ffrouter/shared_memory.h | 3 +++ ffrouter/tokenbucket.h | 2 ++ ffrouter/types.h | 3 +++ ffrouter/verbs_cmd.cpp | 3 +++ ffrouter/verbs_cmd.h | 3 +++ libmempool/MemoryPool.h | 3 +++ libmempool/MemoryPool.tcc | 1 + libmempool/libmempool.cpp | 3 +++ libmempool/libmempool.h | 3 +++ libmempool/test.c | 3 +++ .../libibverbs-1.2.1mlnx1/include/infiniband/freeflow-types.h | 3 +++ libraries/libibverbs-1.2.1mlnx1/include/infiniband/freeflow.h | 3 +++ libraries/libibverbs-1.2.1mlnx1/include/infiniband/verbs.h | 1 + libraries/libibverbs-1.2.1mlnx1/include/infiniband/verbs_exp.h | 1 + libraries/libibverbs-1.2.1mlnx1/src/cmd.c | 1 + libraries/libibverbs-1.2.1mlnx1/src/cmd_exp.c | 1 + libraries/libibverbs-1.2.1mlnx1/src/freeflow.c | 3 +++ libraries/libibverbs-1.2.1mlnx1/src/verbs.c | 1 + libraries/libmlx4-1.2.1mlnx1/src/cq.c | 1 + libraries/libmlx4-1.2.1mlnx1/src/mlx4.c | 1 + libraries/libmlx4-1.2.1mlnx1/src/mlx4.h | 1 + libraries/libmlx4-1.2.1mlnx1/src/qp.c | 1 + libraries/libmlx4-1.2.1mlnx1/src/srq.c | 1 + libraries/libmlx4-1.2.1mlnx1/src/verbs.c | 1 + libraries/libmlx4-1.2.1mlnx1/src/verbs_exp.c | 1 + libraries/librdmacm-1.1.0mlnx/src/freeflow.c | 3 +++ libraries/librdmacm-1.1.0mlnx/src/rsocket.c | 1 + 35 files changed, 76 insertions(+) diff --git a/ffrouter/constant.h b/ffrouter/constant.h index a39b568..c0aa256 100644 --- a/ffrouter/constant.h +++ b/ffrouter/constant.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #define NSTRS 3 /* no. of strings */ #define ADDRESS "/freeflow/router_unix.sock" /* addr to connect */ diff --git a/ffrouter/ffrouter.cpp b/ffrouter/ffrouter.cpp index ded68b3..ced2a19 100644 --- a/ffrouter/ffrouter.cpp +++ b/ffrouter/ffrouter.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include "ffrouter.h" #include "rdma_api.h" #include "verbs_cmd.h" diff --git a/ffrouter/ffrouter.h b/ffrouter/ffrouter.h index 9fec71b..6837a30 100644 --- a/ffrouter/ffrouter.h +++ b/ffrouter/ffrouter.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #ifndef FFROUTER_H #define FFROUTER_H diff --git a/ffrouter/log.h b/ffrouter/log.h index ceda8f6..e8a900e 100644 --- a/ffrouter/log.h +++ b/ffrouter/log.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #ifndef LOG_H #define LOG_H diff --git a/ffrouter/main.cpp b/ffrouter/main.cpp index 971f11f..305ab85 100644 --- a/ffrouter/main.cpp +++ b/ffrouter/main.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include "ffrouter.h" #include "constant.h" diff --git a/ffrouter/rdma_api.cpp b/ffrouter/rdma_api.cpp index 6b652be..95bf6d9 100644 --- a/ffrouter/rdma_api.cpp +++ b/ffrouter/rdma_api.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include "rdma_api.h" unsigned long diff --git a/ffrouter/rdma_api.h b/ffrouter/rdma_api.h index 16aa551..55d3eda 100644 --- a/ffrouter/rdma_api.h +++ b/ffrouter/rdma_api.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #ifndef RDMA_API_H #define RDMA_API_H diff --git a/ffrouter/shared_memory.cpp b/ffrouter/shared_memory.cpp index 3582c96..d5108aa 100644 --- a/ffrouter/shared_memory.cpp +++ b/ffrouter/shared_memory.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include "shared_memory.h" ShmPiece::ShmPiece(const char* name, int size) diff --git a/ffrouter/shared_memory.h b/ffrouter/shared_memory.h index 48a6847..9ed3604 100644 --- a/ffrouter/shared_memory.h +++ b/ffrouter/shared_memory.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #ifndef SHARED_MEMORY_H #define SHARED_MEMORY_H diff --git a/ffrouter/tokenbucket.h b/ffrouter/tokenbucket.h index 2711aa3..b9af521 100644 --- a/ffrouter/tokenbucket.h +++ b/ffrouter/tokenbucket.h @@ -1,5 +1,7 @@ /* Copyright (c) 2016 Erik Rigtorp +Copyright (c) Microsoft Corporation. All rights reserved. + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights diff --git a/ffrouter/types.h b/ffrouter/types.h index c586fde..906a610 100644 --- a/ffrouter/types.h +++ b/ffrouter/types.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #ifndef TYPES_H #define TYPES_H diff --git a/ffrouter/verbs_cmd.cpp b/ffrouter/verbs_cmd.cpp index ebe0b54..b646e2d 100644 --- a/ffrouter/verbs_cmd.cpp +++ b/ffrouter/verbs_cmd.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include "verbs_cmd.h" #include diff --git a/ffrouter/verbs_cmd.h b/ffrouter/verbs_cmd.h index cb2c7bf..4bce904 100644 --- a/ffrouter/verbs_cmd.h +++ b/ffrouter/verbs_cmd.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #ifndef VERBS_CMD_H #define VERBS_CMD_H diff --git a/libmempool/MemoryPool.h b/libmempool/MemoryPool.h index 20708b2..a98e863 100644 --- a/libmempool/MemoryPool.h +++ b/libmempool/MemoryPool.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + /*- * Copyright (c) 2013 Cosku Acay, http://www.coskuacay.com * diff --git a/libmempool/MemoryPool.tcc b/libmempool/MemoryPool.tcc index 8ca3edd..d1dd9e0 100644 --- a/libmempool/MemoryPool.tcc +++ b/libmempool/MemoryPool.tcc @@ -1,5 +1,6 @@ /*- * Copyright (c) 2013 Cosku Acay, http://www.coskuacay.com + * Copyright (c) Microsoft Corporation. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/libmempool/libmempool.cpp b/libmempool/libmempool.cpp index 5435181..bf0063d 100644 --- a/libmempool/libmempool.cpp +++ b/libmempool/libmempool.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include "libmempool.h" MemPool::MemPool() { diff --git a/libmempool/libmempool.h b/libmempool/libmempool.h index cb5d0b3..b780975 100644 --- a/libmempool/libmempool.h +++ b/libmempool/libmempool.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include #include #include diff --git a/libmempool/test.c b/libmempool/test.c index 2c0115f..681b6cb 100644 --- a/libmempool/test.c +++ b/libmempool/test.c @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include #include diff --git a/libraries/libibverbs-1.2.1mlnx1/include/infiniband/freeflow-types.h b/libraries/libibverbs-1.2.1mlnx1/include/infiniband/freeflow-types.h index 24f7fe7..4634728 100644 --- a/libraries/libibverbs-1.2.1mlnx1/include/infiniband/freeflow-types.h +++ b/libraries/libibverbs-1.2.1mlnx1/include/infiniband/freeflow-types.h @@ -1,3 +1,6 @@ +/* Copyright (c) Microsoft Corporation. All rights reserved. + Licensed under the MIT License. */ + #ifndef FREEFLOW_TYPES_H #define FREEFLOW_TYPES_H diff --git a/libraries/libibverbs-1.2.1mlnx1/include/infiniband/freeflow.h b/libraries/libibverbs-1.2.1mlnx1/include/infiniband/freeflow.h index 2663a9b..f6f70ab 100644 --- a/libraries/libibverbs-1.2.1mlnx1/include/infiniband/freeflow.h +++ b/libraries/libibverbs-1.2.1mlnx1/include/infiniband/freeflow.h @@ -1,3 +1,6 @@ +/* Copyright (c) Microsoft Corporation. All rights reserved. + Licensed under the MIT License. */ + #ifndef FREEFLOW_H #define FREEFLOW_H diff --git a/libraries/libibverbs-1.2.1mlnx1/include/infiniband/verbs.h b/libraries/libibverbs-1.2.1mlnx1/include/infiniband/verbs.h index 0cb5185..e3b2865 100644 --- a/libraries/libibverbs-1.2.1mlnx1/include/infiniband/verbs.h +++ b/libraries/libibverbs-1.2.1mlnx1/include/infiniband/verbs.h @@ -3,6 +3,7 @@ * Copyright (c) 2004, 2011-2012 Intel Corporation. All rights reserved. * Copyright (c) 2005, 2006, 2007 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2005 PathScale, Inc. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/libraries/libibverbs-1.2.1mlnx1/include/infiniband/verbs_exp.h b/libraries/libibverbs-1.2.1mlnx1/include/infiniband/verbs_exp.h index 31cc076..a826aa4 100644 --- a/libraries/libibverbs-1.2.1mlnx1/include/infiniband/verbs_exp.h +++ b/libraries/libibverbs-1.2.1mlnx1/include/infiniband/verbs_exp.h @@ -3,6 +3,7 @@ * Copyright (c) 2004, 2011-2012 Intel Corporation. All rights reserved. * Copyright (c) 2005, 2006, 2007 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2005 PathScale, Inc. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/libraries/libibverbs-1.2.1mlnx1/src/cmd.c b/libraries/libibverbs-1.2.1mlnx1/src/cmd.c index 929b0a9..a0fedc4 100644 --- a/libraries/libibverbs-1.2.1mlnx1/src/cmd.c +++ b/libraries/libibverbs-1.2.1mlnx1/src/cmd.c @@ -2,6 +2,7 @@ * Copyright (c) 2005 Topspin Communications. All rights reserved. * Copyright (c) 2005 PathScale, Inc. All rights reserved. * Copyright (c) 2006 Cisco Systems, Inc. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/libraries/libibverbs-1.2.1mlnx1/src/cmd_exp.c b/libraries/libibverbs-1.2.1mlnx1/src/cmd_exp.c index 87421ce..543de74 100644 --- a/libraries/libibverbs-1.2.1mlnx1/src/cmd_exp.c +++ b/libraries/libibverbs-1.2.1mlnx1/src/cmd_exp.c @@ -1,6 +1,7 @@ /* * Copyright (c) 2005 Topspin Communications. All rights reserved. * Copyright (c) 2006, 2007 Cisco Systems, Inc. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/libraries/libibverbs-1.2.1mlnx1/src/freeflow.c b/libraries/libibverbs-1.2.1mlnx1/src/freeflow.c index fcbb266..92632e9 100644 --- a/libraries/libibverbs-1.2.1mlnx1/src/freeflow.c +++ b/libraries/libibverbs-1.2.1mlnx1/src/freeflow.c @@ -1,3 +1,6 @@ +/* Copyright (c) Microsoft Corporation. All rights reserved. + Licensed under the MIT License. */ + #if HAVE_CONFIG_H # include #endif /* HAVE_CONFIG_H */ diff --git a/libraries/libibverbs-1.2.1mlnx1/src/verbs.c b/libraries/libibverbs-1.2.1mlnx1/src/verbs.c index 7795a4b..1ef44fe 100644 --- a/libraries/libibverbs-1.2.1mlnx1/src/verbs.c +++ b/libraries/libibverbs-1.2.1mlnx1/src/verbs.c @@ -1,6 +1,7 @@ /* * Copyright (c) 2005 Topspin Communications. All rights reserved. * Copyright (c) 2006, 2007 Cisco Systems, Inc. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/libraries/libmlx4-1.2.1mlnx1/src/cq.c b/libraries/libmlx4-1.2.1mlnx1/src/cq.c index 12b465c..bb9b000 100644 --- a/libraries/libmlx4-1.2.1mlnx1/src/cq.c +++ b/libraries/libmlx4-1.2.1mlnx1/src/cq.c @@ -2,6 +2,7 @@ * Copyright (c) 2005 Topspin Communications. All rights reserved. * Copyright (c) 2005 Mellanox Technologies Ltd. All rights reserved. * Copyright (c) 2006, 2007 Cisco Systems. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/libraries/libmlx4-1.2.1mlnx1/src/mlx4.c b/libraries/libmlx4-1.2.1mlnx1/src/mlx4.c index bdfb3c6..a4dec05 100644 --- a/libraries/libmlx4-1.2.1mlnx1/src/mlx4.c +++ b/libraries/libmlx4-1.2.1mlnx1/src/mlx4.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2007 Cisco, Inc. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/libraries/libmlx4-1.2.1mlnx1/src/mlx4.h b/libraries/libmlx4-1.2.1mlnx1/src/mlx4.h index 3ca134a..33fb216 100644 --- a/libraries/libmlx4-1.2.1mlnx1/src/mlx4.h +++ b/libraries/libmlx4-1.2.1mlnx1/src/mlx4.h @@ -1,6 +1,7 @@ /* * Copyright (c) 2004, 2005 Topspin Communications. All rights reserved. * Copyright (c) 2005, 2006, 2007 Cisco Systems. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/libraries/libmlx4-1.2.1mlnx1/src/qp.c b/libraries/libmlx4-1.2.1mlnx1/src/qp.c index 0a08ea9..78c0f65 100644 --- a/libraries/libmlx4-1.2.1mlnx1/src/qp.c +++ b/libraries/libmlx4-1.2.1mlnx1/src/qp.c @@ -2,6 +2,7 @@ * Copyright (c) 2005 Topspin Communications. All rights reserved. * Copyright (c) 2005 Mellanox Technologies Ltd. All rights reserved. * Copyright (c) 2007 Cisco, Inc. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/libraries/libmlx4-1.2.1mlnx1/src/srq.c b/libraries/libmlx4-1.2.1mlnx1/src/srq.c index 3495c9e..f084bbb 100644 --- a/libraries/libmlx4-1.2.1mlnx1/src/srq.c +++ b/libraries/libmlx4-1.2.1mlnx1/src/srq.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2007 Cisco, Inc. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/libraries/libmlx4-1.2.1mlnx1/src/verbs.c b/libraries/libmlx4-1.2.1mlnx1/src/verbs.c index 10b632f..a18d373 100644 --- a/libraries/libmlx4-1.2.1mlnx1/src/verbs.c +++ b/libraries/libmlx4-1.2.1mlnx1/src/verbs.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2007 Cisco, Inc. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/libraries/libmlx4-1.2.1mlnx1/src/verbs_exp.c b/libraries/libmlx4-1.2.1mlnx1/src/verbs_exp.c index 6fe20ad..8fa0c7e 100644 --- a/libraries/libmlx4-1.2.1mlnx1/src/verbs_exp.c +++ b/libraries/libmlx4-1.2.1mlnx1/src/verbs_exp.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2007 Cisco, Inc. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU diff --git a/libraries/librdmacm-1.1.0mlnx/src/freeflow.c b/libraries/librdmacm-1.1.0mlnx/src/freeflow.c index eaff7b2..7749588 100644 --- a/libraries/librdmacm-1.1.0mlnx/src/freeflow.c +++ b/libraries/librdmacm-1.1.0mlnx/src/freeflow.c @@ -1,3 +1,6 @@ +/* Copyright (c) Microsoft Corporation. All rights reserved. + Licensed under the MIT License. */ + #if HAVE_CONFIG_H # include #endif /* HAVE_CONFIG_H */ diff --git a/libraries/librdmacm-1.1.0mlnx/src/rsocket.c b/libraries/librdmacm-1.1.0mlnx/src/rsocket.c index f058b00..ac2f09e 100644 --- a/libraries/librdmacm-1.1.0mlnx/src/rsocket.c +++ b/libraries/librdmacm-1.1.0mlnx/src/rsocket.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2008-2014 Intel Corporation. All rights reserved. + * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU