dbad6f64f9
When MTU is bigger than hw->flbufsz, it can't work. hw->flbufsz is set
in the nfp_net_rx_queue_setup().
At first, in the nfp_net_configure(), the hw->flbufsz isn't set the
value, it just judge the initialized value and MTU, it is unreasonable.
Now, it just check the MTU can't be more than the NFP_FRAME_SIZE_MAX in
the nfp_net_configure(), when hw->flbufsz is set the value, in the
nfp_net_start(), judge the hw->flbufsz and MTU.
Fixes:
|
||
---|---|---|
.. | ||
flower | ||
nfpcore | ||
meson.build | ||
nfp_common.c | ||
nfp_common.h | ||
nfp_cpp_bridge.c | ||
nfp_cpp_bridge.h | ||
nfp_ctrl.h | ||
nfp_ethdev_vf.c | ||
nfp_ethdev.c | ||
nfp_logs.h | ||
nfp_rxtx.c | ||
nfp_rxtx.h | ||
version.map |