linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/4] net: hdlc_fr: Add support for any Ethertype
@ 2020-10-28 13:18 Xie He
  2020-10-28 13:18 ` [PATCH net-next v2 1/4] net: hdlc_fr: Simpify fr_rx by using "goto rx_drop" to drop frames Xie He
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Xie He @ 2020-10-28 13:18 UTC (permalink / raw)
  To: Jakub Kicinski, David S. Miller, netdev, linux-kernel, Krzysztof Halasa
  Cc: Xie He

The main purpose of this series is the last patch. The previous 3 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.

Change from v1:
Small fix to the commit message of the second patch

Xie He (4):
  net: hdlc_fr: Simpify fr_rx by using "goto rx_drop" to drop frames
  net: hdlc_fr: Change the use of "dev" in fr_rx to make the code
    cleaner
  net: hdlc_fr: Improve the initial check when we receive an skb
  net: hdlc_fr: Add support for any Ethertype

 drivers/net/wan/hdlc_fr.c | 119 +++++++++++++++++++++++---------------
 1 file changed, 73 insertions(+), 46 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-10-30  0:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-28 13:18 [PATCH net-next v2 0/4] net: hdlc_fr: Add support for any Ethertype Xie He
2020-10-28 13:18 ` [PATCH net-next v2 1/4] net: hdlc_fr: Simpify fr_rx by using "goto rx_drop" to drop frames Xie He
2020-10-28 13:18 ` [PATCH net-next v2 2/4] net: hdlc_fr: Change the use of "dev" in fr_rx to make the code cleaner Xie He
2020-10-28 13:18 ` [PATCH net-next v2 3/4] net: hdlc_fr: Improve the initial check when we receive an skb Xie He
2020-10-28 13:18 ` [PATCH net-next v2 4/4] net: hdlc_fr: Add support for any Ethertype Xie He
2020-10-29 17:23   ` Willem de Bruijn
2020-10-29 23:53     ` Xie He
2020-10-30  0:49       ` Xie He
2020-10-30  0:53         ` Willem de Bruijn
2020-10-30  0:50       ` Willem de Bruijn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).