forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
datapath: compat: geneve: fix geneve_notify_add_rx_port()
Remove mutual exclusion between udp-gro registration and geneve receive port registration. Signed-off-by: Pravin B Shelar <[email protected]> Acked-by: Jesse Gross <[email protected]>
- Loading branch information
Showing
4 changed files
with
41 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#ifndef _NET_PROTOCOL_WRAPPER_H | ||
#define _NET_PROTOCOL_WRAPPER_H | ||
|
||
#include_next <net/protocol.h> | ||
|
||
#ifdef HAVE_UDP_OFFLOAD | ||
|
||
#ifndef HAVE_UDP_ADD_OFFLOAD_TAKES_NET | ||
#define udp_add_offload(net, prot) udp_add_offload(prot) | ||
#endif | ||
|
||
#else | ||
|
||
#define udp_add_offload(net, prot) 0 | ||
#define udp_del_offload(prot) do {} while(0) | ||
|
||
#endif /* HAVE_UDP_OFFLOAD */ | ||
|
||
#endif /* _NET_PROTOCOL_WRAPPER_H */ |