net/mlx5e: RX, Re-work initializaiton of RX function pointers
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / ipoib / ipoib_vlan.c
index f70367018862f2a3cce5471681aab09486aaf8b0..7163d9f6c4a6fe69849f00ef15220d26350b0f72 100644 (file)
@@ -349,8 +349,7 @@ static const struct mlx5e_profile mlx5i_pkey_nic_profile = {
        .disable           = NULL,
        .update_rx         = mlx5i_update_nic_rx,
        .update_stats      = NULL,
-       .rx_handlers.handle_rx_cqe       = mlx5i_handle_rx_cqe,
-       .rx_handlers.handle_rx_cqe_mpwqe = NULL, /* Not supported */
+       .rx_handlers       = &mlx5i_rx_handlers,
        .max_tc            = MLX5I_MAX_NUM_TC,
        .rq_groups         = MLX5E_NUM_RQ_GROUPS(REGULAR),
 };