mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
nvethernet: Restrict > 9K jumbo only in eqos
Issue: MGBE supports upto 16K jumbo size.
There is enough MTL queue space also
for 16K packet even with all 10 queues
enabled in MGBE. So no need to restrict
> 9k jumbo to single channel config only.
FIx: For MGBE, unconditionally allow upto 16K
jumbo size setting.
Bug 200760072
Change-Id: I734ce3be13605e4db992a1679e2de0736bd2583f
Signed-off-by: Srinivas Ramachandran <srinivasra@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2579108
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
76fe45ab4f
commit
3842c2bc78
@@ -3641,7 +3641,9 @@ static int ether_change_mtu(struct net_device *ndev, int new_mtu)
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
if (new_mtu > OSI_MTU_SIZE_9000 && osi_dma->num_dma_chans != 1U) {
|
||||
if ((new_mtu > OSI_MTU_SIZE_9000) &&
|
||||
(osi_dma->num_dma_chans != 1U) &&
|
||||
(osi_core->mac == OSI_MAC_HW_EQOS)) {
|
||||
netdev_err(pdata->ndev,
|
||||
"MTU greater than %d is valid only in single channel configuration\n"
|
||||
, OSI_MTU_SIZE_9000);
|
||||
|
||||
Reference in New Issue
Block a user