The thunderx driver can't use XDP with all MTU values. This patches sets the right MTU values, and add a check to avoid setting a wrong value which will not function.
Matteo Croce (2): net: thunderx: raise XDP MTU to 1508 net: thunderx: don't allow jumbo frames with XDP .../net/ethernet/cavium/thunder/nicvf_main.c | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) -- 2.21.0