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.c3386 struct ena_com_dev_get_features_ctx *get_feat_ctx) in ena_device_validate_params() argument
3391 rc = ether_addr_equal(get_feat_ctx->dev_attr.mac_addr, in ena_device_validate_params()
3399 if (get_feat_ctx->dev_attr.max_mtu < netdev->mtu) { in ena_device_validate_params()
3469 struct ena_com_dev_get_features_ctx *get_feat_ctx, in ena_device_init() argument
3533 rc = ena_com_get_dev_attr_feat(ena_dev, get_feat_ctx); in ena_device_init()
3546 aenq_groups &= get_feat_ctx->aenq.supported_groups; in ena_device_init()
3558 rc = ena_set_queues_placement_policy(pdev, ena_dev, &get_feat_ctx->llq, in ena_device_init()
3656 struct ena_com_dev_get_features_ctx get_feat_ctx; in ena_restore_device() local
3663 rc = ena_device_init(ena_dev, adapter->pdev, &get_feat_ctx, &wd_state); in ena_restore_device()
3670 rc = ena_device_validate_params(adapter, &get_feat_ctx); in ena_restore_device()
[all …]
Dena_com.c1963 struct ena_com_dev_get_features_ctx *get_feat_ctx) in ena_com_get_dev_attr_feat() argument
1973 memcpy(&get_feat_ctx->dev_attr, &get_resp.u.dev_attr, in ena_com_get_dev_attr_feat()
1989 memcpy(&get_feat_ctx->max_queue_ext, &get_resp.u.max_queue_ext, in ena_com_get_dev_attr_feat()
1996 memcpy(&get_feat_ctx->max_queues, &get_resp.u.max_queue, in ena_com_get_dev_attr_feat()
2010 memcpy(&get_feat_ctx->aenq, &get_resp.u.aenq, in ena_com_get_dev_attr_feat()
2018 memcpy(&get_feat_ctx->offload, &get_resp.u.offload, in ena_com_get_dev_attr_feat()
2027 memcpy(&get_feat_ctx->hw_hints, &get_resp.u.hw_hints, in ena_com_get_dev_attr_feat()
2030 memset(&get_feat_ctx->hw_hints, 0x0, in ena_com_get_dev_attr_feat()
2031 sizeof(get_feat_ctx->hw_hints)); in ena_com_get_dev_attr_feat()
2037 memcpy(&get_feat_ctx->llq, &get_resp.u.llq, in ena_com_get_dev_attr_feat()
[all …]
Dena_netdev.h143 struct ena_com_dev_get_features_ctx *get_feat_ctx; member
Dena_com.h582 struct ena_com_dev_get_features_ctx *get_feat_ctx);