summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_rtbitmap.c
diff options
context:
space:
mode:
authorMarian Rotariu <marian.rotariu@freescale.com>2014-03-17 14:45:57 (GMT)
committerMadalin-Cristian Bucur <madalin.bucur@freescale.com>2014-03-27 17:03:18 (GMT)
commitc67671a1397ec5ce26cd9e9706f7f5233b17208a (patch)
tree8d7dbbf9e6053ededdb98f79159f54b542d5e6e2 /fs/xfs/xfs_rtbitmap.c
parentfa8768e3f1d101349914e827e34f4b05d049cb40 (diff)
downloadlinux-fsl-qoriq-c67671a1397ec5ce26cd9e9706f7f5233b17208a.tar.xz
offline_port: add functionality for OH port driver
Historically the offline port driver did not initialize the frame queues that entered and exited the OH port and relied on software components (Ethernet driver, USDPAA, other kernel modules) to initialize those queues. The last major modification in the offline port driver added capabilities to initialize ingress queues (queues that enter the Offline Port) simplifying the work for the Ethernet driver, but maintaining the same complexity in USDPAA and/or other kernel modules. This patch adds full capability for initializing both ingress and egress queues, eliminating the dependency on USDPAA and/or other kernel modules. With it, complex offload architectures that have OH ports can be largely initialized by the offline port driver. The additional device tree attributes that this patch adds are optional and do not interfere with the current code. Therefore, backward compatibility is maintained. This patch also simplifies the initialization of the hardware used by the macless or the newer Ethernet driver, oNIC. Test scenarios (mainly unit tests) can be created without using USDPAA or Offload Driver. The device tree format for the new attributes is: fsl,qman-frame-queues-ingress = <base_id1 count1 ... base_idn countn>; fsl,qman-frame-queues-egress = <base_id1 count1 ... base_idn countn>; fsl,qman-channel-ids-egress = <channel_id1 ... channel_idn>; The above queues are connected only to DC portals. Frame queues connected to SW portals should be created from another software entity. Also, if a frame queue uses different initialization parameters it should be created by another software entity. Change-Id: I0fffc6116bbf543542c30eb6225b2a76945d3813 Signed-off-by: Marian Rotariu <marian.rotariu@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/9648 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com> Reviewed-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com> (cherry picked from commit 43c88bc759c12472262788d8f39dd3d79c6f5e44) Reviewed-on: http://git.am.freescale.net:8181/10296
Diffstat (limited to 'fs/xfs/xfs_rtbitmap.c')
0 files changed, 0 insertions, 0 deletions