bnxt_en: check for ingress qdisc in flower offload
authorSathya Perla <sathya.perla@broadcom.com>
Mon, 18 Sep 2017 11:35:37 +0000 (17:05 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Sep 2017 23:51:53 +0000 (16:51 -0700)
commit1e3c5ec66119783440ed211ae527674651affa9b
tree2359da9b2c98a91fce33a949634a4f707a8132b1
parent51513748ddfe7a5d2812158a1e0570499b0c511c
bnxt_en: check for ingress qdisc in flower offload

Check for ingress-only qdisc for flower offload, as other qdiscs
are not supported for flower offload.

Suggested-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Sathya Perla <sathya.perla@broadcom.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c