commit | b5c5f8d06292e2dd9961c4b88fde9ae0ea458d97 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Tue Jul 14 12:18:21 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 14 17:04:27 2020 -0700 |
tree | 0497d16786fc34121b57c902717c52eec82a55dc | |
parent | 8f0545d232ca4eb1449584c68725d02f03a1d1a9 [diff] |
xgbe: switch to more generic VxLAN detection Instead of looping though the list of ports just check if the geometry of the packet is correct for VxLAN. HW most likely doesn't care about the exact port, anyway, since only first port is actually offloaded, and this way we won't have to maintain the port list at all. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>