igc: fix RX timestamp handling and AF_XDP buffer sizing
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 4 repliesIn review
- v21 patch 5 repliesSuperseded
- v11 patch 3 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | igc: only strip RX timestamp header from first bufferdrivers/ | +2 | 3 replies | |
| 2/2 | igc: fix AF_XDP receive buffer size for 2K UMEM chunksdrivers/ drivers/ drivers/ | +33 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Aleksandr Loktionov | Maciej Fijalkowski | Avigail Dahan |
|---|---|---|---|
| 1/2 | R-b | A-b | T-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net v3 0/2] igc: fix RX timestamp handling and AF_XDP buffer sizing
v2..v3
Restore the original timestamp fix and description instead of tracking frame boundaries. Patch 2 carries Maciej's AF_XDP buffer-size fix unchanged.
v1..v2
Changed commit message in attempt to satisfy bots. No code changes.
Maciej's patch:
https://lore.kernel.org/all/at+t%2FjHczGvyXKRN@boxer/
#
# REPRO
#
# Receiver: igc / enp1s0 / 10.0.5.175
# Sender: RTL8125B / enP4p65s0 / 10.0.5.165
# Both hosts
sudo ip link set dev enp1s0 mtu 9000
sudo ip link set dev enP4p65s0 mtu 9000
# Baseline: RX timestamping off
sudo hwstamp_ctl -i enp1s0 -t 0 -r 0
ping -n -M do -c 5 -s 8972 10.0.5.175
# 5/5 received
# Enable RX timestamping only
sudo hwstamp_ctl -i enp1s0 -t 0 -r 1
# Receiver
sudo timeout 20 tcpdump -ni enp1s0 -s 0 -w /tmp/igc-jumbo.pcap \
'icmp and host 10.0.5.165'
# Sender
ping -n -M do -c 5 -W 2 -s 8972 10.0.5.175
# 0/5 received
# Receiver
sudo tcpdump -nn -e -vvv -r /tmp/igc-jumbo.pcap
# length 8950 # [total length 9000 > length 8936] (invalid) # wrong icmp cksum
# Expected Ethernet length: 9014
# Captured length: 8950
# Loss: 64 = 4 continuation buffers * 16 bytes
# Disable RX timestamping again
sudo hwstamp_ctl -i enp1s0 -t 0 -r 0
ping -n -M do -c 5 -s 8972 10.0.5.175
# 5/5 received
Signature · 1 line
2.56.GIT