mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
net-tc: make MAX_RECLASSIFY_LOOP local
This field is no longer kept in tc_verd. Remove it from the global definition of that struct. Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
aec745e2c5
commit
d6264071ce
2 changed files with 2 additions and 6 deletions
|
@ -17,9 +17,6 @@
|
|||
|
||||
/* verdict bit breakdown
|
||||
*
|
||||
bit 2,3,4,5: Reclassify counter - sort of reverse TTL - if exceeded
|
||||
assume loop
|
||||
|
||||
bit 6,7: Where this packet was last seen
|
||||
0: Above the transmit example at the socket level
|
||||
1: on the Ingress
|
||||
|
@ -48,8 +45,6 @@ bit 8: when set --> Request not to classify on ingress.
|
|||
#define G_TC_AT(x) _TC_GETVALUE(x,S_TC_AT,M_TC_AT)
|
||||
#define V_TC_AT(x) _TC_MAKEVALUE(x,S_TC_AT)
|
||||
#define SET_TC_AT(v,n) ((V_TC_AT(n)) | (v & ~M_TC_AT))
|
||||
|
||||
#define MAX_REC_LOOP 4
|
||||
#endif
|
||||
|
||||
/* Action attributes */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue