Lines Matching refs:get_feat_ctx

3366 				      struct ena_com_dev_get_features_ctx *get_feat_ctx)  in ena_device_validate_params()  argument
3371 rc = ether_addr_equal(get_feat_ctx->dev_attr.mac_addr, in ena_device_validate_params()
3379 if (get_feat_ctx->dev_attr.max_mtu < netdev->mtu) { in ena_device_validate_params()
3449 struct ena_com_dev_get_features_ctx *get_feat_ctx, in ena_device_init() argument
3513 rc = ena_com_get_dev_attr_feat(ena_dev, get_feat_ctx); in ena_device_init()
3526 aenq_groups &= get_feat_ctx->aenq.supported_groups; in ena_device_init()
3538 rc = ena_set_queues_placement_policy(pdev, ena_dev, &get_feat_ctx->llq, in ena_device_init()
3636 struct ena_com_dev_get_features_ctx get_feat_ctx; in ena_restore_device() local
3643 rc = ena_device_init(ena_dev, adapter->pdev, &get_feat_ctx, &wd_state); in ena_restore_device()
3650 rc = ena_device_validate_params(adapter, &get_feat_ctx); in ena_restore_device()
4014 struct ena_com_dev_get_features_ctx *get_feat_ctx) in ena_calc_max_io_queue_num() argument
4020 &get_feat_ctx->max_queue_ext.max_queue_ext; in ena_calc_max_io_queue_num()
4028 &get_feat_ctx->max_queues; in ena_calc_max_io_queue_num()
4036 io_tx_sq_num = get_feat_ctx->llq.max_llq_num; in ena_calc_max_io_queue_num()
4165 struct ena_com_dev_get_features_ctx *get_feat_ctx) in ena_calc_io_queue_size() argument
4167 struct ena_admin_feature_llq_desc *llq = &get_feat_ctx->llq; in ena_calc_io_queue_size()
4176 &get_feat_ctx->max_queue_ext.max_queue_ext; in ena_calc_io_queue_size()
4194 &get_feat_ctx->max_queues; in ena_calc_io_queue_size()
4241 struct ena_com_dev_get_features_ctx get_feat_ctx; in ena_probe() local
4311 rc = ena_device_init(ena_dev, pdev, &get_feat_ctx, &wd_state); in ena_probe()
4331 max_num_io_queues = ena_calc_max_io_queue_num(pdev, ena_dev, &get_feat_ctx); in ena_probe()
4332 ena_calc_io_queue_size(adapter, &get_feat_ctx); in ena_probe()
4338 ena_set_conf_feat_params(adapter, &get_feat_ctx); in ena_probe()
4352 !!(get_feat_ctx.llq.accel_mode.u.get.supported_flags & in ena_probe()
4409 ena_update_hints(adapter, &get_feat_ctx.hw_hints); in ena_probe()