On Mon, 20 Dec 2021 08:23:56 +0800
Stephen Hemminger wrote:
> On Sat, 18 Dec 2021 10:51:43 +0800
> Yanling Song wrote:
>
> > +static int spnic_dev_configure(struct rte_eth_dev *dev)
> > +{
> > + struct spnic_nic_dev *nic_dev =
> > SPNIC_ETH_DEV_TO_PRIVATE_NIC_DEV(dev); +
> > + nic_dev->num_
On Sat, 18 Dec 2021 10:51:43 +0800
Yanling Song wrote:
> +static int spnic_dev_configure(struct rte_eth_dev *dev)
> +{
> + struct spnic_nic_dev *nic_dev = SPNIC_ETH_DEV_TO_PRIVATE_NIC_DEV(dev);
> +
> + nic_dev->num_sqs = dev->data->nb_tx_queues;
> + nic_dev->num_rqs = dev->data->nb_r
This commit adds the callbacks to configure queue number and mtu
as well as query configuration information and firmware version.
Signed-off-by: Yanling Song
---
drivers/net/spnic/spnic_ethdev.c | 148 ++-
1 file changed, 146 insertions(+), 2 deletions(-)
diff --git
3 matches
Mail list logo