diff options
author | Hariprasad Kelam <[email protected]> | 2021-02-11 21:28:31 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-02-11 14:55:03 -0800 |
commit | ab58a416c93f134b72ec7e10d8d74509c3985243 (patch) | |
tree | 9fe4a31880a81861a68f34bde583252b41bdf246 /lib/memory-notifier-error-inject.c | |
parent | 6e54e1c5399a22e30f69771dfd70d5a847c809b4 (diff) |
octeontx2-pf: cn10k: Get max mtu supported from admin function
CN10K supports max MTU of 16K on LMAC links and 64k on LBK
links and Octeontx2 silicon supports 9K mtu on both links.
Get the same from nix_get_hw_info mbox message in netdev probe.
This patch also calculates receive buffer size required based
on the MTU set.
Signed-off-by: Hariprasad Kelam <[email protected]>
Signed-off-by: Subbaraya Sundeep <[email protected]>
Signed-off-by: Geetha sowjanya <[email protected]>
Signed-off-by: Sunil Goutham <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions