net/sfc: handle unknown L3 packet class in EF10 event parser
Fix debug build assertion if unknown L3 packet is received. Fixes:638bddc99f
("net/sfc: implement EF10 native Rx datapath") Fixes:c121f00836
("net/sfc: move EF10 Rx event parser to shared header") Cc: stable@dpdk.org Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
This commit is contained in:
parent
d0dcfe9824
commit
812bb2087d
@ -122,6 +122,8 @@ sfc_ef10_rx_ev_to_offloads(const efx_qword_t rx_ev, struct rte_mbuf *m,
|
||||
if (tun_ptype == 0)
|
||||
l2_ptype = RTE_PTYPE_L2_ETHER_ARP;
|
||||
break;
|
||||
case ESE_DZ_L3_CLASS_UNKNOWN:
|
||||
break;
|
||||
default:
|
||||
/* Unexpected Layer 3 class */
|
||||
SFC_ASSERT(false);
|
||||
|
Loading…
Reference in New Issue
Block a user