Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
issue: 2053834 Update License date to 2020
Signed-off-by: Igor Ivanov <igor.ivanov.va@gmail.com>
  • Loading branch information
igor-ivanov committed Jan 14, 2020
1 parent 5d403c7 commit 8cace2d
Show file tree
Hide file tree
Showing 33 changed files with 38 additions and 40 deletions.
2 changes: 1 addition & 1 deletion contrib/test_jenkins.sh
Expand Up @@ -2,7 +2,7 @@
#
# Testing script for SOCKPERF, to run from Jenkins CI
#
# Copyright (C) Mellanox Technologies Ltd. 2001-2017. ALL RIGHTS RESERVED.
# Copyright (C) Mellanox Technologies Ltd. 2011-2020. ALL RIGHTS RESERVED.
#
# See file LICENSE for terms.
#
Expand Down
2 changes: 1 addition & 1 deletion copying
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion debian/copyright
Expand Up @@ -17,7 +17,7 @@ Source: <url://example.com>
### Please avoid to pick license terms that are more restrictive than the
### packaged work, as it may make Debian's contributions unacceptable upstream.

Copyright: 2011 Mellanox Technologies Ltd.
Copyright: 2011-2020 Mellanox Technologies, Ltd.
License: __UNKNOWN__
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Expand Down
2 changes: 1 addition & 1 deletion src/aopt.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/aopt.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/client.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/client.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/clock.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/common.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/common.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/defs.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
4 changes: 2 additions & 2 deletions src/defs.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down Expand Up @@ -228,7 +228,7 @@ static const char *const round_trip_str[] = { "latency", "rtt" };

#define MODULE_NAME "sockperf"
#define MODULE_COPYRIGHT \
"Copyright (C) 2011 Mellanox Technologies Ltd." \
"Copyright (C) 2011-2020 Mellanox Technologies Ltd." \
"\nSockPerf is open source software, see http://github.com/mellanox/sockperf"
#define log_msg(log_fmt, ...) printf(MODULE_NAME ": " log_fmt "\n", ##__VA_ARGS__)
#define log_msg_file(file, log_fmt, ...) fprintf(file, MODULE_NAME ": " log_fmt "\n", ##__VA_ARGS__)
Expand Down
2 changes: 1 addition & 1 deletion src/iohandlers.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/iohandlers.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/message.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/message.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/os_abstract.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/os_abstract.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/packet.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/packet.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/playback.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/playback.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/server.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/server.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
12 changes: 5 additions & 7 deletions src/sockperf.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down Expand Up @@ -3016,8 +3016,7 @@ static int set_sockets_from_feedfile(const char *feedfile_name) {

//------------------------------------------------------------------------------
/* Sanity check for the sockets list inside g_fds_array. */
static bool fds_array_is_valid()
{
static bool fds_array_is_valid() {
int i;
int fd;

Expand All @@ -3029,13 +3028,12 @@ static bool fds_array_is_valid()
*/

for (fd = s_fd_min, i = 0; i < s_fd_num && fd != s_fd_max; ++i) {
if (g_fds_array[fd] == NULL)
if (g_fds_array[fd] == NULL) {
return false;
}
fd = g_fds_array[fd]->next_fd;
}
return fd == s_fd_max &&
(i + 1) == s_fd_num &&
g_fds_array[fd]->next_fd == s_fd_min;
return ((fd == s_fd_max) && ((i + 1) == s_fd_num) && (g_fds_array[fd]->next_fd == s_fd_min));
}

//------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/switches.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/ticks.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/ticks.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/ticks_os.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/vma-redirect.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion src/vma-redirect.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2018 Mellanox Technologies Ltd.
* Copyright (c) 2011-2020 Mellanox Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion tests/vma_multiplexers_test.sh
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright (c) 2011 Mellanox Technologies Ltd.
# Copyright (c) 2011-2020 Mellanox Technologies Ltd.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion tests/vma_perf_envelope.sh
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright (c) 2011 Mellanox Technologies Ltd.
# Copyright (c) 2011-2020 Mellanox Technologies Ltd.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
Expand Down

0 comments on commit 8cace2d

Please sign in to comment.