summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBogdan Hamciuc <bogdan.hamciuc@freescale.com>2013-03-25 09:33:21 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-04-16 21:02:26 (GMT)
commit6c41f53430621405d32cef98126c2516cd678215 (patch)
treedfe0b0a8029cbc74d531abb02618777624d6a81e
parente5d18e508a10cb25739533919ba0898ddfd3b17c (diff)
downloadlinux-fsl-qoriq-6c41f53430621405d32cef98126c2516cd678215.tar.xz
dpaa_eth: Add NETIF_F_LLTX to standard capability set
The "lockless tx" capability, although flagged as deprecated, was deemed closer to upstreamability than our previous NETIF_F_HW_QDISC (meanwhile moved under ASF config). This has shown no performance impact whatsoever, at least in termination/netperf tests. Change-Id: I0294f0f105e56cc00cb957c23a3a6c6d3acc8d6f Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/1282 Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
-rw-r--r--drivers/net/ethernet/freescale/dpa/dpaa_eth.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth.c
index 7526188..143bc53 100644
--- a/drivers/net/ethernet/freescale/dpa/dpaa_eth.c
+++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth.c
@@ -3682,8 +3682,10 @@ static int dpa_netdev_init(struct device_node *dpa_node,
net_dev->mem_end = priv->mac_dev->res->end;
mac_addr = priv->mac_dev->addr;
- net_dev->features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM);
- net_dev->vlan_features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM);
+ net_dev->features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM |
+ NETIF_F_LLTX);
+ net_dev->vlan_features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM |
+ NETIF_F_LLTX);
/*
* Advertise S/G and HIGHDMA support for MAC-ful,