printf("\tHigh Priority Weight (HPW): %u\n", ((result & 0xff000000) >> 24) + 1);
printf("\tMedium Priority Weight (MPW): %u\n", ((result & 0x00ff0000) >> 16) + 1);
printf("\tLow Priority Weight (LPW): %u\n", ((result & 0x0000ff00) >> 8) + 1);
- printf("\tArbitration Burst (AB): %u\n", 1 << (result & 0x00000007));
+ printf("\tArbitration Burst (AB): ");
+ if ((result & 0x00000007) == 7)
+ printf("No limit\n");
+ else
+ printf("%u\n", 1 << (result & 0x00000007));
break;
case NVME_FEAT_POWER_MGMT:
field = (result & 0x000000E0) >> 5;
}
if (!err) {
printf("set-feature:%02x (%s), value:%#08x\n", cfg.feature_id,
- nvme_feature_to_string(cfg.feature_id), result);
+ nvme_feature_to_string(cfg.feature_id), cfg.value);
if (buf) {
if (cfg.feature_id == NVME_FEAT_LBA_RANGE)
show_lba_range((struct nvme_lba_range_type *)buf,