net/sfc: rely on native thread safety in flow mechanism
authorIvan Malov <ivan.malov@oktetlabs.ru>
Mon, 16 Nov 2020 19:40:29 +0000 (22:40 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 20 Nov 2020 20:10:04 +0000 (21:10 +0100)
commite4f72c9e66c5d8f8f63b4b22110698361a2d0119
tree72b4a2eeab45210a034c5556f4312e4080ef6067
parent450b53f3f289f88c61186794490a0d51924b67de
net/sfc: rely on native thread safety in flow mechanism

The changeset that introduced common flow API thread safety
in fact introduced double locking to this particular PMD as
RTE flow API implementation in the PMD has been thread-safe
since the day zero. State this by setting the corresponding
device flag to skip locking imposed by generic RTE flow API.

Fixes: 80d1a9aff7f6 ("ethdev: make flow API thread safe")

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
doc/guides/nics/sfc_efx.rst
doc/guides/rel_notes/release_20_11.rst
drivers/net/sfc/sfc_ethdev.c