diff options
author | Yutang Jiang <yutang.jiang@nxp.com> | 2016-10-29 00:14:32 +0800 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-10-31 17:00:10 +0100 |
commit | c6c731fe311f7da42777ffd31804a4f6aa3f8e19 (patch) | |
tree | d92c7296f82d46d1b2da30933a97595f6cb8ad66 /target/linux/layerscape/patches-4.4/7020-net-add-custom-NETIF-flags.patch | |
parent | a34f96d6cf80c7c3c425076714d9c4caa67e3670 (diff) | |
download | upstream-c6c731fe311f7da42777ffd31804a4f6aa3f8e19.tar.gz upstream-c6c731fe311f7da42777ffd31804a4f6aa3f8e19.tar.bz2 upstream-c6c731fe311f7da42777ffd31804a4f6aa3f8e19.zip |
layerscape: add 64b/32b target for ls1043ardb device
Add support for NXP layerscape ls1043ardb 64b/32b Dev board.
LS1043a is an SoC with 4x64-bit up to 1.6 GHz ARMv8 A53 cores.
ls1043ardb support features as: 2GB DDR4, 128MB NOR/512MB NAND, USB3.0, eSDHC,
I2C, GPIO, PCIe/Mini-PCIe, 6x1G/1x10G network port, etc.
64b/32b ls1043ardb target is using 4.4 kernel, and rcw/u-boot/fman images from
NXP QorIQ SDK release.
All of 4.4 kernel patches porting from SDK release or upstream.
QorIQ SDK ISOs can be downloaded from this location:
http://www.nxp.com/products/software-and-tools/run-time-software/linux-sdk/linux-sdk-for-qoriq-processors:SDKLINUX
Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
Diffstat (limited to 'target/linux/layerscape/patches-4.4/7020-net-add-custom-NETIF-flags.patch')
-rw-r--r-- | target/linux/layerscape/patches-4.4/7020-net-add-custom-NETIF-flags.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/layerscape/patches-4.4/7020-net-add-custom-NETIF-flags.patch b/target/linux/layerscape/patches-4.4/7020-net-add-custom-NETIF-flags.patch new file mode 100644 index 0000000000..c89a58c37e --- /dev/null +++ b/target/linux/layerscape/patches-4.4/7020-net-add-custom-NETIF-flags.patch @@ -0,0 +1,40 @@ +From 608986fc6b41633753701d5df9c1ab6a13856608 Mon Sep 17 00:00:00 2001 +From: Madalin Bucur <madalin.bucur@freescale.com> +Date: Mon, 11 Jul 2016 14:14:15 +0800 +Subject: [PATCH 20/70] net: add custom NETIF flags + +commit 6a53650c0c4513429d91e6ad7253340f3d3b9da5 +[context adjustment] + +These flags are used by DPAA Ethernet to impose different behaviors +in the networking stack. + +Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com> +Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com> +Integrated-by: Zhao Qiang <qiang.zhao@nxp.com> +--- + include/linux/netdev_features.h | 6 ++++++ + 1 file changed, 6 insertions(+) + +--- a/include/linux/netdev_features.h ++++ b/include/linux/netdev_features.h +@@ -66,6 +66,9 @@ enum { + NETIF_F_HW_VLAN_STAG_FILTER_BIT,/* Receive filtering on VLAN STAGs */ + NETIF_F_HW_L2FW_DOFFLOAD_BIT, /* Allow L2 Forwarding in Hardware */ + NETIF_F_BUSY_POLL_BIT, /* Busy poll */ ++ /* Freescale DPA support */ ++ NETIF_F_HW_QDISC_BIT, /* Supports hardware Qdisc */ ++ NETIF_F_HW_ACCEL_MQ_BIT, /* Hardware-accelerated multiqueue */ + + /* + * Add your fresh new feature above and remember to update +@@ -124,6 +127,9 @@ enum { + #define NETIF_F_HW_VLAN_STAG_TX __NETIF_F(HW_VLAN_STAG_TX) + #define NETIF_F_HW_L2FW_DOFFLOAD __NETIF_F(HW_L2FW_DOFFLOAD) + #define NETIF_F_BUSY_POLL __NETIF_F(BUSY_POLL) ++/* Freescale DPA support */ ++#define NETIF_F_HW_QDISC __NETIF_F(HW_QDISC) ++#define NETIF_F_HW_ACCEL_MQ __NETIF_F(HW_ACCEL_MQ) + + #define for_each_netdev_feature(mask_addr, bit) \ + for_each_set_bit(bit, (unsigned long *)mask_addr, NETDEV_FEATURE_COUNT) |