summaryrefslogtreecommitdiff
path: root/curvetun_mgmt.h
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-08-05 15:04:38 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-08-05 15:09:01 +0200
commita0e2b28801d2ddb5ccf80a7c5d0b9ac9b75f736d (patch)
tree3b8f27a81ebec2d53e561fab9961024fc0217088 /curvetun_mgmt.h
parentb073c8e5fd7f8c723680b659bd81afd231ef32f5 (diff)
trafgen: proto: Use field id as array index
Usually proto fields array are sorted in the same order as the respective enum. Thus, the id can be used used as an array index for faster lookup. Add an explanatory comment and enforce the correspondence of id and index using bug_on(). This will make csum field calculation a little faster at runtime. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'curvetun_mgmt.h')
0 files changed, 0 insertions, 0 deletions
/span>sctp: add support for generating stream reconf add incoming/outgoing streams ...Xin Long2-0/+10 2017-02-09sctp: implement sender-side procedures for SSN/TSN Reset Request ParameterXin Long2-0/+2 2017-02-09sctp: add support for generating stream reconf ssn/tsn reset request chunkXin Long2-0/+7 2017-02-09sctp: drop unnecessary __packed from some stream reconf structuresXin Long1-3/+3 2017-02-08ipv4: fib: Notify about nexthop status changesIdo Schimmel1-0/+7 2017-02-08net: stmmac: Remove the bus_setup function pointerLABBE Corentin1-1/+0 2017-02-08gro_cells: move to net/core/gro_cells.cEric Dumazet1-82/+4 2017-02-08net: phy: Add LED mode driver for Microsemi PHYs.Raju Lakkaraju