Commit 90d2ea9f authored by Edward Cree's avatar Edward Cree Committed by David S. Miller

sfc: fix swapped arguments to efx_ef10_handle_rx_event_errors

Fixes: a0ee3541 ("sfc: process RX event inner checksum flags")
Reported-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarEdward Cree <ecree@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dfcb7a14
...@@ -3356,8 +3356,9 @@ static int efx_ef10_handle_rx_event(struct efx_channel *channel, ...@@ -3356,8 +3356,9 @@ static int efx_ef10_handle_rx_event(struct efx_channel *channel,
EFX_AND_QWORD(errors, *event, errors); EFX_AND_QWORD(errors, *event, errors);
if (unlikely(!EFX_QWORD_IS_ZERO(errors))) { if (unlikely(!EFX_QWORD_IS_ZERO(errors))) {
flags |= efx_ef10_handle_rx_event_errors(channel, n_packets, flags |= efx_ef10_handle_rx_event_errors(channel, n_packets,
rx_encap_hdr,
rx_l3_class, rx_l4_class, rx_l3_class, rx_l4_class,
rx_encap_hdr, event); event);
} else { } else {
bool tcpudp = rx_l4_class == ESE_DZ_L4_CLASS_TCP || bool tcpudp = rx_l4_class == ESE_DZ_L4_CLASS_TCP ||
rx_l4_class == ESE_DZ_L4_CLASS_UDP; rx_l4_class == ESE_DZ_L4_CLASS_UDP;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment