diff options
author | Moshe Shemesh <moshe@mellanox.com> | 2019-03-21 15:51:36 -0700 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-03-22 12:09:31 -0700 |
commit | 974eff2b5793eeaa2eb433bca7eba9640d890c4a (patch) | |
tree | 8105d3d287e37cd575713b7ca390e4c7755c107b /drivers/net/geneve.c | |
parent | bdde9311499491fb75fd1880e4789cf7e60cd691 (diff) | |
download | linux-974eff2b5793eeaa2eb433bca7eba9640d890c4a.tar.bz2 |
net: Move the definition of the default Geneve udp port to public header file
Move the definition of the default Geneve udp port from the geneve
source to the header file, so we can re-use it from drivers.
Modify existing drivers to use it.
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Cc: John Hurley <john.hurley@netronome.com>
Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/geneve.c')
-rw-r--r-- | drivers/net/geneve.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c index 5583d993480d..c05b1207358d 100644 --- a/drivers/net/geneve.c +++ b/drivers/net/geneve.c @@ -22,8 +22,6 @@ #define GENEVE_NETDEV_VER "0.6" -#define GENEVE_UDP_PORT 6081 - #define GENEVE_N_VID (1u << 24) #define GENEVE_VID_MASK (GENEVE_N_VID - 1) |