diff options
author | Subbaraya Sundeep <sbhatta@marvell.com> | 2022-07-29 14:54:57 +0530 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-01 20:10:36 -0700 |
commit | 53e99496abc1b6e9897ad78cf169a06c77db1b5e (patch) | |
tree | 8ab5418c9fa1a721aa5cb389c9a9c64866fbf143 /drivers/net/usb | |
parent | a41b17ff9dacd22f5f118ee53d82da0f3e52d5e3 (diff) |
octeontx2-pf: Reduce minimum mtu size to 60
PTP messages like SYNC, FOLLOW_UP, DELAY_REQ are of size 58 bytes.
Using a minimum packet length as 64 makes NIX to pad 6 bytes of
zeroes while transmission. This is causing latest ptp4l application to
emit errors since length in PTP header and received packet are not same.
Padding upto 3 bytes is fine but more than that makes ptp4l to assume
the pad bytes as a TLV. Hence reduce the size to 60 from 64.
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Link: https://lore.kernel.org/r/20220729092457.3850-1-naveenm@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/usb')
0 files changed, 0 insertions, 0 deletions