diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2014-03-27 14:02:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-28 16:29:35 -0400 |
commit | 1b136de120dda625109f2afe1e3d04e256be9ec1 (patch) | |
tree | 321fa0738eb04cffe07abb89b7f06759f062f64c /include/linux/mlx4 | |
parent | d18f141a1a7cfa5ffad8433e43062b05a8d1b82a (diff) | |
download | linux-stable-1b136de120dda625109f2afe1e3d04e256be9ec1.tar.gz linux-stable-1b136de120dda625109f2afe1e3d04e256be9ec1.tar.bz2 linux-stable-1b136de120dda625109f2afe1e3d04e256be9ec1.zip |
net/mlx4: Implement vxlan ndo calls
Add implementation for the add/del vxlan port ndo calls, using the
CONFIG_DEV firmware command.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r-- | include/linux/mlx4/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index d986c975616f..ba87bd21295a 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h @@ -1142,7 +1142,7 @@ int mlx4_SET_PORT_qpn_calc(struct mlx4_dev *dev, u8 port, u32 base_qpn, int mlx4_SET_PORT_PRIO2TC(struct mlx4_dev *dev, u8 port, u8 *prio2tc); int mlx4_SET_PORT_SCHEDULER(struct mlx4_dev *dev, u8 port, u8 *tc_tx_bw, u8 *pg, u16 *ratelimit); -int mlx4_SET_PORT_VXLAN(struct mlx4_dev *dev, u8 port, u8 steering); +int mlx4_SET_PORT_VXLAN(struct mlx4_dev *dev, u8 port, u8 steering, int enable); int mlx4_find_cached_mac(struct mlx4_dev *dev, u8 port, u64 mac, int *idx); int mlx4_find_cached_vlan(struct mlx4_dev *dev, u8 port, u16 vid, int *idx); int mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index); |