summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx4/device.h
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2014-03-27 14:02:03 +0200
committerDavid S. Miller <davem@davemloft.net>2014-03-28 16:29:35 -0400
commitd18f141a1a7cfa5ffad8433e43062b05a8d1b82a (patch)
tree5e8cdce12698877f35c8af76011df76baa900316 /include/linux/mlx4/device.h
parentb74757944d69f8cd7de5284fc7e8649d965361ab (diff)
downloadblackbird-obmc-linux-d18f141a1a7cfa5ffad8433e43062b05a8d1b82a.tar.gz
blackbird-obmc-linux-d18f141a1a7cfa5ffad8433e43062b05a8d1b82a.zip
mlx4: Add support for CONFIG_DEV command
Introduce the CONFIG_DEV firmware command which we will use to configure the UDP port assumed by the firmware for the VXLAN offloads. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx4/device.h')
-rw-r--r--include/linux/mlx4/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h
index 6b3998396b99..d986c975616f 100644
--- a/include/linux/mlx4/device.h
+++ b/include/linux/mlx4/device.h
@@ -1232,4 +1232,6 @@ struct mlx4_slaves_pport mlx4_phys_to_slaves_pport_actv(
int mlx4_phys_to_slave_port(struct mlx4_dev *dev, int slave, int port);
int mlx4_get_base_gid_ix(struct mlx4_dev *dev, int slave, int port);
+
+int mlx4_config_vxlan_port(struct mlx4_dev *dev, __be16 udp_port);
#endif /* MLX4_DEVICE_H */
OpenPOWER on IntegriCloud