encode_config
ret = encode_config(gt, buf, config, false) * sizeof(u32);
num_dwords = encode_config(gt, cfg, config, true);