Merge "bump tethering tc prio to make room for rate limiting"
This commit is contained in:
commit
29d5f0adbe
1 changed files with 4 additions and 4 deletions
|
|
@ -55,11 +55,11 @@ public class BpfUtils {
|
|||
static final boolean DOWNSTREAM = true;
|
||||
static final boolean UPSTREAM = false;
|
||||
|
||||
// The priority of clat/tether hooks - smaller is higher priority.
|
||||
// The priority of tether hooks - smaller is higher priority.
|
||||
// TC tether is higher priority then TC clat to match XDP winning over TC.
|
||||
// Sync from system/netd/server/OffloadUtils.h.
|
||||
static final short PRIO_TETHER6 = 1;
|
||||
static final short PRIO_TETHER4 = 2;
|
||||
// Sync from system/netd/server/TcUtils.h.
|
||||
static final short PRIO_TETHER6 = 2;
|
||||
static final short PRIO_TETHER4 = 3;
|
||||
// note that the above must be lower than PRIO_CLAT from netd's OffloadUtils.cpp
|
||||
|
||||
private static String makeProgPath(boolean downstream, int ipVersion, boolean ether) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue