net/mlx5: rebuild flows on updating RETA
authorYongseok Koh <yskoh@mellanox.com>
Mon, 20 Mar 2017 23:04:35 +0000 (16:04 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:03:02 +0000 (19:03 +0200)
commitaa13338faf5e964516cf04c73f05d90fa433f743
treefd63e365c28675ba9ac7d9672f5946c588111230
parentd365210ef18212a73b2821b669f94d86b469225a
net/mlx5: rebuild flows on updating RETA

Currently mlx5_dev_rss_reta_update() just updates tables in the host,
therefore it isn't immediately effective until restarting the device by
calling mlx5_dev_stop()/mlx5_dev_start() to update the changes in the
device side. This patch adds rebuilding the device-specific data
structure and applying it to the device right away.

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_rss.c