mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
soc: fsl: dpio: Replace QMAN array mode with ring mode enqueue
This change of algorithm will enable faster bulk enqueue. This will greatly benefit XDP bulk enqueue. Signed-off-by: Youri Querry <youri.querry_1@nxp.com> Acked-by: Roy Pledge <roy.pledge@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
This commit is contained in:
1 parent
b46fe745e4
commit
3b2abda7d2
2 files changed
+328
-95
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -143,6 +143,19 @@ struct qbman_swp {
|
||||
u8 dqrr_size;
|
||||
int reset_bug; /* indicates dqrr reset workaround is needed */
|
||||
} dqrr;
|
||||
|
||||
struct {
|
||||
u32 pi;
|
||||
u32 pi_vb;
|
||||
u32 pi_ring_size;
|
||||
u32 pi_ci_mask;
|
||||
u32 ci;
|
||||
int available;
|
||||
u32 pend;
|
||||
u32 no_pfdr;
|
||||
} eqcr;
|
||||
|
||||
spinlock_t access_spinlock;
|
||||
};
|
||||
|
||||
/* Function pointers */
|
||||
|
||||
Reference in new issue
Block a user