summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcap_io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pcap_io.h b/pcap_io.h
index b53dcb2..8eb503a 100644
--- a/pcap_io.h
+++ b/pcap_io.h
@@ -632,6 +632,8 @@ static inline void pcap_prepare_header(struct pcap_filehdr *hdr, uint32_t magic,
}
static const bool pcap_supported_linktypes[LINKTYPE_MAX] __maybe_unused = {
+ /* tunX captures from wireshark/tcpdump, non-portable */
+ [101] = true, [102] = true, [103] = true,
[LINKTYPE_NULL] = true,
[LINKTYPE_EN10MB] = true,
[LINKTYPE_EN3MB] = true,
ols/perf/tests/python-use.c?h=nds-private-remove&id=b4cfe3971f6eab542dd7ecc398bfa1aeec889934'>b4cfe3971f6eab542dd7ecc398bfa1aeec889934 (diff)
IB/rxe: Fix resid update
Update the response's resid field when larger than MTU, instead of only updating the local resid variable. Fixes: 8700e3e7c485 ("Soft RoCE driver") Signed-off-by: Eyal Itkin <eyal.itkin@gmail.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/tests/python-use.c')