summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2021-06-25 17:49:01 +0200
committerDamjan Marion <dmarion@me.com>2021-06-30 18:58:42 +0000
commit41e64e76d26b839a820424d9882b51c31f9108d6 (patch)
treed3276feef5d2914e7e564a8a57422063a42b3e6a /src/vnet
parent44d524f941c8070c2a04301f832a129984fe4c96 (diff)
rdma: fix chained buffer tx path in dv mode
When switching to the direct verb chain buffer tx path, we must account for all remaining packets, including the packets that would wrapped around. Previously we were using the 'n' counter but ignoring the 'n_wrap' counter: if some packets would have wrapped around in the default path, it would be ignored by the chained buffer tx path. Compute the correct number of remaining packets based on the old and current txq tail instead. Also simplify the chained tx function parameters. Type: fix Change-Id: If12b41a8f143fda80290342e2904792f7501c559 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet')
0 files changed, 0 insertions, 0 deletions