From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, fw@strlen.de, dborkman@iogearbox.net,
jhs@mojatatu.com, alexei.starovoitov@gmail.com,
eric.dumazet@gmail.com, Willem de Bruijn <willemb@google.com>
Subject: [PATCH net-next 1/6] net-tc: remove unused tc_verd fields
Date: Sat, 7 Jan 2017 17:06:33 -0500 [thread overview]
Message-ID: <20170107220638.61314-2-willemdebruijn.kernel@gmail.com> (raw)
In-Reply-To: <20170107220638.61314-1-willemdebruijn.kernel@gmail.com>
From: Willem de Bruijn <willemb@google.com>
Remove the last reference to tc_verd's munge and redirect ttl bits.
These fields are no longer used.
Signed-off-by: Willem de Bruijn <willemb@google.com>
---
include/uapi/linux/pkt_cls.h | 7 -------
1 file changed, 7 deletions(-)
diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h
index cb4bcdc58543..c769f71972f5 100644
--- a/include/uapi/linux/pkt_cls.h
+++ b/include/uapi/linux/pkt_cls.h
@@ -17,10 +17,6 @@
/* verdict bit breakdown
*
-bit 0: when set -> this packet has been munged already
-
-bit 1: when set -> It is ok to munge this packet
-
bit 2,3,4,5: Reclassify counter - sort of reverse TTL - if exceeded
assume loop
@@ -31,8 +27,6 @@ bit 6,7: Where this packet was last seen
bit 8: when set --> Request not to classify on ingress.
-bits 9,10,11: redirect counter - redirect TTL. Loop avoidance
-
*
* */
@@ -56,7 +50,6 @@ bits 9,10,11: redirect counter - redirect TTL. Loop avoidance
#define SET_TC_AT(v,n) ((V_TC_AT(n)) | (v & ~M_TC_AT))
#define MAX_REC_LOOP 4
-#define MAX_RED_LOOP 4
#endif
/* Action attributes */
--
2.11.0.390.gc69c2f50cf-goog
next prev parent reply other threads:[~2017-01-07 22:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-07 22:06 [PATCH net-next 0/6] convert tc_verd to integer bitfields Willem de Bruijn
2017-01-07 22:06 ` Willem de Bruijn [this message]
2017-01-07 22:06 ` [PATCH net-next 2/6] net-tc: make MAX_RECLASSIFY_LOOP local Willem de Bruijn
2017-01-07 22:06 ` [PATCH net-next 3/6] net-tc: extract skip classify bit from tc_verd Willem de Bruijn
2017-01-07 22:06 ` [PATCH net-next 4/6] net-tc: convert tc_verd to integer bitfields Willem de Bruijn
2017-01-07 22:06 ` [PATCH net-next 5/6] net-tc: convert tc_at to tc_at_ingress Willem de Bruijn
2017-01-07 22:06 ` [PATCH net-next 6/6] net-tc: convert tc_from to tc_from_ingress and tc_redirected Willem de Bruijn
2017-01-09 2:10 ` [PATCH net-next 0/6] convert tc_verd to integer bitfields David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170107220638.61314-2-willemdebruijn.kernel@gmail.com \
--to=willemdebruijn.kernel@gmail.com \
--cc=alexei.starovoitov@gmail.com \
--cc=davem@davemloft.net \
--cc=dborkman@iogearbox.net \
--cc=eric.dumazet@gmail.com \
--cc=fw@strlen.de \
--cc=jhs@mojatatu.com \
--cc=netdev@vger.kernel.org \
--cc=willemb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).