mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 22:56:25 +08:00
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"; }; }; }; };
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user