mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
nvethernet:Fix the negative values in MACSec mmc
Bug 4802208 Change-Id: I4bd975efa4e2668597068910eccc7e98e23de822 Signed-off-by: Sanath Kumar Gampa <sgampa@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3187063 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Narayana Reddy P <narayanr@nvidia.com> Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
d2fcc70dca
commit
564d844a70
@@ -7566,7 +7566,6 @@ static int ether_probe(struct platform_device *pdev)
|
||||
/* Nothing to do, macsec is not supported */
|
||||
dev_info(&pdev->dev, "Macsec not supported/Not enabled\n");
|
||||
} else {
|
||||
dev_info(&pdev->dev, "Macsec not enabled\n");
|
||||
/* Macsec is supported, reduce MTU */
|
||||
ndev->mtu -= MACSEC_TAG_ICV_LEN;
|
||||
dev_info(&pdev->dev, "Macsec: Reduced MTU: %d Max: %d\n",
|
||||
|
||||
Reference in New Issue
Block a user