To Delete a Rule from a Selected Interface

Onload User Guide (UG1586)

Document ID
Release Date
1.2 English

To delete a single rule:

# echo "if=eth3 rule=2" > /proc/driver/sfc_resource/firewall_del

To delete all rules:

echo "eth2 all" > /proc/driver/sfc_resource/firewall_del

When the last rule for an interface has been deleted the interface firewall_rules file is removed from /proc/driver/sfc_resource. The interface directory will be removed only when completely empty.