net/octeontx2: add devargs to lock Rx/Tx contexts
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Sun, 28 Jun 2020 22:18:32 +0000 (03:48 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Jul 2020 21:38:26 +0000 (23:38 +0200)
commit3b0bc725f096e833b19f812c81b2642e0c364f8b
tree9b69a386a7de5ba355bc3abd394e22251c4b1df3
parent676e0ce5be53e3d4d77ae785fc755d13b93c1eb1
net/octeontx2: add devargs to lock Rx/Tx contexts

Add device arguments to lock Rx/Tx contexts.
Application can either choose to lock Rx or Tx contexts by using
'lock_rx_ctx' or 'lock_tx_ctx' respectively per each port.

Example:
-w 0002:02:00.0,lock_rx_ctx=1 -w 0002:03:00.0,lock_tx_ctx=1

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Reviewed-by: Andrzej Ostruszka <aostruszka@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
doc/guides/nics/octeontx2.rst
drivers/net/octeontx2/otx2_ethdev.c
drivers/net/octeontx2/otx2_ethdev.h
drivers/net/octeontx2/otx2_ethdev_devargs.c
drivers/net/octeontx2/otx2_rss.c