summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-10-08 10:46:30 +0200
committerFlorian Westphal <fw@strlen.de>2023-10-08 10:46:30 +0200
commit468b81e1959cea1ce22a78386aca14568922076e (patch)
treecc512454fbbb2b125d575b808cfe23635910c49d
parentb35f537bd69b825347b5d4a24aa3f0d3a359336f (diff)
libnetfiler_queue: add comment wrt. F_GSO flag.
Signed-off-by: Florian Westphal <fw@strlen.de>
-rw-r--r--src/libnetfilter_queue.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libnetfilter_queue.c b/src/libnetfilter_queue.c
index 86d74c2..bf67a19 100644
--- a/src/libnetfilter_queue.c
+++ b/src/libnetfilter_queue.c
@@ -127,6 +127,9 @@ gcc -g3 -ggdb -Wall -lmnl -lnetfilter_queue -o nf-queue nf-queue.c
* (it requires Linux kernel >= 2.6.31).
* - consider using fail-open option see nfq_set_queue_flags() (it requires
* Linux kernel >= 3.6)
+ * - make your application offload aware to avoid costly normalization on kernel
+ * side. See NFQA_CFG_F_GSO flag to nfq_set_queue_flags().
+ * Linux kernel >= 3.10.
* - increase queue max length with nfq_set_queue_maxlen() to resist to packets
* burst
*/