diff options
author | David S. Miller <davem@davemloft.net> | 2014-01-14 02:14:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-14 02:14:25 -0500 |
commit | aef2b45fe459428d1861a74b08f3f57e87411f56 (patch) | |
tree | c2a4438c1b65afd6f805efe274817b9f04270dae /Documentation | |
parent | 2afe02eed1ac565e5ba90254706e67f670ae41a2 (diff) | |
parent | 6bae919003602729d6f5920315bf71ca78bd9e48 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next
Conflicts:
net/xfrm/xfrm_policy.c
Steffen Klassert says:
====================
This pull request has a merge conflict between commits be7928d20bab
("net: xfrm: xfrm_policy: fix inline not at beginning of declaration") and
da7c224b1baa ("net: xfrm: xfrm_policy: silence compiler warning") from
the net-next tree and commit 2f3ea9a95c58 ("xfrm: checkpatch erros with
inline keyword position") from the ipsec-next tree.
The version from net-next can be used, like it is done in linux-next.
1) Checkpatch cleanups, from Weilong Chen.
2) Fix lockdep complaints when pktgen is used with IPsec,
from Fan Du.
3) Update pktgen to allow any combination of IPsec transport/tunnel mode
and AH/ESP/IPcomp type, from Fan Du.
4) Make pktgen_dst_metrics static, Fengguang Wu.
5) Compile fix for pktgen when CONFIG_XFRM is not set,
from Fan Du.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/networking/pktgen.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/networking/pktgen.txt b/Documentation/networking/pktgen.txt index 75e4fd708ccb..5a61a240a652 100644 --- a/Documentation/networking/pktgen.txt +++ b/Documentation/networking/pktgen.txt | |||
@@ -108,7 +108,9 @@ Examples: | |||
108 | MPLS_RND, VID_RND, SVID_RND | 108 | MPLS_RND, VID_RND, SVID_RND |
109 | QUEUE_MAP_RND # queue map random | 109 | QUEUE_MAP_RND # queue map random |
110 | QUEUE_MAP_CPU # queue map mirrors smp_processor_id() | 110 | QUEUE_MAP_CPU # queue map mirrors smp_processor_id() |
111 | IPSEC # Make IPsec encapsulation for packet | ||
111 | 112 | ||
113 | pgset spi SPI_VALUE Set specific SA used to transform packet. | ||
112 | 114 | ||
113 | pgset "udp_src_min 9" set UDP source port min, If < udp_src_max, then | 115 | pgset "udp_src_min 9" set UDP source port min, If < udp_src_max, then |
114 | cycle through the port range. | 116 | cycle through the port range. |
@@ -177,6 +179,18 @@ Note when adding devices to a specific CPU there good idea to also assign | |||
177 | /proc/irq/XX/smp_affinity so the TX-interrupts gets bound to the same CPU. | 179 | /proc/irq/XX/smp_affinity so the TX-interrupts gets bound to the same CPU. |
178 | as this reduces cache bouncing when freeing skb's. | 180 | as this reduces cache bouncing when freeing skb's. |
179 | 181 | ||
182 | Enable IPsec | ||
183 | ============ | ||
184 | Default IPsec transformation with ESP encapsulation plus Transport mode | ||
185 | could be enabled by simply setting: | ||
186 | |||
187 | pgset "flag IPSEC" | ||
188 | pgset "flows 1" | ||
189 | |||
190 | To avoid breaking existing testbed scripts for using AH type and tunnel mode, | ||
191 | user could use "pgset spi SPI_VALUE" to specify which formal of transformation | ||
192 | to employ. | ||
193 | |||
180 | 194 | ||
181 | Current commands and configuration options | 195 | Current commands and configuration options |
182 | ========================================== | 196 | ========================================== |
@@ -225,6 +239,7 @@ flag | |||
225 | UDPDST_RND | 239 | UDPDST_RND |
226 | MACSRC_RND | 240 | MACSRC_RND |
227 | MACDST_RND | 241 | MACDST_RND |
242 | IPSEC | ||
228 | 243 | ||
229 | dst_min | 244 | dst_min |
230 | dst_max | 245 | dst_max |