cxgb4: add tc flower match support for TOS
authorKumar Sanghvi <kumaras@chelsio.com>
Wed, 18 Oct 2017 15:19:07 +0000 (20:49 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Oct 2017 12:06:52 +0000 (13:06 +0100)
commitbda1e229153fbdd0efd22a14c1c76a28c05d1b27
treeb5d5e4014b4068551ec6ffed7fded24eb5622582
parent890056783c60ad9d0789774af2bc10fe4f27dd9d
cxgb4: add tc flower match support for TOS

Add support for matching on IP TOS.  Also check on ethtype value
to be either IPv4 or IPv6.

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c