marvell: octeontx2: build error: unknown type name 'u64'Building an allmodconfig kernel arm64 kernel, the following build errorshows up:In file included from drivers/crypto/marvell/octeontx2/cn1
marvell: octeontx2: build error: unknown type name 'u64'Building an allmodconfig kernel arm64 kernel, the following build errorshows up:In file included from drivers/crypto/marvell/octeontx2/cn10k_cpt.c:4:include/linux/soc/marvell/octeontx2/asm.h:38:15: error: unknown type name 'u64' 38 | static inline u64 otx2_atomic64_fetch_add(u64 incr, u64 *ptr) | ^~~Include linux/types.h in asm.h so the compiler knows what the type'u64' are.Fixes: af3826db74d1 ("octeontx2-pf: Use hardware register for CQE count")Signed-off-by: Anders Roxell <[email protected]>Link: https://lore.kernel.org/r/[email protected]Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
octeontx2-pf: Use hardware register for CQE countCurrent driver uses software CQ head pointer to poll on CQEheader in memory to determine if CQE is valid. Software needsto make sure, that the rea
octeontx2-pf: Use hardware register for CQE countCurrent driver uses software CQ head pointer to poll on CQEheader in memory to determine if CQE is valid. Software needsto make sure, that the reads of the CQE do not get re-orderedso much that it ends up with an inconsistent view of the CQE.To ensure that DMB barrier after read to first CQE cachelineand before reading of the rest of the CQE is needed.But having barrier for every CQE read will impact the performance,instead use hardware CQ head and tail pointers to find thevalid number of CQEs.Signed-off-by: Geetha sowjanya <[email protected]>Signed-off-by: Sunil Kovvuri Goutham <[email protected]>Signed-off-by: David S. Miller <[email protected]>
octeontx2-pf: cn10K: Reserve LMTST lines per coreThis patch reserves the LMTST lines per cpu insteadof separate LMTST lines for NPA(buffer free) and NIX(sqe flush).LMTST line of the core on which
octeontx2-pf: cn10K: Reserve LMTST lines per coreThis patch reserves the LMTST lines per cpu insteadof separate LMTST lines for NPA(buffer free) and NIX(sqe flush).LMTST line of the core on which SQ or RQ is processed is usedfor LMTST operation.This patch also replace STEOR with STEORL release semantics andupdates driver name in ethtool file.Signed-off-by: Geetha sowjanya <[email protected]>Signed-off-by: Sunil Goutham <[email protected]>Signed-off-by: David S. Miller <[email protected]>
octeontx2-pf: cn10k: Use LMTST lines for NPA/NIX operationsThis patch adds support to use new LMTST lines for NPA batch freeand burst SQE flush. Adds new dev_hw_ops structure to hold platformspec
octeontx2-pf: cn10k: Use LMTST lines for NPA/NIX operationsThis patch adds support to use new LMTST lines for NPA batch freeand burst SQE flush. Adds new dev_hw_ops structure to hold platformspecific functions and create new files cn10k.c and cn10k.h.Signed-off-by: Geetha sowjanya <[email protected]>Signed-off-by: Sunil Goutham <[email protected]>Signed-off-by: David S. Miller <[email protected]>
octeontx2-pf: move lmt flush to include/linux/socOn OcteonTX2 platform CPT instruction enqueue and NIXpacket send are only possible via LMTST operations whichuses LDEOR instruction. This patch mo
octeontx2-pf: move lmt flush to include/linux/socOn OcteonTX2 platform CPT instruction enqueue and NIXpacket send are only possible via LMTST operations whichuses LDEOR instruction. This patch moves lmt flushfunction from OcteonTX2 nic driver to include/linux/socsince it will be used by OcteonTX2 CPT and NIC driver forLMTST.Signed-off-by: Suheil Chandran <[email protected]>Signed-off-by: Srujana Challa <[email protected]>Signed-off-by: Jakub Kicinski <[email protected]>