aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/netdevsim/udp_tunnels.c
AgeCommit message (Collapse)AuthorFilesLines
2020-09-28netdevsim: support the static IANA VXLAN port flagJakub Kicinski1-0/+4
Allow setting UDP_TUNNEL_NIC_INFO_STATIC_IANA_VXLAN. Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2020-09-28netdevsim: shared UDP tunnel port table supportJakub Kicinski1-1/+16
Add the ability to simulate a device with a shared UDP tunnel port table. Try to reject the configurations and actions which are not supported by the core, so we don't get syzcaller etc. warning reports. Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2020-09-28netdevsim: add warnings on unexpected UDP tunnel port errorsJakub Kicinski1-4/+9
We should never see a removal of a port which is not in the table or adding a port to an occupied entry in the table. To make sure such errors don't escape the checks in the test script add a warning/kernel spat. Error injection will not trigger those, nor should it ever put us in a bad state. Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2020-07-10netdevsim: add UDP tunnel port offload supportJakub Kicinski1-0/+192
Add UDP tunnel port handlers to our fake driver so we can test the core infra. Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>