Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
arch
/
mips
/
include
/
asm
/
octeon
/
cvmx-pko.h
diff --git
a/kernel/arch/mips/include/asm/octeon/cvmx-pko.h
b/kernel/arch/mips/include/asm/octeon/cvmx-pko.h
index
3da59bb
..
5f47f76
100644
(file)
--- a/
kernel/arch/mips/include/asm/octeon/cvmx-pko.h
+++ b/
kernel/arch/mips/include/asm/octeon/cvmx-pko.h
@@
-542,6
+542,9
@@
static inline int cvmx_pko_get_base_queue_per_core(int port, int core)
*/
static inline int cvmx_pko_get_base_queue(int port)
{
+ if (OCTEON_IS_MODEL(OCTEON_CN68XX))
+ return port;
+
return cvmx_pko_get_base_queue_per_core(port, 0);
}