net/nfp: expand device info get
authorHeinrich Kuhn <heinrich.kuhn@netronome.com>
Wed, 2 Sep 2020 11:52:27 +0000 (13:52 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:11 +0000 (18:55 +0200)
commit69a0f8750aa349ed27fa7b635e2b47f74f11431a
treec29ffdaa0c3b418f157a9be279346fe54a041957
parentaf86364409bc30b1e275446c7a86efe97bd06f06
net/nfp: expand device info get

Report Rx and Tx descriptor related limitations in the nfp dev_info_get
callback function. This commit also adds NFP_ALIGN_RING_DESC to replace
a static integer value used during rx/tx queue setups to validate
descriptor alignment.

Cc: stable@dpdk.org
Signed-off-by: Heinrich Kuhn <heinrich.kuhn@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
drivers/net/nfp/nfp_net.c
drivers/net/nfp/nfp_net_pmd.h