Lines Matching refs:get_feat_ctx

2883 				  struct ena_com_dev_get_features_ctx *get_feat_ctx)  in ena_calc_io_queue_size()  argument
2885 struct ena_admin_feature_llq_desc *llq = &get_feat_ctx->llq; in ena_calc_io_queue_size()
2903 &get_feat_ctx->max_queue_ext.max_queue_ext; in ena_calc_io_queue_size()
2921 &get_feat_ctx->max_queues; in ena_calc_io_queue_size()
2989 struct ena_com_dev_get_features_ctx *get_feat_ctx) in ena_device_validate_params() argument
2994 rc = ether_addr_equal(get_feat_ctx->dev_attr.mac_addr, in ena_device_validate_params()
3002 if (get_feat_ctx->dev_attr.max_mtu < netdev->mtu) { in ena_device_validate_params()
3089 struct ena_com_dev_get_features_ctx *get_feat_ctx, in ena_device_init() argument
3155 rc = ena_com_get_dev_attr_feat(ena_dev, get_feat_ctx); in ena_device_init()
3168 aenq_groups &= get_feat_ctx->aenq.supported_groups; in ena_device_init()
3178 set_default_llq_configurations(adapter, &llq_config, &get_feat_ctx->llq); in ena_device_init()
3180 rc = ena_set_queues_placement_policy(pdev, ena_dev, &get_feat_ctx->llq, in ena_device_init()
3187 rc = ena_calc_io_queue_size(adapter, get_feat_ctx); in ena_device_init()
3287 struct ena_com_dev_get_features_ctx get_feat_ctx; in ena_restore_device() local
3295 rc = ena_device_init(adapter, adapter->pdev, &get_feat_ctx, &wd_state); in ena_restore_device()
3309 rc = ena_device_validate_params(adapter, &get_feat_ctx); in ena_restore_device()
3703 struct ena_com_dev_get_features_ctx *get_feat_ctx) in ena_calc_max_io_queue_num() argument
3709 &get_feat_ctx->max_queue_ext.max_queue_ext; in ena_calc_max_io_queue_num()
3717 &get_feat_ctx->max_queues; in ena_calc_max_io_queue_num()
3725 io_tx_sq_num = get_feat_ctx->llq.max_llq_num; in ena_calc_max_io_queue_num()
3864 struct ena_com_dev_get_features_ctx get_feat_ctx; in ena_probe() local
3946 rc = ena_device_init(adapter, pdev, &get_feat_ctx, &wd_state); in ena_probe()
3960 max_num_io_queues = ena_calc_max_io_queue_num(pdev, ena_dev, &get_feat_ctx); in ena_probe()
3966 ena_set_conf_feat_params(adapter, &get_feat_ctx); in ena_probe()
3980 !!(get_feat_ctx.llq.accel_mode.u.get.supported_flags & in ena_probe()
4042 ena_update_hints(adapter, &get_feat_ctx.hw_hints); in ena_probe()