[dpdk-dev,v3,14/14] net/mlx5: support RSS configuration in isolated mode
Checks
Commit Message
Enable RSS related configuration in isolated mode.
Signed-off-by: Xueming Li <xuemingl@mellanox.com>
---
drivers/net/mlx5/mlx5.c | 4 ++++
1 file changed, 4 insertions(+)
Comments
On Fri, Apr 13, 2018 at 07:20:23PM +0800, Xueming Li wrote:
> Enable RSS related configuration in isolated mode.
>
> Signed-off-by: Xueming Li <xuemingl@mellanox.com>
> ---
> drivers/net/mlx5/mlx5.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
> index 89b683d6e..521f60c18 100644
> --- a/drivers/net/mlx5/mlx5.c
> +++ b/drivers/net/mlx5/mlx5.c
> @@ -333,6 +333,10 @@ const struct eth_dev_ops mlx5_dev_ops_isolate = {
> .mtu_set = mlx5_dev_set_mtu,
> .vlan_strip_queue_set = mlx5_vlan_strip_queue_set,
> .vlan_offload_set = mlx5_vlan_offload_set,
> + .reta_update = mlx5_dev_rss_reta_update,
> + .reta_query = mlx5_dev_rss_reta_query,
> + .rss_hash_update = mlx5_rss_hash_update,
> + .rss_hash_conf_get = mlx5_rss_hash_conf_get,
> .filter_ctrl = mlx5_dev_filter_ctrl,
> .rx_descriptor_status = mlx5_rx_descriptor_status,
> .tx_descriptor_status = mlx5_tx_descriptor_status,
> --
> 2.13.3
This API are only modifying the behavior of control plane flows, i.e.
unicast, promiscuous and all multicast, in isolated mode such flows are
never created to comply with the isolated mode.
There is no need to enable such API.
Thanks,
@@ -333,6 +333,10 @@ const struct eth_dev_ops mlx5_dev_ops_isolate = {
.mtu_set = mlx5_dev_set_mtu,
.vlan_strip_queue_set = mlx5_vlan_strip_queue_set,
.vlan_offload_set = mlx5_vlan_offload_set,
+ .reta_update = mlx5_dev_rss_reta_update,
+ .reta_query = mlx5_dev_rss_reta_query,
+ .rss_hash_update = mlx5_rss_hash_update,
+ .rss_hash_conf_get = mlx5_rss_hash_conf_get,
.filter_ctrl = mlx5_dev_filter_ctrl,
.rx_descriptor_status = mlx5_rx_descriptor_status,
.tx_descriptor_status = mlx5_tx_descriptor_status,