net: hns: set default mac pause time to 0xffff
The default mac pause time set to 0xff which is too short for pausing, this patch change it to the max value 0xffff. Signed-off-by: Daode Huang <huangdaode@hisilicon.com> Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com> Reviewed-by: lipeng <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1f5fa2dd1c
commit
2e7c80577e
|
@ -31,7 +31,7 @@ struct dsaf_device;
|
|||
#define MAC_MIN_MTU 68
|
||||
#define MAC_MAX_MTU_DBG MAC_DEFAULT_MTU
|
||||
|
||||
#define MAC_DEFAULT_PAUSE_TIME 0xff
|
||||
#define MAC_DEFAULT_PAUSE_TIME 0xffff
|
||||
|
||||
#define MAC_GMAC_IDX 0
|
||||
#define MAC_XGMAC_IDX 1
|
||||
|
|
Loading…
Reference in New Issue