aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api-test
diff options
context:
space:
mode:
authorPierre Pfister <ppfister@cisco.com>2016-11-22 10:33:34 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2016-12-06 13:58:13 +0000
commitdbb3c25374fc5735c57960465bcc10278b147e5a (patch)
tree46f76ed5c93a26066206414d7d4d5f53810eae97 /vpp-api-test
parentbeb1a8db496e87cb70b8fe39e5167c5c0ccde8d8 (diff)
vhost: Code cleaning
After a bug was found, I decided to review old vhost code. This change cleans some of it by: - Use unix file private data rather than hash table - Use vnet interface lookups rather than hash table - Keep track of unix_fd index rather than fd value - Change some indent - Store interfaces in a clib pool rather than hand-made pool The overall change reduces the number of lines as well as the amount of state kept in vhost structures. Change-Id: I6b9b670b9c7e1fb85981bcf2099f7140b0251fe0 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
Diffstat (limited to 'vpp-api-test')
0 files changed, 0 insertions, 0 deletions