diff options
author | Mitko Haralanov <mitko.haralanov@intel.com> | 2016-07-25 13:38:07 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-08-02 16:00:58 -0400 |
commit | 5fd2b562edca6cfc710f97f0b691a589cf14c9e7 (patch) | |
tree | 3b0a96ca59a5c75d7982af3246549c0d401e04f6 /include | |
parent | 1b23f02cf4bbe644028077539b1045f742d61fa2 (diff) | |
download | linux-5fd2b562edca6cfc710f97f0b691a589cf14c9e7.tar.bz2 |
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 <mike.marciniszyn@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions