On Mon, Sep 19, 2016 at 2:51 AM, Mintz, Yuval <yuval.mi...@cavium.com> wrote:
>> >> If the user chooses 2 rx and 1 tx, he will use 3 msix vectors (3 completion >> rings, >> etc). If the user chooses 2 combined (1 with rx/tx, >> 1 with rx only), he will use 2 msix vectors (2 completion rings, etc). >> With a large number of NPAR functions and SRIOV functions, the number of >> rings available per function may not be symmetrical. We just want maximum >> flexibility to make use of all available resources in 2 different modes (one >> that >> uses more resources and one that uses less). > > Sounds like the user should chose 1 combined in 1 rx in this scenario. We only support all combined or all rx/tx. Supporting arbitrary combination of the 2 will add a lot more complication to the driver code. I don't think it will add any value to the user either. In the end, it's all the same and the user sees a simpler interface. If combined is chosen, the driver logic will combine all available rx/tx ring pairs. Any remaining rings will still be used to reach the desired combined count.