Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec5efe79 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

rps: support IPIP encapsulation



Skip IPIP header to get proper layer-4 information.

Like GRE tunnels, this only works if rxhash is not already provided by
the device itself (ethtool -K ethX rxhash off), to allow kernel compute
a software rxhash.

Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0e43182c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2608,6 +2608,8 @@ void __skb_get_rxhash(struct sk_buff *skb)
			}
		}
		break;
	case IPPROTO_IPIP:
		goto again;
	default:
		break;
	}