msm: ipa: Add NETIF_F_SG to RMNET_IPA's hw features
GSO segmented packets are getting linearized before being sent to rmnet_ipa interface since SG feature is not enabled. Add NETIF_F_SG to IPA's HW features so that ethtool can be used to enable it. Change-Id: I7b321c796935febb3fa3e9ae520fd65e00da507c Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com> Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
This commit is contained in:
parent
948ea35fca
commit
aea451330a
1 changed files with 4 additions and 0 deletions
|
@ -2040,6 +2040,10 @@ static int ipa_wwan_probe(struct platform_device *pdev)
|
|||
goto set_perf_err;
|
||||
/* IPA_RM configuration ends */
|
||||
|
||||
/* Enable SG support in netdevice. */
|
||||
if (ipa_rmnet_res.ipa_advertise_sg_support)
|
||||
dev->hw_features |= NETIF_F_SG;
|
||||
|
||||
ret = register_netdev(dev);
|
||||
if (ret) {
|
||||
IPAWANERR("unable to register ipa_netdev %d rc=%d\n",
|
||||
|
|
Loading…
Add table
Reference in a new issue