src/dpdk/drivers/net/vmxnet3/vmxnet3_ethdev.c
static int
vmxnet3_dev_promiscuous_enable(struct rte_eth_dev *dev)
{
	struct vmxnet3_hw *hw = dev->data->dev_private;
	uint32_t *vf_table = hw->shared->devRead.rxFilterConf.vfTable;

	memset(vf_table, 0, VMXNET3_VFT_TABLE_SIZE);
	vmxnet3_dev_set_rxmode(hw, VMXNET3_RXM_PROMISC, 1);

	VMXNET3_WRITE_BAR1_REG(hw, VMXNET3_REG_CMD,
			       VMXNET3_CMD_UPDATE_VLAN_FILTERS);

	return 0;
}
/* Promiscuous supported only if Vmxnet3_DriverShared is initialized in adapter */
Promiscuous supported only if Vmxnet3_DriverShared is initialized in adapter
Promiscuous supported only if Vmxnet3_DriverShared is initialized in adapter
static int
vmxnet3_dev_promiscuous_enable(struct rte_eth_dev *dev)
{
	struct vmxnet3_hw *hw = dev->data->dev_private;
	uint32_t *vf_table = hw->shared->devRead.rxFilterConf.vfTable;
	memset(vf_table, 0, VMXNET3_VFT_TABLE_SIZE);
	vmxnet3_dev_set_rxmode(hw, VMXNET3_RXM_PROMISC, 1);
	VMXNET3_WRITE_BAR1_REG(hw, VMXNET3_REG_CMD,
			       VMXNET3_CMD_UPDATE_VLAN_FILTERS);
	return 0;
}
static int vmxnet3_dev_promiscuous_enable ( struct rte_eth_dev * dev ) { struct vmxnet3_hw * hw = dev -> data -> dev_private ; uint32_t * vf_table = hw -> shared -> devRead . rxFilterConf . vfTable ; memset ( vf_table , 0 , VMXNET3_VFT_TABLE_SIZE ) ; vmxnet3_dev_set_rxmode ( hw , VMXNET3_RXM_PROMISC , 1 ) ; VMXNET3_WRITE_BAR1_REG ( hw , VMXNET3_REG_CMD , VMXNET3_CMD_UPDATE_VLAN_FILTERS ) ; return 0 ; }
Promiscuous supported only if Vmxnet3_DriverShared is initialized in adapter
Promiscuous supported only if Vmxnet3_DriverShared is initialized in adapter