1. 15 4月, 2015 5 次提交
  2. 14 4月, 2015 13 次提交
  3. 13 4月, 2015 14 次提交
  4. 12 4月, 2015 7 次提交
  5. 11 4月, 2015 1 次提交
    • V
      ixgbe: Add a RETA query command to VF-PF channel API · 4ce37a4c
      Vlad Zolotarov 提交于
      Add this new command for 82599 and x540 devices only. Support for other
      devices will be added later.
      
      82599 and x540 VFs and PF share the same RSS redirection table (RETA).
      Therefore we just return it for all VFs.
      
      For 82599 and x540 RETA table is an array of 32 registers (128 bytes) and
      the maximum number of registers that may be delivered in a single VF-PF
      channel command is 15. On the other hand VFs of these devices can be
      configured to have up to 4 RSS queues. Therefore we will "compress" the
      RETA by transferring only 2 bits per entry and thereby it will take only 8
      registers (DWORDS) to transfer the whole VF RETA.
      
      Thus this patch does the following:
      
        - Adds a new API version (to specify a new commands set).
        - Adds the IXGBE_VF_GET_RETA command to the VF-PF commands set.
      Signed-off-by: NVlad Zolotarov <vladz@cloudius-systems.com>
      Tested-by: NPhil Schmitt <phillip.j.schmitt@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      4ce37a4c