ila: Flush netlink command to clear xlat table
Add ILA_CMD_FLUSH netlink command to clear the ILA translation table. Signed-off-by: Tom Herbert <tom@quantonium.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ad68147ef2
commit
b6e71bdebb
@@ -26,6 +26,12 @@ static const struct genl_ops ila_nl_ops[] = {
|
||||
.policy = ila_nl_policy,
|
||||
.flags = GENL_ADMIN_PERM,
|
||||
},
|
||||
{
|
||||
.cmd = ILA_CMD_FLUSH,
|
||||
.doit = ila_xlat_nl_cmd_flush,
|
||||
.policy = ila_nl_policy,
|
||||
.flags = GENL_ADMIN_PERM,
|
||||
},
|
||||
{
|
||||
.cmd = ILA_CMD_GET,
|
||||
.doit = ila_xlat_nl_cmd_get_mapping,
|
||||
|
Reference in New Issue
Block a user