Page MenuHomeFreeBSD

ethernet: Remove FCS bit
ClosedPublic

Authored by zlei on Oct 28 2023, 8:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 4 2024, 3:34 PM
Unknown Object (File)
Oct 3 2024, 5:53 AM
Unknown Object (File)
Oct 1 2024, 2:29 AM
Unknown Object (File)
Sep 24 2024, 9:05 AM
Unknown Object (File)
Sep 22 2024, 10:22 PM
Unknown Object (File)
Sep 22 2024, 2:17 PM
Unknown Object (File)
Sep 9 2024, 1:56 AM
Unknown Object (File)
Sep 8 2024, 5:51 AM

Details

Reviewers
kp
Group Reviewers
network
Commits
rG09164454aa4c: ethernet: Retire M_HASFCS
Summary

The last consumer ng_atmllc has been removed in 105a4f7b3cb6 .

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

zlei requested review of this revision.Oct 28 2023, 8:39 PM
zlei retitled this revision from ethernet: Remove FCS check to ethernet: Remove FCS bit.

This is a breaking change. 3rd party drivers should take care of it.

This revision is now accepted and ready to land.Oct 30 2023, 11:19 AM

This is a breaking change. 3rd party drivers should take care of it.

It's fairly straightforward for 3rd party drivers to chase this tough, I don't think it's a big concern.

This is a breaking change. 3rd party drivers should take care of it.

It's fairly straightforward for 3rd party drivers to chase this tough, I don't think it's a big concern.

I spent lots of time to check the 3rd party consumers ( mostly done by searching on github ) of M_HASFCS . There's only little consumers so I think it is time to commit this :)

While Linux does support tap traffic without good CRC (FCS) via tcpdump / bpf. I think that is most useful for developing drivers / hardwares or diagnosing noisy wireless environment, but I think that (enable capturing bad CRC via bpf) should be turned on per interface and still those packets with bad CRC should not enter net stack. So I'm convinced this is the right approach.

I'm sure I've seen FCSes in 802.11 bpf traces? Maybe that's happening at the 802.11 radiotap level?

I'm sure I've seen FCSes in 802.11 bpf traces? Maybe that's happening at the 802.11 radiotap level?

I'm not familiar with 802.11, But the manpage https://man.freebsd.org/cgi/man.cgi?query=ieee80211_radiotap says radiotap level would get FCS.

IEEE80211_RADIOTAP_F_FCS

Frame contents includes the FCS.

CC @bz , he is working on 802.11 .

This revision was automatically updated to reflect the committed changes.