Home
last modified time | relevance | path

Searched hist:"7 a6e288d2745611bef5b614acf19644283765732" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/core/
H A Dpktgen.cdiff 7a6e288d2745611bef5b614acf19644283765732 Sat Jun 08 07:18:16 CDT 2013 Daniel Borkmann <dborkman@redhat.com> pktgen: ipv6: numa: consolidate skb allocation to pktgen_alloc_skb

We currently allow for numa-node aware skb allocation only within the
fill_packet_ipv4() path, but not in fill_packet_ipv6(). Consolidate that
code to a common allocation helper to enable numa-node aware skb
allocation for ipv6, and use it in both paths. This also makes both
functions a bit more readable.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>