Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-21787

[virtio-win] [NetKVM] adjust the code to be more virtio spec compliant regarding indirect descriptor size and descriptor chain size

    • None
    • rhel-sst-virtualization-windows
    • ssg_virtualization
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      Goal

      • Currently we are allocating one page for the indirect descriptors and therefore can only support descriptor chain of 256. But according to the spec there is no limit other than virt queue size. Let's be more complient
      • 2.7.5.2  Driver Requirements: The Virtqueue Descriptor Table

      Drivers MUST NOT add a descriptor chain longer than 232 bytes in total; this implies that loops in the descriptor chain are forbidden!

      • Places in code to check:
        • Definition of MAX_FRAGMENTS_IN_ONE_NB
        • virtio_get_indirect_page_capacity()

      Acceptance Criteria

      A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.

      • Verify X
      • Verify Y
      • Verify Z

              yuri.benditovich Yuri Benditovich
              yvugenfi@redhat.com Yan Vugenfirer
              Yuri Benditovich
              Meirav Dean Meirav Dean
              Wenkang Ji Wenkang Ji
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: