summaryrefslogtreecommitdiffstats
path: root/drivers/net/LICENSE.SRC
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2020-11-04 14:30:38 +0100
committerJakub Kicinski <kuba@kernel.org>2020-11-06 20:28:50 +0100
commit8fa84742d66625281a14b5db4c1f64f06c5b106a (patch)
tree3dcd5dc6509f6bb5b79711eb061048a423284ef4 /drivers/net/LICENSE.SRC
parentnetdevsim: Add devlink resource for nexthops (diff)
downloadlinux-8fa84742d66625281a14b5db4c1f64f06c5b106a.tar.xz
linux-8fa84742d66625281a14b5db4c1f64f06c5b106a.zip
netdevsim: Add dummy implementation for nexthop offload
Implement dummy nexthop "offload" in the driver by storing currently "programmed" nexthops in a hash table. Each nexthop in the hash table is marked with "trap" indication and increments the nexthops resource occupancy. This will later allow us to test the nexthop offload API on top of netdevsim. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/LICENSE.SRC')
0 files changed, 0 insertions, 0 deletions