diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-07-13 08:31:46 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-23 09:24:07 +0200 |
commit | de5791b34591b88911c350d835d8b45d274cc852 (patch) | |
tree | 20fda544699545de464a9ffcf5ad5716208c0b4a /linux/include/soc/fsl | |
parent | dpaa: Add "libbsd,dequeue" to QMan portals (diff) | |
download | rtems-libbsd-de5791b34591b88911c350d835d8b45d274cc852.tar.bz2 |
dpaa: Add "libbsd,dedicated-portal" to QMan portals
By default, the network interfaces use a pool channel, see
dpaa_get_channel() in dpaa_eth_priv_probe(). To enable a dedicated QMan
software portal, use libbsd,dedicated-portal = "enabled";. This option
is useful for special purpose 10Gbit/s Ethernet processing.
/ {
soc: soc@ffe000000 {
fman0: fman@400000 {
enet7: ethernet@f2000 {
libbsd,dedicated-portal = "enabled";
};
};
};
};
Diffstat (limited to 'linux/include/soc/fsl')
-rw-r--r-- | linux/include/soc/fsl/qman.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/include/soc/fsl/qman.h b/linux/include/soc/fsl/qman.h index 2504eef9..be4839b0 100644 --- a/linux/include/soc/fsl/qman.h +++ b/linux/include/soc/fsl/qman.h @@ -918,6 +918,13 @@ u16 qman_affine_channel(int cpu); * @cpu: the cpu whose affine portal is the subject of the query */ struct qman_portal *qman_get_affine_portal(int cpu); +#ifdef __rtems__ +struct qman_portal *qman_get_dedicated_portal(int cpu); + +int qman_portal_get_channel(const struct qman_portal *portal); + +int qman_portal_get_irq(const struct qman_portal *portal); +#endif /* __rtems__ */ /** * qman_p_poll_dqrr - process DQRR (fast-path) entries |