Home
last modified time | relevance | path

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

/drivers/net/ethernet/amazon/ena/
Dena_netdev.c3255 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()
[all …]
Dena_com.c1909 struct ena_com_dev_get_features_ctx *get_feat_ctx) in ena_com_get_dev_attr_feat() argument
1919 memcpy(&get_feat_ctx->dev_attr, &get_resp.u.dev_attr, in ena_com_get_dev_attr_feat()
1934 memcpy(&get_feat_ctx->max_queue_ext, &get_resp.u.max_queue_ext, in ena_com_get_dev_attr_feat()
1941 memcpy(&get_feat_ctx->max_queues, &get_resp.u.max_queue, in ena_com_get_dev_attr_feat()
1955 memcpy(&get_feat_ctx->aenq, &get_resp.u.aenq, in ena_com_get_dev_attr_feat()
1963 memcpy(&get_feat_ctx->offload, &get_resp.u.offload, in ena_com_get_dev_attr_feat()
1972 memcpy(&get_feat_ctx->hw_hints, &get_resp.u.hw_hints, in ena_com_get_dev_attr_feat()
1975 memset(&get_feat_ctx->hw_hints, 0x0, in ena_com_get_dev_attr_feat()
1976 sizeof(get_feat_ctx->hw_hints)); in ena_com_get_dev_attr_feat()
1982 memcpy(&get_feat_ctx->llq, &get_resp.u.llq, in ena_com_get_dev_attr_feat()
[all …]
Dena_netdev.h149 struct ena_com_dev_get_features_ctx *get_feat_ctx; member
Dena_com.h581 struct ena_com_dev_get_features_ctx *get_feat_ctx);