iproute2/man/man8
Amir Vadai cfcabf18d8 tc: flower: Add skip_{hw|sw} support
On devices that support TC flower offloads, these flags enable a filter to be
added only to HW or only to SW. skip_sw and skip_hw are mutually exclusive
flags. By default without any flags, the filter is added to both HW and SW,
but no error checks are done in case of failure to add to HW.
With skip-sw, failure to add to HW is treated as an error.

Here is a sample script that adds 2 filters, one with skip_sw and the other
with skip_hw flag.

   # add ingress qdisc
   tc qdisc add dev enp0s9 ingress

   # enable hw tc offload.
   ethtool -K enp0s9 hw-tc-offload on

   # add a flower filter with skip-sw flag.
   tc filter add dev enp0s9 protocol ip parent ffff: flower \
	   ip_proto 1 indev enp0s9 skip_sw \
	   action drop

   # add a flower filter with skip-hw flag.
   tc filter add dev enp0s9 protocol ip parent ffff: flower \
	   ip_proto 3 indev enp0s9 skip_hw \
	   action drop

Signed-off-by: Amir Vadai <amirva@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
2016-07-06 21:24:48 -07:00
..
.gitignore man8: build cleanup 2012-08-01 14:58:15 -07:00
Makefile ip: add MACsec support 2016-06-08 09:35:29 -07:00
arpd.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
bridge.8 bridge: man: fix STP LISTENING description 2016-06-30 17:30:02 -07:00
ctstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
devlink-dev.8 devlink: add manpage for shared buffer 2016-04-19 08:01:05 -07:00
devlink-monitor.8 devlink: add manpage for shared buffer 2016-04-19 08:01:05 -07:00
devlink-port.8 devlink: add manpage for shared buffer 2016-04-19 08:01:05 -07:00
devlink-sb.8 devlink: add manpage for shared buffer 2016-04-19 08:01:05 -07:00
devlink.8 devlink: introduce helper to print out nice names (ifnames) 2016-04-19 08:01:05 -07:00
genl.8 genl: add manpage 2015-11-03 16:27:39 -08:00
ifcfg.8 man: Spelling fixes 2015-11-23 15:39:25 -08:00
ifstat.8 ifstat: add manpage 2015-11-03 16:27:39 -08:00
ip-address.8.in ip-address: Align type list in help and man page 2016-06-29 09:20:02 -07:00
ip-addrlabel.8 man: ip-*.8: drop any reference to generic ip options 2016-03-02 11:23:53 -08:00
ip-fou.8 iproute2: Man pages for fou and gue 2014-11-06 16:17:34 -08:00
ip-gue.8 iproute2: Man pages for fou and gue 2014-11-06 16:17:34 -08:00
ip-l2tp.8 man: ip-l2tp.8: Fix BNF syntax 2016-03-02 11:23:53 -08:00
ip-link.8.in man: ip-link: Add vrf type 2016-06-27 10:53:28 -07:00
ip-macsec.8 ip: add MACsec support 2016-06-08 09:35:29 -07:00
ip-maddress.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
ip-monitor.8 man: ip-*.8: drop any reference to generic ip options 2016-03-02 11:23:53 -08:00
ip-mroute.8 man: ip-*.8: drop any reference to generic ip options 2016-03-02 11:23:53 -08:00
ip-neighbour.8 man: ip-neighbour.8: Document all known nud states 2016-03-04 15:27:52 -08:00
ip-netconf.8 man: update netconf manual for new attributes 2016-03-21 12:15:58 -07:00
ip-netns.8 man: ip-netns.8: Clarify synopsis a bit 2016-03-02 11:23:52 -08:00
ip-ntable.8 man: ip-ntable.8: Review synopsis section 2016-03-02 11:23:52 -08:00
ip-route.8.in man: ip-route: Make synopsis consistent with description 2016-03-04 15:27:52 -08:00
ip-rule.8 doc, man: ip-rule: Remove incorrect statement about rule 0 2016-03-04 15:27:52 -08:00
ip-tcp_metrics.8 iproute2: add support for tcp_metrics 2012-10-08 10:23:07 -07:00
ip-token.8 ip, token: add del command 2016-05-31 12:10:29 -07:00
ip-tunnel.8 man: ip-tunnel.8: Document missing 6rd action 2016-03-02 11:23:52 -08:00
ip-xfrm.8 man: ip-xfrm.8: Document missing parameters 2016-03-02 11:23:52 -08:00
ip.8 man: ip, ip-link: Fix ip option location 2016-05-31 12:33:48 -07:00
lnstat.8 man: Spelling fixes 2015-11-23 15:39:25 -08:00
nstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
routef.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
routel.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
rtacct.8 man: rtacct: add missing TP marker 2016-07-06 21:06:33 -07:00
rtmon.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
rtpr.8 man: rtpr: Fix minor typo 2016-06-08 08:37:30 -07:00
rtstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
ss.8 ss: support closing inet sockets via SOCK_DESTROY. 2016-01-18 11:47:03 -08:00
tc-basic.8 tc: add a man page for basic filter 2015-10-23 15:37:26 -07:00
tc-bfifo.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-bpf.8 man: Spelling fixes 2015-11-23 15:39:25 -08:00
tc-cbq-details.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-cbq.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-cgroup.8 tc: add a man page for cgroup filter 2015-10-23 15:37:26 -07:00
tc-choke.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-codel.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-connmark.8 tc: connmark, pedit: Rename BRANCH to CONTROL 2016-03-27 10:34:42 -07:00
tc-csum.8 man: tc-csum.8: Add an example 2016-03-27 10:34:43 -07:00
tc-drr.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-ematch.8 In tc-ematch.8, remove no-op .ti requests to prevent translation warnings 2013-07-12 08:33:08 -07:00
tc-flow.8 tc: add a man page for flow filter 2015-10-23 15:37:26 -07:00
tc-flower.8 tc: flower: Add skip_{hw|sw} support 2016-07-06 21:24:48 -07:00
tc-fq.8 man: fix whatis for fq 2016-01-06 10:29:06 -08:00
tc-fq_codel.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-fw.8 tc: add a man page for fw filter 2015-10-23 15:37:26 -07:00
tc-hfsc.8 iproute2: unmangle netdev/my emails in man pages (hfsc, stab) 2016-07-06 21:07:23 -07:00
tc-htb.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-ife.8 man: tc-ife.8: man page for ife action 2016-06-08 08:38:27 -07:00
tc-mirred.8 man: tc-mirred.8: Reword man page a bit, add generic mirror example 2016-03-27 10:34:44 -07:00
tc-mqprio.8 man: Spelling fixes 2015-11-23 15:39:25 -08:00
tc-nat.8 man: Add a man page for the nat action 2016-03-04 15:27:51 -08:00
tc-netem.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-pedit.8 tc: connmark, pedit: Rename BRANCH to CONTROL 2016-03-27 10:34:42 -07:00
tc-pfifo.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
tc-pfifo_fast.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-pie.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-police.8 man: tc-police.8: Emphasize on the two rate control mechanisms 2016-03-27 10:34:45 -07:00
tc-prio.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-red.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-route.8 tc: add a man page for route filter 2015-10-23 15:37:26 -07:00
tc-sfb.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-sfq.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-simple.8 man: Add a man page for the simple action 2016-03-04 15:27:51 -08:00
tc-skbedit.8 man: tc-skbedit.8: Elaborate a bit on TX queues 2016-03-27 10:34:47 -07:00
tc-stab.8 iproute2: unmangle netdev/my emails in man pages (hfsc, stab) 2016-07-06 21:07:23 -07:00
tc-tbf.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-tcindex.8 tc: add a man page for tcindex filter 2015-10-23 15:37:26 -07:00
tc-u32.8 man: tc-u32: Minor syntax fix 2016-03-04 15:27:52 -08:00
tc-vlan.8 man: tc-vlan.8: Describe CONTROL option 2016-03-27 10:34:49 -07:00
tc-xt.8 man: Add a man page for the xt action 2016-03-04 15:27:51 -08:00
tc.8 tc.8: Fix reference to tc-tcindex.8 2015-12-10 08:48:07 -08:00
tipc-bearer.8 Revert "tipc: add peer remove functionality" 2016-02-09 10:51:32 -08:00
tipc-link.8 Revert "tipc: add peer remove functionality" 2016-02-09 10:51:32 -08:00
tipc-media.8 Revert "tipc: add peer remove functionality" 2016-02-09 10:51:32 -08:00
tipc-nametable.8 Revert "tipc: add peer remove functionality" 2016-02-09 10:51:32 -08:00
tipc-node.8 Revert "tipc: add peer remove functionality" 2016-02-09 10:51:32 -08:00
tipc-socket.8 man: Syntax and warning fixes 2015-11-23 15:39:25 -08:00
tipc.8 Revert "tipc: add peer remove functionality" 2016-02-09 10:51:32 -08:00