To Add a Rule for a Selected Interface

Onload User Guide (UG1586)

Document ID
Release Date
1.2 English
echo "rule=4 if=eth3 action=ACCEPT protocol=udp local_port=7330-7340" \
     > /proc/driver/sfc_resource/firewall_add

Rules can be inserted into any position in the table and existing rule numbers will be adjusted to accommodate new rules. If a rule number is not specified the rule will be appended to the existing rule list.

Note: Errors resulting from the add/delete commands will be displayed in dmesg.