cxgb4: add tc flower support for ETH-DMAC rewrite
authorKumar Sanghvi <kumaras@chelsio.com>
Wed, 18 Oct 2017 15:19:10 +0000 (20:49 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Oct 2017 12:06:52 +0000 (13:06 +0100)
commit27ece1f357b71c63e6e35c645b9c344835d4a129
tree9e1e380c9b818a856bcd632cb2fd0639d8f80118
parentc39bff47d735e39fdbf59ad56df5581b0cf88c7c
cxgb4: add tc flower support for ETH-DMAC rewrite

Add support for ETH-DMAC Rewrite via TC-PEDIT action. Also, add
check to assert that vlan/eth-dmac rewrite actions are valid only
in combination with action egress redirect.

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
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.h