]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Log error for oversized MTU on device
authorEryk Rybak <eryk.roch.rybak@intel.com>
Thu, 14 Jan 2021 16:17:06 +0000 (16:17 +0000)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 9 Feb 2021 01:25:27 +0000 (17:25 -0800)
commit34549e6d5bc323ebeec3ccdc1bed94ac066b3ffa
tree97dc4c542432b2f1d626eba66b98f9b0023d0772
parent00b12c0aefe1e0d3842dc2e0b582292fdd2495a2
i40e: Log error for oversized MTU on device

When attempting to link XDP prog with MTU larger than supported,
user is not informed why XDP linking fails. Adding proper
error message: "MTU too large to enable XDP".

Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Eryk Rybak <eryk.roch.rybak@intel.com>
Tested-by: Kiran Bhandare <kiranx.bhandare@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c