]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix correct max_pkt_size on VF RX queue
authorEryk Rybak <eryk.roch.rybak@intel.com>
Thu, 21 Jan 2021 16:17:22 +0000 (16:17 +0000)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 17 Nov 2021 16:05:05 +0000 (08:05 -0800)
commit51cc476fd8e3e5e6583afb334863c5cf75b65762
treec38fff210432ce0e594e3a21653fcc6db8f455cc
parentf0b741abc389b8c5ddeb15393af3465f3021ad37
i40e: Fix correct max_pkt_size on VF RX queue

Setting VLAN port increasing RX queue max_pkt_size
by 4 bytes to take VLAN tag into account.
Trigger the VF reset when setting port VLAN for
VF to renegotiate its capabilities and reinitialize.

Fixes: d39962bcc771 ("i40e: don't hold spinlock while resetting VF")
Signed-off-by: Sylwester Dziedziuch <sylwesterx.dziedziuch@intel.com>
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Eryk Rybak <eryk.roch.rybak@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c