]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net/mlx5e: Set netdev->rx_cpu_rmap on netdev creation
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 7 Feb 2017 14:30:52 +0000 (16:30 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 27 Mar 2017 12:08:13 +0000 (15:08 +0300)
commitbe4891af77226d5909be11ab4297434cfd8c391d
tree75d844708c9afedaa4ab3546bfadc10b3528edca
parent7f859ecfa8d6e647d6c794c8af44d209c8372e77
net/mlx5e: Set netdev->rx_cpu_rmap on netdev creation

To simplify mlx5e_open_locked flow we set netdev->rx_cpu_rmap on netdev
creation rather on netdev open, it is redundant to set it every time on
mlx5e_open_locked.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c