commit | 5edbea6987b305346a6ba9cf854e148b4ae814f0 | [log] [tgz] |
---|---|---|
author | Alexey Kodanev <alexey.kodanev@oracle.com> | Thu Apr 19 15:42:30 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 20 11:20:05 2018 -0400 |
tree | a93cc803720429be1ff88eb92b086f9a0b4091dd | |
parent | 4c52a889ab8ea7e965dc0ba40968768c5e91972f [diff] |
geneve: cleanup hard coded value for Ethernet header length Use ETH_HLEN instead and introduce two new macros: GENEVE_IPV4_HLEN and GENEVE_IPV6_HLEN that include Ethernet header length, corresponded IP header length and GENEVE_BASE_HLEN. Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>