[PATCH 3/3] soc: fsl: dpio: Replace QMAN array mode by ring mode enqueue.

2019-12-12 Thread Youri Querry
This change of algorithm will enable faster bulk enqueue. This will grately benefit XDP bulk enqueue. Signed-off-by: Youri Querry --- drivers/soc/fsl/dpio/qbman-portal.c | 410 +++- drivers/soc/fsl/dpio/qbman-portal.h | 13 ++ 2 files changed, 328 insertions

[PATCH 2/3] soc: fsl: dpio: QMAN performance improvement. Function pointer indirection.

2019-12-12 Thread Youri Querry
We are making the access decision in the initialization and setting the function pointers accordingly. Signed-off-by: Youri Querry --- drivers/soc/fsl/dpio/qbman-portal.c | 451 +++- drivers/soc/fsl/dpio/qbman-portal.h | 129 ++- 2 files changed, 507

[PATCH 1/3] soc: fsl: dpio: Adding QMAN multiple enqueue interface.

2019-12-12 Thread Youri Querry
Update of QMAN the interface to enqueue frame. We now support multiple enqueue (qbman_swp_enqueue_multiple) and multiple enqueue with a table of descriptor (qbman_swp_enqueue_multiple_desc). Signed-off-by: Youri Querry --- drivers/soc/fsl/dpio/dpio-service.c | 69

[PATCH 0/3] soc: fsl: dpio: Enable QMAN batch enqueuing

2019-12-12 Thread Youri Querry
algorithm. This is to make the enqueue of several frames at a time more effective. Youri Querry (3): soc: fsl: dpio: Adding QMAN multiple enqueue interface. soc: fsl: dpio: QMAN performance improvement. Function pointer indirection. soc: fsl: dpio: Replace QMAN array mode by ring mode enqueue

[PATCH v2] soc: fsl: dpio: Add support for QBMan ring bulk enqueue.

2019-09-05 Thread Youri Querry
The QBMan frame descriptor enqueuing is changed from array mode (a single frame enqueue at a time) to bulk ring mode. This new mode allows the enqueuing of multiple frames in one operation. The original interface is kept but use the bulk enqueue of one frame Signed-off-by: Youri Querry

[PATCH] soc: fsl: dpio: Add support for QBMan ring bulk enqueue.

2019-08-08 Thread Youri Querry
The QBMan frame descriptor enqueuing is changed from array mode (a single frame enqueue at a time) to bulk ring mode. This new mode allows the enqueuing of multiple frames in one operation. The original interface is kept but use the bulk enqueue of one frame Signed-off-by: Youri Querry