net/bnxt: disable vector Rx for mark action
authorLance Richardson <lance.richardson@broadcom.com>
Tue, 7 Jul 2020 22:22:23 +0000 (15:22 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:52 +0000 (06:18 +0200)
commitca03216f50f5810a6b124e1f96da1a0bdb861010
tree5e607e1ccea054d170d6917d7b3e43628da8e856
parent3f881f8d6eb0abd7a7240d5ee0f6c6c74cf3a0b6
net/bnxt: disable vector Rx for mark action

The bnxt vector mode receive handler does not support the rte_flow
'mark' action. Since we cannot know in advance whether this action
will be required, add support for dynamically switching from vector
to non-vector receive when the first flow create request with a
mark action is processed.

Fixes: 94eb699bc82e ("net/bnxt: support flow mark action")
Cc: stable@dpdk.org
Suggested-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_flow.c
drivers/net/bnxt/bnxt_rxr.c