net/sched: Add separate check for skip_hw flag
authorHadar Hen Zion <hadarh@mellanox.com>
Thu, 1 Dec 2016 12:06:33 +0000 (14:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Dec 2016 18:28:36 +0000 (13:28 -0500)
commit55330f05969437c5d22fcc2ae2e54810b5236b7b
treea857b04891d26ffbc1daa3f2ee425cf4c35a9d1a
parent25429d7b7dca01dc4f17205de023a30ca09390d0
net/sched: Add separate check for skip_hw flag

Creating a difference between two possible cases:
1. Not offloading tc rule since the user sets 'skip_hw' flag.
2. Not offloading tc rule since the device doesn't support offloading.

This patch doesn't add any new functionality.

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h