Message ID | 20201031181043.805329-1-xie.he.0141@gmail.com |
---|---|
Headers | show |
Series | net: hdlc_fr: Improve fr_rx and add support for any Ethertype | expand |
On Sat, 31 Oct 2020 11:10:38 -0700 Xie He wrote: > The main purpose of this series is the last patch. The previous 4 patches > are just code clean-ups so that the last patch will not make the code too > messy. The patches must be applied in sequence. > > The receiving code of this driver doesn't support arbitrary Ethertype > values. It only recognizes a few known Ethertypes when receiving and drops > skbs with other Ethertypes. > > However, the standard document RFC 2427 allows Frame Relay to support any > Ethertype values. This series adds support for this. Applied, but going forward please limit any refactoring and extensions to the HDLC code. I thought you are actually using it. If that's not the case let's leave the code be, it's likely going to be removed in a few years time.
On Tue, Nov 3, 2020 at 3:22 PM Jakub Kicinski <kuba@kernel.org> wrote: > > Applied, but going forward please limit any refactoring and extensions > to the HDLC code. I thought you are actually using it. If that's not > the case let's leave the code be, it's likely going to be removed in > a few years time. OK. I understand. Thanks!
On Tue, Nov 3, 2020 at 6:03 PM Xie He <xie.he.0141@gmail.com> wrote: > > On Tue, Nov 3, 2020 at 3:22 PM Jakub Kicinski <kuba@kernel.org> wrote: > > > > Applied, but going forward please limit any refactoring and extensions > > to the HDLC code. I thought you are actually using it. If that's not > > the case let's leave the code be, it's likely going to be removed in > > a few years time. > > OK. I understand. > > Thanks! The HDLC layer is still used by X.25 people (to be precise, Martin Schiller <ms@dev.tdt.de>). Although we currently have three X.25 drivers in the kernel (lapbether, x25_asy, hdlc_x25), it seems to me that only hdlc_x25 is used in the real world. So I guess the HDLC layer will be there as long as the X.25 stack is still there.