diff options
| author | 2018-02-01 10:46:38 -0800 | |
|---|---|---|
| committer | 2018-02-01 15:43:29 -0700 | |
| commit | ca85bb1ca9948899682fe7170636e465599ea8e7 (patch) | |
| tree | 19720313686b1cdd9f0f5a8e43d75dfdf0e78cb0 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | IB/hfi1: Look up ibport using a pointer in receive path (diff) | |
| download | wireguard-linux-ca85bb1ca9948899682fe7170636e465599ea8e7.tar.xz wireguard-linux-ca85bb1ca9948899682fe7170636e465599ea8e7.zip | |
IB/hfi1: Remove unnecessary fecn and becn fields
packet->fecn and packet->becn are calculated in the hot path
and are never used. Remove these fields as they show to be
costly in a profile. Also, remove initialization for
becn and fecn in process_ecn() as they're unconditionally
assigned in the function and ensure fecn and becn variables
use a boolean type.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions
