Add testpmd CLI to set VF multicast promiscuous mode on i40e.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 83 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 +++
2 files changed, 91 insertions(+)
diff --git a/app/test-pmd
command is: set vf vlan tag port_id vf_id on|off
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 90 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 +++
2 files changed, 97 insertions(+)
diff --git a/app/test-pmd/cmdline.c b/app
Add testpmd CLI to set VF unicast promiscuous mode on i40e.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 89 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 +++
2 files changed, 97 insertions(+)
diff --git a/app/test-pmd/cmdline.c
modify set_vf_rx_vlan function to handle the i40e PMD.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/config.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 36c47ab..0368dc6 100644
--- a/app/test-pmd/c
Initialise VMDq in the init_port_config function in a similar
way to how it is done in the VMDq sample application.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/testpmd.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
Add command to call rte_pmd_i40e_set_vf_broadcast.
Add set vf broadcast in testpmd_funcs.rst file.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 84 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 +++
2 files changed, 91 insert
PF host didn't return correct VSI id to VF.
This change fix it.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/i40e/i40e_pf.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/i40e/i40e_pf.c b/drivers/net/i40e/i40e_pf.c
index 0f582ed..8319c2c 100644
--- a/driver
i40e PF host only support to work with DPDK VF driver, Linux
VF driver is not supported. This change will enhance in version
number returned.
Current version info returned won't be able to be recognized
by Linux VF driver, change to values that both DPDK VF and Linux
driver can recognize.
The exp
i40e PF host only support to work with DPDK VF driver, Linux
VF driver is not supported. This change will enhance in
configuring IRQ link list.
This Change will identify VF client by number of vector
requested. DPDK VF will ask only single one while Linux VF
will request at least 2. It will have d
When VF sends request to add a new mac address, PF host
will check if it's a non-zero or uncast address, or it
will return with error. In fact, VF still can set multicast
address. This change remove to check if it's a unicast
address.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/i40e/i40e_pf
When VF requested to configure TX queue, a few parameters are
missed to be configured in PF host. This change have more
fields parsed and configured for TX context.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/i40e/i40e_pf.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --gi
To enhance the per-core performance, this patch adds some AVX512
instructions to the data path to handle the TX descriptors.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Bruce Richardson
Signed-off-by: Leyi Rong
---
doc/guides/rel_notes/release_20_11.rst | 3 +
drivers/net/iavf/iavf_ethdev.c
To enhance the per-core performance, this patch adds some AVX512
instructions to the data path to handle the legacy RX descriptors.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Bruce Richardson
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.c| 29 +-
drivers/net/iavf
To enhance the per-core performance, this patch adds some AVX512
instructions to the data path to handle the flexible RX descriptors.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Bruce Richardson
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.c| 10 +
drivers/net/iavf
fix compile issue for AVX512BW.
Wenzhuo Lu (3):
net/iavf: enable AVX512 for legacy RX
net/iavf: enable AVX512 for flexible RX
net/iavf: enable AVX512 for TX
doc/guides/rel_notes/release_20_11.rst |3 +
drivers/net/iavf/iavf_ethdev.c |3 +-
drivers/net/iavf/iavf_rxtx.c
To enhance the per-core performance, this patch adds some AVX512
instructions to the data path to handle the flexible Rx descriptors.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Bruce Richardson
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.c| 10 +
drivers/net/iavf
fix compile issue for AVX512BW.
v7:
rebased on next-net_intel.
Wenzhuo Lu (3):
net/iavf: enable AVX512 for legacy Rx
net/iavf: enable AVX512 for flexible Rx
net/iavf: enable AVX512 for Tx
doc/guides/rel_notes/release_20_11.rst |3 +
drivers/net/iavf/iavf_ethdev.c |3 +-
To enhance the per-core performance, this patch adds some AVX512
instructions to the data path to handle the legacy Rx descriptors.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Bruce Richardson
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.c| 29 +-
drivers/net/iavf
To enhance the per-core performance, this patch adds some AVX512
instructions to the data path to handle the Tx descriptors.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Bruce Richardson
Signed-off-by: Leyi Rong
---
doc/guides/rel_notes/release_20_11.rst | 3 +
drivers/net/iavf/iavf_ethdev.c
The function name ixgbe_vmdq_mode_check is not right.
This function checks if Virtualization Technology is
enabled. It's for both VMDq and IOV.
Others may be misled by the current name.
Fixes: fe3a45fd4104 ("ixgbe: add VMDq support")
CC: sta...@dpdk.org
Signed-off-by: Wenzhuo L
The function name ixgbe_vmdq_mode_check is not right.
This function checks if Virtualization Technology is
enabled. It's for both VMDq and IOV.
Others may be misled by the current name.
Fixes: fe3a45fd4104 ("ixgbe: add VMDq support")
CC: sta...@dpdk.org
Signed-off-by: Wenzh
Qi Zhang (3):
net/i40e: enable VF MTU change
net/i40e: fix VF reset flow
net/i40e: set/clear VF stats from PF
Wenzhuo Lu (10):
net/i40e: support link status notification
net/i40e: add callback to user on VF to PF mbox msg
net/i40e: set VF MAC anti-spoofing from PF
net/i40e: set VF
Add an API to expose the ability, that PF can notify VF
when link status changes, to APP.
So if PF APP doesn't want to enable interruption but check
link status by itself, PF APP can let VF know link status
changed.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/Makefile
Support enabling/disabling VF MAC anti-spoofing from
PF.
User can call the API on PF to enable/disable a specific
VF's MAC anti-spoofing.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 62 +++
drivers/net/i40e/rte_pmd_i40e.h
The callback asks the user application if it is allowed to
perform the mailbox messages.
If the return value from user is RTE_PMD_I40E_MB_EVENT_PROCEED
then continue. If ACK or NACK, do nothing and send
not_supported to VF.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_pf.c | 230
Support enabling/disabling VF VLAN anti-spoofing from
PF.
User can call the API on PF to enable/disable a specific
VF's VLAN anti-spoofing.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 137 --
drivers/net/i40e/i40e_eth
Support enabling/disabling TX loopback from PF.
User can call the API on PF to enable/disable TX loopback
for all the PF and VFs.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 238 ++
drivers/net/i40e/rte_pmd_i40e.h | 16
Support enabling/disabling VF unicast promiscuous mode from
PF.
User can call the API on PF to enable/disable a specific
VF's unicast promiscuous mode.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 38 +++
drivers/net/i40e/rte_pmd_i
Support enabling/disabling VF multicast promiscuous mode from
PF.
User can call the API on PF to enable/disable a specific
VF's multicast promiscuous mode.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 38 +++
drivers/net
From: Qi Zhang
This patch implement mtu_set ops for i40e VF.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev_vf.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index 12da0ec
From: Qi Zhang
Add missing step during VF reset: PF should
set I40E_VFGEN_RSTAT to ACTIVE at end of the
VF reset operation or VF driver may not able
to detect that reset is already completed.
This patch also remove the unnecessary enum
for vfr state.
Fixes: 4861cde46116 ("i40e: new poll mode dri
From: Ferruh Yigit
Support setting VF MAC address from PF.
User can call the API on PF to set a specific
VF's MAC address.
PF should set MAC address before VF initialized,
if PF sets the MAC address after VF initialized,
new MAC address won't be effective until VF
reinitialized.
This will remov
From: Ferruh Yigit
Support changing VF default MAC address.
This function is not supported if PF set the MAC
address for the PF.
Signed-off-by: Ferruh Yigit
---
drivers/net/i40e/i40e_ethdev.h| 4 +++-
drivers/net/i40e/i40e_ethdev_vf.c | 49 +--
2 files
From: Ferruh Yigit
If PF sets vf->mac_addr, in VF initialization hw->mac.addr will be set
to that same value. It is possible to check if PF set a MAC address or
not through the hw->mac.addr variable.
hw->mac.addr set by i40e_vf_parse_hw_config(), call stack is:
In PF side
i40e_pf_host_process_c
From: "Chen Jing D(Mark)"
Add a function to configure vlan strip enable/disable for specific
SRIOV VF device.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/i40e/i40e_ethdev.c| 33 +++
drivers/net/i40e/rte_pmd_i40e.h | 19 ++
From: Bernard Iremonger
Support inserting VF VLAN id from PF.
User can call the API on PF to insert a VLAN id to a
specific VF.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 62 +++
drivers/net/i40e/rte_pmd_i40e.h | 19 ++
From: Bernard Iremonger
Support enabling/disabling VF broadcast mode from PF.
User can call the API on PF to enable/disable a specific
VF's broadcast mode.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 53 +++
drivers/net/i40e/rte_
From: Bernard Iremonger
Add rte_pmd_i40e_set_vf_vlan_tag API.
User can call the API on PF to enable/disable a specific
VF's VLAN tag.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 65 +++
drivers/net/i40e/rte_pmd_i40e.h |
From: Bernard Iremonger
add rte_pmd_i40e_set_vf_vlan_filter API.
User can call the API on PF to enable/disable
a set of VF's VLAN filters.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 60 +++
drivers/net/i40e/rte_pmd_i40e.h
The new VF Daemon (VFD) APIs is implemented on i40e. Change
testpmd code to use them, including VF MAC anti-spoofing,
VF VLAN anti-spoofing, TX loopback, VF VLAN strip, VF VLAN
insert.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Chen Jing D(Mark)
Signed-off-by: Bernard Iremonger
---
app/test-pmd
Add testpmd CLI to set VF unicast promiscuous mode on i40e.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 97 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 9 +++
2 files changed, 106 insertions(+)
diff --git a/app/test-pmd/cmdline.c
Add testpmd CLI to set VF multicast promiscuous mode on i40e.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 97 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 9 +++
2 files changed, 106 insertions(+)
diff --git a/app/test-pmd
From: Bernard Iremonger
command is: set vf vlan tag port_id vf_id on|off
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 103
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 ++
2 files changed, 110 insertions(+)
diff --git a/a
From: Bernard Iremonger
modify set_vf_rx_vlan function to handle the i40e PMD.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 41 ++---
app/test-pmd/config.c | 13 -
app/test-pmd/testpmd.h | 2 --
3 files changed, 34 insertions(+
From: Bernard Iremonger
Add command to call rte_pmd_i40e_set_vf_broadcast.
Add set vf broadcast in testpmd_funcs.rst file.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 97 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 +++
From: "Chen Jing D(Mark)"
When VF sends request to add a new MAC address, PF host
will check if it's a non-zero or unicast address, or it
will return with error. In fact, VF still can set multicast
address. This change remove to check if it's a unicast
address.
Signed-off-by: Chen Jing D(Mark)
From: Qi Zhang
This patch add support to get/clear VF statistics
from PF side.
Two APIs are added:
rte_pmd_i40e_get_vf_stats.
rte_pmd_i40e_reset_vf_stats.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev.c| 73 +++
drivers/net/i40e/rte_pmd_i40e.h
d: add ixgbe VF management")
CC: sta...@dpdk.org
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 101 +++--
1 file changed, 81 insertions(+), 20 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index f768b6b..172861a 10064
enhance in sanity check of MAC
Ferruh Yigit (3):
net/i40e: set VF MAC from PF support
net/i40e: set VF MAC from VF support
net/i40e: fix VF MAC address assignment
Qi Zhang (3):
net/i40e: enable VF MTU change
net/i40e: fix VF reset flow
net/i40e: set/clear VF stats from PF
Wenzhuo Lu (
Add an API to expose the ability, that PF can notify VF
when link status changes, to APP.
So if PF APP doesn't want to enable interruption but check
link status by itself, PF APP can let VF know link status
changed.
Signed-off-by: Wenzhuo Lu
---
MAINTAINERS
Support enabling/disabling VF MAC anti-spoofing from
PF.
User can call the API on PF to enable/disable a specific
VF's MAC anti-spoofing.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 62 +++
drivers/net/i40e/rte_pmd_i40e.h
The callback asks the user application if it is allowed to
perform the mailbox messages.
If the return value from user is RTE_PMD_I40E_MB_EVENT_PROCEED
then continue. If ACK or NACK, do nothing and send
not_supported to VF.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_pf.c | 230
Support enabling/disabling VF unicast promiscuous mode from
PF.
User can call the API on PF to enable/disable a specific
VF's unicast promiscuous mode.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 38 +++
drivers/net/i40e/rte_pmd_i
Support enabling/disabling VF VLAN anti-spoofing from
PF.
User can call the API on PF to enable/disable a specific
VF's VLAN anti-spoofing.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 137 --
drivers/net/i40e/i40e_eth
Support enabling/disabling TX loopback from PF.
User can call the API on PF to enable/disable TX loopback
for all the PF and VFs.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 238 ++
drivers/net/i40e/rte_pmd_i40e.h | 16
From: Qi Zhang
This patch implement mtu_set ops for i40e VF.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev_vf.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index 12da0ec
From: Qi Zhang
Add missing step during VF reset: PF should
set I40E_VFGEN_RSTAT to ACTIVE at end of the
VF reset operation or VF driver may not able
to detect that reset is already completed.
This patch also remove the unnecessary enum
for vfr state.
Fixes: 4861cde46116 ("i40e: new poll mode dri
Support enabling/disabling VF multicast promiscuous mode from
PF.
User can call the API on PF to enable/disable a specific
VF's multicast promiscuous mode.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 38 +++
drivers/net
From: Ferruh Yigit
Support changing VF default MAC address.
This function is not supported if PF set the MAC
address for the PF.
Signed-off-by: Ferruh Yigit
---
drivers/net/i40e/i40e_ethdev.h| 4 +++-
drivers/net/i40e/i40e_ethdev_vf.c | 49 +--
2 files
From: Ferruh Yigit
Support setting VF MAC address from PF.
User can call the API on PF to set a specific
VF's MAC address.
PF should set MAC address before VF initialized,
if PF sets the MAC address after VF initialized,
new MAC address won't be effective until VF
reinitialized.
This will remov
From: Ferruh Yigit
If PF sets vf->mac_addr, in VF initialization hw->mac.addr will be set
to that same value. It is possible to check if PF set a MAC address or
not through the hw->mac.addr variable.
hw->mac.addr set by i40e_vf_parse_hw_config(), call stack is:
In PF side
i40e_pf_host_process_c
From: "Chen Jing D(Mark)"
Add a function to configure vlan strip enable/disable for specific
SRIOV VF device.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/i40e/i40e_ethdev.c| 33 +++
drivers/net/i40e/rte_pmd_i40e.h | 19 ++
From: Bernard Iremonger
Support inserting VF VLAN id from PF.
User can call the API on PF to insert a VLAN id to a
specific VF.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 62 +++
drivers/net/i40e/rte_pmd_i40e.h | 19 ++
From: Bernard Iremonger
Add rte_pmd_i40e_set_vf_vlan_tag API.
User can call the API on PF to enable/disable a specific
VF's VLAN tag.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 65 +++
drivers/net/i40e/rte_pmd_i40e.h |
From: Bernard Iremonger
Support enabling/disabling VF broadcast mode from PF.
User can call the API on PF to enable/disable a specific
VF's broadcast mode.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 53 +++
drivers/net/i40e/rte_
From: Bernard Iremonger
add rte_pmd_i40e_set_vf_vlan_filter API.
User can call the API on PF to enable/disable
a set of VF's VLAN filters.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 60 +++
drivers/net/i40e/rte_pmd_i40e.h
The new VF Daemon (VFD) APIs is implemented on i40e. Change
testpmd code to use them, including VF MAC anti-spoofing,
VF VLAN anti-spoofing, TX loopback, VF VLAN strip, VF VLAN
insert.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Chen Jing D(Mark)
Signed-off-by: Bernard Iremonger
---
app/test-pmd
From: Bernard Iremonger
command is: set vf vlan tag port_id vf_id on|off
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 103
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 ++
2 files changed, 110 insertions(+)
diff --git a/a
Add testpmd CLI to set VF multicast promiscuous mode on i40e.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 97 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 9 +++
2 files changed, 106 insertions(+)
diff --git a/app/test-pmd
From: Bernard Iremonger
Add command to call rte_pmd_i40e_set_vf_broadcast.
Add set vf broadcast in testpmd_funcs.rst file.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 97 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 +++
Add testpmd CLI to set VF unicast promiscuous mode on i40e.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 97 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 9 +++
2 files changed, 106 insertions(+)
diff --git a/app/test-pmd/cmdline.c
From: "Chen Jing D(Mark)"
When VF sends request to add a new MAC address, PF host
will check if it's a non-zero or unicast address, or it
will return with error. In fact, VF still can set multicast
address. This change remove to check if it's a unicast
address.
Signed-off-by: Chen Jing D(Mark)
From: Qi Zhang
This patch add support to get/clear VF statistics
from PF side.
Two APIs are added:
rte_pmd_i40e_get_vf_stats.
rte_pmd_i40e_reset_vf_stats.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev.c| 73 +++
drivers/net/i40e/rte_pmd_i40e.h
Update the NIC doc and release note.
Signed-off-by: Wenzhuo Lu
---
doc/guides/nics/i40e.rst | 1 +
doc/guides/rel_notes/release_17_02.rst | 29 +
2 files changed, 30 insertions(+)
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
index
From: Bernard Iremonger
modify set_vf_rx_vlan function to handle the i40e PMD.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 41 ++---
app/test-pmd/config.c | 13 -
app/test-pmd/testpmd.h | 2 --
3 files changed, 34 insertions(+
The callback asks the user application if it is allowed to
perform the mailbox messages.
If the return value from user is RTE_PMD_I40E_MB_EVENT_PROCEED
then continue. If ACK or NACK, do nothing and send
not_supported to VF.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_pf.c | 230
ble VF MTU change
net/i40e: fix VF reset flow
net/i40e: set/clear VF stats from PF
Wenzhuo Lu (11):
net/i40e: support link status notification
net/i40e: add callback to user on VF to PF mbox msg
net/i40e: set VF MAC anti-spoofing from PF
net/i40e: set VF VLAN anti-spoofing from PF
net/i4
Add an API to expose the ability, that PF can notify VF
when link status changes, to APP.
So if PF APP doesn't want to enable interruption but check
link status by itself, PF APP can let VF know link status
changed.
Signed-off-by: Wenzhuo Lu
---
MAINTAINERS
Support enabling/disabling VF VLAN anti-spoofing from
PF.
User can call the API on PF to enable/disable a specific
VF's VLAN anti-spoofing.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 140 --
drivers/net/i40e/i40e_eth
Support enabling/disabling VF MAC anti-spoofing from
PF.
User can call the API on PF to enable/disable a specific
VF's MAC anti-spoofing.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 65 +++
drivers/net/i40e/rte_pmd_i40e.h
Support enabling/disabling VF unicast promiscuous mode from
PF.
User can call the API on PF to enable/disable a specific
VF's unicast promiscuous mode.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 41 +++
drivers/net/i40e/rte_pmd_i
Support enabling/disabling TX loopback from PF.
User can call the API on PF to enable/disable TX loopback
for all the PF and VFs.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 241 ++
drivers/net/i40e/rte_pmd_i40e.h | 16
Support enabling/disabling VF multicast promiscuous mode from
PF.
User can call the API on PF to enable/disable a specific
VF's multicast promiscuous mode.
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 41 +++
drivers/net
From: Qi Zhang
Add missing step during VF reset: PF should
set I40E_VFGEN_RSTAT to ACTIVE at end of the
VF reset operation or VF driver may not able
to detect that reset is already completed.
This patch also remove the unnecessary enum
for vfr state.
Fixes: 4861cde46116 ("i40e: new poll mode dri
From: Ferruh Yigit
Support changing VF default MAC address.
This function is not supported if PF set the MAC
address for the PF.
Signed-off-by: Ferruh Yigit
---
drivers/net/i40e/i40e_ethdev.h| 4 +++-
drivers/net/i40e/i40e_ethdev_vf.c | 49 +--
2 files
From: Qi Zhang
This patch implement mtu_set ops for i40e VF.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev_vf.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index f50ac2d
From: Ferruh Yigit
If PF sets vf->mac_addr, in VF initialization hw->mac.addr will be set
to that same value. It is possible to check if PF set a MAC address or
not through the hw->mac.addr variable.
hw->mac.addr set by i40e_vf_parse_hw_config(), call stack is:
In PF side
i40e_pf_host_process_c
From: Ferruh Yigit
Support setting VF MAC address from PF.
User can call the API on PF to set a specific
VF's MAC address.
PF should set MAC address before VF initialized,
if PF sets the MAC address after VF initialized,
new MAC address won't be effective until VF
reinitialized.
This will remov
From: "Chen Jing D(Mark)"
Add a function to configure vlan strip enable/disable for specific
SRIOV VF device.
Signed-off-by: Chen Jing D(Mark)
---
drivers/net/i40e/i40e_ethdev.c| 37 +++
drivers/net/i40e/rte_pmd_i40e.h | 19
dr
From: Bernard Iremonger
Support inserting VF VLAN id from PF.
User can call the API on PF to insert a VLAN id to a
specific VF.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 65 +++
drivers/net/i40e/rte_pmd_i40e.h | 19 ++
From: Bernard Iremonger
Add rte_pmd_i40e_set_vf_vlan_tag API.
User can call the API on PF to enable/disable a specific
VF's VLAN tag.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 68 +++
drivers/net/i40e/rte_pmd_i40e.h |
From: Bernard Iremonger
Support enabling/disabling VF broadcast mode from PF.
User can call the API on PF to enable/disable a specific
VF's broadcast mode.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 56 +++
drivers/net/i40e/rte_
The new VF Daemon (VFD) APIs is implemented on i40e. Change
testpmd code to use them, including VF MAC anti-spoofing,
VF VLAN anti-spoofing, TX loopback, VF VLAN strip, VF VLAN
insert.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Chen Jing D(Mark)
Signed-off-by: Bernard Iremonger
---
app/test-pmd
From: Bernard Iremonger
add rte_pmd_i40e_set_vf_vlan_filter API.
User can call the API on PF to enable/disable
a set of VF's VLAN filters.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 63 +++
drivers/net/i40e/rte_pmd_i40e.h
Add testpmd CLI to set VF unicast promiscuous mode on i40e.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 93 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 9 +++
2 files changed, 102 insertions(+)
diff --git a/app/test-pmd/cmdline.c
Add testpmd CLI to set VF multicast promiscuous mode on i40e.
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 93 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 9 +++
2 files changed, 102 insertions(+)
diff --git a/app/test-pmd
From: Bernard Iremonger
command is: set vf vlan tag port_id vf_id on|off
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 99 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 ++
2 files changed, 106 insertions(+)
diff --git a/ap
From: Bernard Iremonger
Add command to call rte_pmd_i40e_set_vf_broadcast.
Add set vf broadcast in testpmd_funcs.rst file.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 93 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 +++
From: "Chen Jing D(Mark)"
When VF sends request to add a new MAC address, PF host
will check if it's a non-zero or unicast address, or it
will return with error. In fact, VF still can set multicast
address. This change remove to check if it's a unicast
address.
Signed-off-by: Chen Jing D(Mark)
From: Qi Zhang
This patch add support to get/clear VF statistics
from PF side.
Two APIs are added:
rte_pmd_i40e_get_vf_stats.
rte_pmd_i40e_reset_vf_stats.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev.c| 79 +++
drivers/net/i40e/rte_pmd_i40e.h
101 - 200 of 1345 matches
Mail list logo