net/i40e: check illegal packets
authorYanglong Wu <yanglong.wu@intel.com>
Wed, 20 Jun 2018 02:12:47 +0000 (10:12 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Jul 2018 23:35:58 +0000 (01:35 +0200)
commitbfeed0262b0c2f1f7b73645dcd17b436f4f5ed5b
tree8d5873220b042095f2680a8436586fd31d1384f7
parent3320d4a240daab15559d3e671bd44573a89cf017
net/i40e: check illegal packets

Some illegal packets will lead to TX/RX hang and
can't recover automatically. This patch check those
illegal packets and protect TX/RX from hanging.

Signed-off-by: Yanglong Wu <yanglong.wu@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
drivers/net/i40e/i40e_rxtx.c
drivers/net/i40e/i40e_rxtx.h