smartnic / superopt

A superoptimizing compiler for packet-processing
MIT License
30 stars 3 forks source link

bpf map helper functions for validator 1 #78

Closed QiongwenXu closed 4 years ago

QiongwenXu commented 4 years ago

@ngsrinivas These commits are mainly about map helper functions: update / delete / lookup. Could you please help me review the code when you are free? thanks!

by the way: do not need to check the code related to equivalence check, since I will modify them later. Also, there may be some modifications about update or delete once I finish check with real bpf hash map.

  1. have added the return value of update/delete