diff options
| author | Mitko Haralanov <[email protected]> | 2016-07-25 13:38:07 -0700 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2016-08-02 16:00:58 -0400 |
| commit | 5fd2b562edca6cfc710f97f0b691a589cf14c9e7 (patch) | |
| tree | 3b0a96ca59a5c75d7982af3246549c0d401e04f6 /tools/perf/scripts/python | |
| parent | 1b23f02cf4bbe644028077539b1045f742d61fa2 (diff) | |
IB/hfi1: Pull FECN/BECN processing to a common place
There were multiple places where FECN/BECN processing was
being done for the different types of QPs. All of that code
was very similar, which meant that it could be pulled into
a single function used by the different QP types.
To retain the performance in the fastpath, the common code
starts with an inline function, which only calls the slow
path if the packet has any of the [FB]ECN bits set.
Reviewed-by: Mike Marciniszyn <[email protected]>
Reviewed-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Mitko Haralanov <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions