pds_core: set up the VIF definitions and defaults
authorShannon Nelson <shannon.nelson@amd.com>
Wed, 19 Apr 2023 17:04:21 +0000 (10:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Apr 2023 07:29:13 +0000 (08:29 +0100)
commit65e0185ad764d2801811bb2e7c122e92557208c4
tree92186ec9d5b88e562f74e7f391dfaa6a05ecf34d
parent49ce92fbee0b6bb8066dddf37489483b3b6b5c25
pds_core: set up the VIF definitions and defaults

The Virtual Interfaces (VIFs) supported by the DSC's
configuration (vDPA, Eth, RDMA, etc) are reported in the
dev_ident struct and made visible in debugfs.  At this point
only vDPA is supported in this driver so we only setup
devices for that feature.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/pds_core/core.c
drivers/net/ethernet/amd/pds_core/core.h
drivers/net/ethernet/amd/pds_core/debugfs.c
include/linux/pds/pds_common.h