vmxnet3 no longer functional on DPDK 21.11
Stephen Hemminger
stephen at networkplumber.org
Wed Jan 10 00:55:27 CET 2024
On Tue, 9 Jan 2024 10:21:04 +0000
Bruce Richardson <bruce.richardson at intel.com> wrote:
> diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c
> index e49191718a..d088b42d35 100644
> --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c
> +++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c
> @@ -1129,6 +1129,7 @@ vmxnet3_dev_start(struct rte_eth_dev *dev)
> /* Setting proper Rx Mode and issue Rx Mode Update command */
> vmxnet3_dev_set_rxmode(hw, VMXNET3_RXM_UCAST | VMXNET3_RXM_BCAST, 1);
>
> +#ifndef RTE_EXEC_ENV_FREEBSD
> /* Setup interrupt callback */
> rte_intr_callback_register(dev->intr_handle,
> vmxnet3_interrupt_handler, dev);
> @@ -1140,6 +1141,7 @@ vmxnet3_dev_start(struct rte_eth_dev *dev)
>
> /* enable all intrs */
> vmxnet3_enable_all_intrs(hw);
> +#endif
>
> vmxnet3_process_events(dev);
>
Probably need to go further with this.
- what about unreigster in vmxnet3_dev_stop
- vmxnet3_interrupt_handler is then dead code, should it be #ifdef guarded?
- and vmxnet3_dev_rx_queue_intr_enable/disable
- and vmxnet3_enable_intr
- and vmxnet3_configure_msix
- and checks for rte_eth_intr_conf bits? in configure
More information about the dev
mailing list