Re: [PATCH net] erspan: build the header with the right proto according to erspan_ver

2019-01-16 Thread David Miller
From: Xin Long Date: Mon, 14 Jan 2019 18:10:06 +0800 > As said in draft-foschiano-erspan-03#section4: > >Different frame variants known as "ERSPAN Types" can be >distinguished based on the GRE "Protocol Type" field value: Type I >and II's value is 0x88BE while Type III's is 0x22EB [E

[PATCH net] erspan: build the header with the right proto according to erspan_ver

2019-01-14 Thread Xin Long
As said in draft-foschiano-erspan-03#section4: Different frame variants known as "ERSPAN Types" can be distinguished based on the GRE "Protocol Type" field value: Type I and II's value is 0x88BE while Type III's is 0x22EB [ETYPES]. So set it properly in erspan_xmit() according to erspan_