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>
This commit is contained in:
parent
b74757944d
commit
d18f141a1a
4 changed files with 52 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue