]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
netdevice: add IPv4 fib add/del ops
authorScott Feldman <sfeldma@gmail.com>
Fri, 6 Mar 2015 05:21:14 +0000 (21:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 05:24:58 +0000 (00:24 -0500)
commit4586f1bb911ce219a4bc1c2a9d6eee2e058b2b51
tree742823217dd97108f26c352894743fa680ef7c09
parent37ed9493699cc5dafe1b8725858ef73176fdc9d2
netdevice: add IPv4 fib add/del ops

Add two new ndo ops for IPv4 fib offload support, add and del.  Add uses
modifiy semantics if fib entry already offloaded.  Drivers implementing the new
ndo ops will return err<0 if programming device fails, for example if device's
tables are full.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h