path: root/drivers/net/mlx5/mlx5_txq.c
diff options
authorPavan Nikhilesh <>2019-11-27 18:06:47 +0530
committerJerin Jacob <>2019-11-27 19:00:39 +0530
commit80b4cdd02905f796cde226d724206dfd10e63d35 (patch)
treec57b72516a09afab29f33c8f8c65d5228d5d96ad /drivers/net/mlx5/mlx5_txq.c
parent2d0cfc0e0528bb6be3676032a2d0573d7c3b3999 (diff)
event/octeontx: fix partial Rx packet handling
When net/octeontx is connected to event/octeontx as an event Rx adapter, PKI aka 'net/octeontx' can forward packets directly to SSO aka 'event/octeontx'. When pumping traffic to PKI if flow control is disabled internal FIFOs might be overrun causing partial l2 packets to be enqueued. SSO receives <31:0> TAG tag calculated by PKI, in normal cases <31:28> is always 0 which signifies RTE_EVENT_TYPE_ETHDEV. But in case of partial received packets PKI sets the <31:0> TAG as 0xFFFFFFFF which is an invalid event type. Add a check to see if TAG is 0xFFFFFFFF and free the partial receive packet. Fixes: d0d654986018 ("net/octeontx: support event Rx adapter") Cc: Signed-off-by: Pavan Nikhilesh <> Acked-by: Jerin Jacob <>
Diffstat (limited to 'drivers/net/mlx5/mlx5_txq.c')
0 files changed, 0 insertions, 0 deletions