Lines Matching refs:get_feat_ctx
3255 struct ena_com_dev_get_features_ctx *get_feat_ctx) in ena_device_validate_params() argument
3260 rc = ether_addr_equal(get_feat_ctx->dev_attr.mac_addr, in ena_device_validate_params()
3268 if (get_feat_ctx->dev_attr.max_mtu < netdev->mtu) { in ena_device_validate_params()
3338 struct ena_com_dev_get_features_ctx *get_feat_ctx, in ena_device_init() argument
3402 rc = ena_com_get_dev_attr_feat(ena_dev, get_feat_ctx); in ena_device_init()
3415 aenq_groups &= get_feat_ctx->aenq.supported_groups; in ena_device_init()
3427 rc = ena_set_queues_placement_policy(pdev, ena_dev, &get_feat_ctx->llq, in ena_device_init()
3525 struct ena_com_dev_get_features_ctx get_feat_ctx; in ena_restore_device() local
3532 rc = ena_device_init(ena_dev, adapter->pdev, &get_feat_ctx, &wd_state); in ena_restore_device()
3539 rc = ena_device_validate_params(adapter, &get_feat_ctx); in ena_restore_device()
3901 struct ena_com_dev_get_features_ctx *get_feat_ctx) in ena_calc_max_io_queue_num() argument
3907 &get_feat_ctx->max_queue_ext.max_queue_ext; in ena_calc_max_io_queue_num()
3915 &get_feat_ctx->max_queues; in ena_calc_max_io_queue_num()
3923 io_tx_sq_num = get_feat_ctx->llq.max_llq_num; in ena_calc_max_io_queue_num()
4053 struct ena_admin_feature_llq_desc *llq = &ctx->get_feat_ctx->llq; in ena_calc_io_queue_size()
4062 &ctx->get_feat_ctx->max_queue_ext.max_queue_ext; in ena_calc_io_queue_size()
4080 &ctx->get_feat_ctx->max_queues; in ena_calc_io_queue_size()
4130 struct ena_com_dev_get_features_ctx get_feat_ctx; in ena_probe() local
4182 rc = ena_device_init(ena_dev, pdev, &get_feat_ctx, &wd_state); in ena_probe()
4197 calc_queue_ctx.get_feat_ctx = &get_feat_ctx; in ena_probe()
4206 max_num_io_queues = ena_calc_max_io_queue_num(pdev, ena_dev, &get_feat_ctx); in ena_probe()
4230 ena_set_conf_feat_params(adapter, &get_feat_ctx); in ena_probe()
4252 !!(get_feat_ctx.llq.accel_mode.u.get.supported_flags & in ena_probe()
4314 ena_update_hints(adapter, &get_feat_ctx.hw_hints); in ena_probe()