Re: [dpdk-dev] [RFC 1/1] net/mlx5: set txq affinity in round-robin

2021-09-13 Thread Kinsella, Ray
On 10/09/2021 05:23, Rongwei Liu wrote: > Previously, we set txq affinity to 0 and let firmware > to perform round-robin when bonding. Firmware uses a > global counter to assign txq affinity to different > physical ports accord to remainder after division. > > There are three dis-advantages: >

[dpdk-dev] [RFC 1/1] net/mlx5: set txq affinity in round-robin

2021-09-10 Thread Rongwei Liu
Previously, we set txq affinity to 0 and let firmware to perform round-robin when bonding. Firmware uses a global counter to assign txq affinity to different physical ports accord to remainder after division. There are three dis-advantages: 1. The global counter is shared between kernel and dpdk.