Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c2883 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()
[all …]
H A Dena_com.c1935 struct ena_com_dev_get_features_ctx *get_feat_ctx) in ena_com_get_dev_attr_feat() argument
1945 memcpy(&get_feat_ctx->dev_attr, &get_resp.u.dev_attr, in ena_com_get_dev_attr_feat()
1961 memcpy(&get_feat_ctx->max_queue_ext, &get_resp.u.max_queue_ext, in ena_com_get_dev_attr_feat()
1968 memcpy(&get_feat_ctx->max_queues, &get_resp.u.max_queue, in ena_com_get_dev_attr_feat()
1982 memcpy(&get_feat_ctx->aenq, &get_resp.u.aenq, in ena_com_get_dev_attr_feat()
1990 memcpy(&get_feat_ctx->offload, &get_resp.u.offload, in ena_com_get_dev_attr_feat()
1999 memcpy(&get_feat_ctx->hw_hints, &get_resp.u.hw_hints, sizeof(get_resp.u.hw_hints)); in ena_com_get_dev_attr_feat()
2001 memset(&get_feat_ctx->hw_hints, 0x0, sizeof(get_feat_ctx->hw_hints)); in ena_com_get_dev_attr_feat()
2007 memcpy(&get_feat_ctx->llq, &get_resp.u.llq, sizeof(get_resp.u.llq)); in ena_com_get_dev_attr_feat()
2009 memset(&get_feat_ctx->llq, 0x0, sizeof(get_feat_ctx->llq)); in ena_com_get_dev_attr_feat()
H A Dena_com.h592 struct ena_com_dev_get_features_ctx *get_feat_ctx);