Home
last modified time | relevance | path

Searched refs:get_feat_ctx (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c2838 struct ena_com_dev_get_features_ctx *get_feat_ctx) in ena_calc_io_queue_size() argument
2840 struct ena_admin_feature_llq_desc *llq = &get_feat_ctx->llq; in ena_calc_io_queue_size()
2858 &get_feat_ctx->max_queue_ext.max_queue_ext; in ena_calc_io_queue_size()
2876 &get_feat_ctx->max_queues; in ena_calc_io_queue_size()
2930 struct ena_com_dev_get_features_ctx *get_feat_ctx) in ena_device_validate_params() argument
2935 rc = ether_addr_equal(get_feat_ctx->dev_attr.mac_addr, in ena_device_validate_params()
2943 if (get_feat_ctx->dev_attr.max_mtu < netdev->mtu) { in ena_device_validate_params()
3030 struct ena_com_dev_get_features_ctx *get_feat_ctx, in ena_device_init() argument
3095 rc = ena_com_get_dev_attr_feat(ena_dev, get_feat_ctx); in ena_device_init()
3108 aenq_groups &= get_feat_ctx->aenq.supported_groups; in ena_device_init()
[all …]
H A Dena_com.c1893 struct ena_com_dev_get_features_ctx *get_feat_ctx) in ena_com_get_dev_attr_feat() argument
1903 memcpy(&get_feat_ctx->dev_attr, &get_resp.u.dev_attr, in ena_com_get_dev_attr_feat()
1919 memcpy(&get_feat_ctx->max_queue_ext, &get_resp.u.max_queue_ext, in ena_com_get_dev_attr_feat()
1926 memcpy(&get_feat_ctx->max_queues, &get_resp.u.max_queue, in ena_com_get_dev_attr_feat()
1940 memcpy(&get_feat_ctx->aenq, &get_resp.u.aenq, in ena_com_get_dev_attr_feat()
1948 memcpy(&get_feat_ctx->offload, &get_resp.u.offload, in ena_com_get_dev_attr_feat()
1957 memcpy(&get_feat_ctx->hw_hints, &get_resp.u.hw_hints, sizeof(get_resp.u.hw_hints)); in ena_com_get_dev_attr_feat()
1959 memset(&get_feat_ctx->hw_hints, 0x0, sizeof(get_feat_ctx->hw_hints)); in ena_com_get_dev_attr_feat()
1965 memcpy(&get_feat_ctx->llq, &get_resp.u.llq, sizeof(get_resp.u.llq)); in ena_com_get_dev_attr_feat()
1967 memset(&get_feat_ctx->llq, 0x0, sizeof(get_feat_ctx->llq)); in ena_com_get_dev_attr_feat()
H A Dena_com.h583 struct ena_com_dev_get_features_ctx *get_feat_ctx);