: 399421100e08 ("net/i40e: fix missing mbuf fast free offload")
Signed-off-by: Shaopeng He
---
drivers/net/i40e/i40e_rxtx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c
index 6032d5541..2bbb82fc3 100644
--- a/driver
Previous l3fwd-power only processes IP and IPv6 packet, other
packet's mbuf is not released, and causes a memory leak.
This patch fixes this issue.
Fixes: 3c0184cc ("examples: replace some offload flags with packet type")
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
Acked-
be changed according to RX queue number,
and probably will cause this transaction failed.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
Acked-by: Michael Qiu
---
drivers/net/fm10k/fm10k_ethdev.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/fm10k
Interrupt mode framework has enable/disable functions for individual
rx queue, this patch implements these two functions.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
Acked-by: Michael Qiu
---
v2 change:
- split one big patch into three smaller ones
---
drivers/net/fm10k/fm10k_ethdev.c
Previous dev_stop function stops the rx/tx queues. This patch adds logic
to disable rx queue interrupt, clean the datapath event and queue/vec map.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
Acked-by: Michael Qiu
---
v5 change:
- remove one unnecessary NULL check for rte_free
v2 change
e.g. vfio-pci can work
in fm10k interrupt mode.
This patch uses the RXINT/INT_MAP registers to map interrupt causes
(rx queue and other events) to vectors, and enable these interrupts
through kernel drivers like vfio-pci.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
Acked-by: Michael Qiu
rx_descriptor_done is used by interrupt mode example application
(l3fwd-power) to check rxd DD bit to decide the RX trend,
then l3fwd-power will adjust the cpu frequency according to
the result.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
Acked-by: Michael Qiu
---
v5 change:
- fix a wrong
:
- reword some comments and commit messages
- split one big patch into three smaller ones
Shaopeng He (6):
fm10k: implement rx_descriptor_done function
fm10k: setup rx queue interrupts for PF and VF
fm10k: remove rx queue interrupts when dev stops
fm10k: add rx queue interrupt en/dis
. This default value works for non-VMDq mode
and current VMDq example. For advanced VMDq usage, e.g.
different source MAC address for different TX queue, FTAG
forwarding function could be used to change this default
SGLORT value.
Fixes: 9ae6068c ("fm10k: add dev start/stop")
Signed-off-by: S
. This default value works for non-VMDq mode
and current VMDq example. For advanced VMDq usage, e.g.
different source MAC address for different TX queue, FTAG
forwarding function could be used to change this default
SGLORT value.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 3
ether port traffic.
This patch assigns a SGLORT for each RX queue, and enables PCIe port
level Loopback Suppression.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c
.
This patch assigns a SGLORT for each RX queue, and enables PCIe
port level Loopback Suppression.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k
current VMDq example. For advanced VMDq usage, e.g.
different source MAC address for different TX queue, FTAG
forwarding function could be used to change this default
SGLORT value.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git
Previous l3fwd-power only processes IP and IPv6 packet, other
packet's mbuf is not released, and causes a memory leak.
This patch fixes this issue.
v4 change:
- update release note inside the patch
Signed-off-by: Shaopeng He
---
doc/guides/rel_notes/release_2_3.rst | 6 ++
examples/
be changed according to RX queue number,
and probably will cause this transaction failed.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index
Interrupt mode framework has enable/disable functions for individual
rx queue, this patch implements these two functions.
v2 changes:
- split one big patch into three smaller ones
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 33 +
1 file
Previous dev_stop function stops the rx/tx queues. This patch adds logic
to disable rx queue interrupt, clean the datapath event and queue/vec map.
v5 changes:
- remove one unnecessary NULL check for rte_free
v2 changes:
- split one big patch into three smaller ones
Signed-off-by: Shaopeng
Signed-off-by: Shaopeng He
---
doc/guides/nics/fm10k.rst| 7 +++
doc/guides/rel_notes/release_2_3.rst | 2 +
drivers/net/fm10k/fm10k.h| 3 +
drivers/net/fm10k/fm10k_ethdev.c | 105 +++
4 files changed, 106 insertions(+), 11
rx_descriptor_done is used by interrupt mode example application
(l3fwd-power) to check rxd DD bit to decide the RX trend,
then l3fwd-power will adjust the cpu frequency according to
the result.
v5 change:
- fix a wrong error message
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k.h
changes:
- rebase to latest code
- update release 2.3 note in corresponding patches
v3 changes:
- rebase to latest code
- macro renaming according to the EAL change
v2 changes:
- reword some comments and commit messages
- split one big patch into three smaller ones
Shaopeng He (6
Previous l3fwd-power only processes IP and IPv6 packet, other
packet's mbuf is not released, and causes a memory leak.
This patch fixes this issue.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
---
doc/guides/rel_notes/release_2_3.rst | 6 ++
examples/l3fwd-power/main.c
be changed according to RX queue number,
and probably will cause this transaction failed.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
---
drivers/net/fm10k/fm10k_ethdev.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k
Interrupt mode framework has enable/disable functions for individual
rx queue, this patch implements these two functions.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
---
drivers/net/fm10k/fm10k_ethdev.c | 33 +
1 file changed, 33 insertions(+)
diff --git a
Previous dev_stop function stops the rx/tx queues. This patch adds logic
to disable rx queue interrupt, clean the datapath event and queue/vec map.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
---
drivers/net/fm10k/fm10k_ethdev.c | 22 ++
1 file changed, 22 insertions
e.g. vfio-pci can work
in fm10k interrupt mode.
This patch uses the RXINT/INT_MAP registers to map interrupt causes
(rx queue and other events) to vectors, and enable these interrupts
through kernel drivers like vfio-pci.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
---
doc/guides/rel_notes
rx_descriptor_done is used by interrupt mode example application
(l3fwd-power) to check rxd DD bit to decide the RX trend,
then l3fwd-power will adjust the cpu frequency according to
the result.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
---
drivers/net/fm10k/fm10k.h| 3
,
which happens mostly when testing fm10k interrupt mode.
Changes in v4:
- Rebase to latest code
- Update release 2.3 note in each patch
Changes in v3:
- Rebase to latest code
Changes in v2:
- Reword some comments and commit messages
- Split one big patch into three smaller ones
Shaopeng He (6
fm10k, always PKT_RX_VLAN_PKT flag is set and vlan_tci
is valid for each RX packet's mbuf.
Signed-off-by: Shaopeng He
---
ChangeLog:
v3:
* move flag PKT_RX_VLAN_PKT logic together with vlan_tci
* reword comments
v2:
* change flag PKT_RX_VLAN_PKT to always set
* preserve the priority bi
will be used.
So in fm10k, always PKT_RX_VLAN_PKT flag is set and vlan_tci
is valid for each RX packet's mbuf.
Signed-off-by: Shaopeng He
---
ChangeLog:
v2:
* change flag PKT_RX_VLAN_PKT to always set
* preserve the priority bits in vlan_tci
drivers/net/fm10k/fm10k_rxtx.c | 14
VLAN value should be copied from RX descriptor to mbuf,
this patch fixes this issue.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_rxtx.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/fm10k/fm10k_rxtx.c b/drivers/net/fm10k/fm10k_rxtx.c
index 1bac28d..eeb635e 100644
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
---
doc/guides/rel_notes/release_2_2.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index 59dda59..c6d255e 100644
--- a/doc/guides/rel_notes/release_2_2
Previous l3fwd-power only processes IP and IPv6 packet, other
packet's mbuf is not released, and causes a memory leak.
This patch fixes this issue.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
---
examples/l3fwd-power/main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
be changed according to RX queue number,
and probably will cause this transaction failed.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
---
drivers/net/fm10k/fm10k_ethdev.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k
Interrupt mode framework has enable/disable functions for individual
rx queue, this patch implements these two functions.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
---
drivers/net/fm10k/fm10k_ethdev.c | 33 +
1 file changed, 33 insertions(+)
diff --git a
Previous dev_stop function stops the rx/tx queues. This patch adds logic
to disable rx queue interrupt, clean the datapath event and queue/vec map.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
---
drivers/net/fm10k/fm10k_ethdev.c | 22 ++
1 file changed, 22 insertions
e.g. vfio-pci can work
in fm10k interrupt mode.
This patch uses the RXINT/INT_MAP registers to map interrupt causes
(rx queue and other events) to vectors, and enable these interrupts
through kernel drivers like vfio-pci.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
---
drivers/net/fm10k
rx_descriptor_done is used by interrupt mode example application
(l3fwd-power) to check rxd DD bit to decide the RX trend,
then l3fwd-power will adjust the cpu frequency according to
the result.
Signed-off-by: Shaopeng He
Acked-by: Jing Chen
---
drivers/net/fm10k/fm10k.h| 3
Changes in v3:
- Rebase to latest code
Changes in v2:
- Reword some comments and commit messages
- Split one big patch into three smaller ones
Shaopeng He (7):
fm10k: implement rx_descriptor_done function
fm10k: setup rx queue interrupts for PF and VF
fm10k: remove rx queue interrupts when dev
Signed-off-by: Shaopeng He
Acked-by: Jingjing Wu
Acked-by: Michael Qiu
---
doc/guides/rel_notes/release_2_2.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index 116162e..c00344b 100644
--- a/doc/guides
Add separate functions to configure VMDQ and RSS.
Update dglort map and logic ports accordingly.
Reset MAC/VLAN filter after VMDQ config was changed.
Signed-off-by: Shaopeng He
Acked-by: Jingjing Wu
Acked-by: Michael Qiu
---
drivers/net/fm10k/fm10k_ethdev.c | 164
: Shaopeng He
Acked-by: Jingjing Wu
Acked-by: Michael Qiu
---
drivers/net/fm10k/fm10k.h| 3 +
drivers/net/fm10k/fm10k_ethdev.c | 150 +--
2 files changed, 99 insertions(+), 54 deletions(-)
diff --git a/drivers/net/fm10k/fm10k.h b/drivers/net/fm10k
Add multi-queue checking in device configure function.
Currently, VMDQ and RSS are supported.
Signed-off-by: Shaopeng He
Acked-by: Jingjing Wu
Acked-by: Michael Qiu
---
drivers/net/fm10k/fm10k_ethdev.c | 44
1 file changed, 44 insertions(+)
diff --git
:
- Keep device default MAC address even in VMDQ mode after
queue pool config was changed, because some applications
(e.g. vmdq_app) always need a valid MAC address there
Changes in v2:
- Reword some comments and commit messages
- Update release note
Shaopeng He (4):
fm10k: add multi-queue
Signed-off-by: Shaopeng He
---
doc/guides/rel_notes/release_2_2.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index 5687676..278149f 100644
--- a/doc/guides/rel_notes/release_2_2.rst
+++ b/doc/guides
Add separate functions to configure VMDQ and RSS.
Update dglort map and logic ports accordingly.
Reset MAC/VLAN filter after VMDQ config was changed.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 164 +--
1 file changed, 141 insertions
: Shaopeng He
---
drivers/net/fm10k/fm10k.h| 3 +
drivers/net/fm10k/fm10k_ethdev.c | 150 +--
2 files changed, 99 insertions(+), 54 deletions(-)
diff --git a/drivers/net/fm10k/fm10k.h b/drivers/net/fm10k/fm10k.h
index c089882..439e95f 100644
--- a
Add multi-queue checking in device configure function.
Currently, VMDQ and RSS are supported.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 44
1 file changed, 44 insertions(+)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers
config was changed, because some applications
(e.g. vmdq_app) always need a valid MAC address there.
Changes in v2:
- Reword some comments and commit messages
- Updated release note
Shaopeng He (4):
fm10k: add multi-queue checking
fm10k: add VMDQ support in MAC/VLAN filter
fm10k: add VMDQ
Signed-off-by: Shaopeng He
---
doc/guides/rel_notes/release_2_2.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index 73dba47..44b3aea 100644
--- a/doc/guides/rel_notes/release_2_2.rst
+++ b/doc/guides
Previous l3fwd-power only processes IP and IPv6 packet, other
packet's mbuf is not released, and causes a memory leak.
This patch fixes this issue.
Signed-off-by: Shaopeng He
---
examples/l3fwd-power/main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/examples/
be changed according to RX queue number,
and probably will cause this transaction failed.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index
Interrupt mode framework has enable/disable functions for individual
rx queue, this patch implements these two functions.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/drivers/net/fm10k
Previous dev_stop function stops the rx/tx queues. This patch adds logic
to disable rx queue interrupt, clean the datapath event and queue/vec map.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers
e.g. vfio-pci can work
in fm10k interrupt mode.
This patch uses the RXINT/INT_MAP registers to map interrupt causes
(rx queue and other events) to vectors, and enable these interrupts
through kernel drivers like vfio-pci.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 93
rx_descriptor_done is used by interrupt mode example application
(l3fwd-power) to check rxd DD bit to decide the RX trend,
then l3fwd-power will adjust the cpu frequency according to
the result.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k.h| 3 +++
drivers/net/fm10k
patch set is developed based on one previous patch set
"[PATCH v1 00/11] interrupt mode for i40e"
http://www.dpdk.org/ml/archives/dev/2015-September/023903.html
Shaopeng He (7):
fm10k: implement rx_descriptor_done function
fm10k: setup rx queue interrupts for PF and VF
fm10k: remov
Signed-off-by: Shaopeng He
---
doc/guides/rel_notes/release_2_2.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index 5687676..278149f 100644
--- a/doc/guides/rel_notes/release_2_2.rst
+++ b/doc/guides
Add separate functions to configure VMDQ and RSS.
Update dglort map and logic ports accordingly.
Reset MAC/VLAN filter after VMDQ config was changed.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 164 +--
1 file changed, 141 insertions
: Shaopeng He
---
drivers/net/fm10k/fm10k.h| 3 +
drivers/net/fm10k/fm10k_ethdev.c | 150 +--
2 files changed, 99 insertions(+), 54 deletions(-)
diff --git a/drivers/net/fm10k/fm10k.h b/drivers/net/fm10k/fm10k.h
index c089882..439e95f 100644
--- a
Add multi-queue checking in device configure function.
Currently, VMDQ and RSS are supported.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 44
1 file changed, 44 insertions(+)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers
Shaopeng He (4):
fm10k: add multi-queue checking
fm10k: add VMDQ support in MAC/VLAN filter
fm10k: add VMDQ support in multi-queue configure
doc: update release note for fm10k VMDQ support
doc/guides/rel_notes/release_2_2.rst | 5 +
drivers/net/fm10k/fm10k.h| 3 +
drivers/net
Add separate functions to configure VMDQ and RSS.
Update dglort map and logic ports accordingly.
Reset MAC/VLAN filter after VMDQ configure was changed.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 164 +--
1 file changed, 141 insertions
The patch does below things for fm10k MAC/VLAN filter:
- Add separate functions to add MAC address for VMDQ and
main VSI.
- Disable modification to VLAN filter in VMDQ mode.
- In device close phase, delete logic ports to remove all
the MAC/VLAN filters.
Signed-off-by: Shaopeng He
Add multi-queue checking in device configure process.
Currently, VMDQ and RSS are supported.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 44
1 file changed, 44 insertions(+)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers
in dev_init in fm10k
3. fix a memory leak for non-ip packet in l3fwd-power
4. add rx interrupt support in fm10k PF and VF
Shaopeng He (3):
fm10k: add multi-queue checking
fm10k: add VMDQ support in MAC/VLAN filter
fm10k: add VMDQ support in multi-queue configure
drivers/net/fm10k/fm10k.h
Signed-off-by: Shaopeng He
---
doc/guides/rel_notes/release_2_2.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/guides/rel_notes/release_2_2.rst
b/doc/guides/rel_notes/release_2_2.rst
index 73dba47..44b3aea 100644
--- a/doc/guides/rel_notes/release_2_2.rst
+++ b/doc/guides
Previous l3fwd-power only processes IP and IPv6 packet, other
packet's mbuf is not released, and causes a memory leak.
This patch fixes this issue.
Signed-off-by: Shaopeng He
---
examples/l3fwd-power/main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/examples/
be changed according to RX queue number,
and probably will cause this transaction failed.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index
The patch does below things for fm10k PF and VF:
- Setup NIC to generate MSI-X interrupts
- Set the RXINT register to map interrupt causes to vectors
- Implement interrupt enable/disable functions
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 147
rx_descriptor_done is used by interrupt mode example application
(l3fwd-power) to check rxd DD bit to decide the RX trend,
then l3fwd-power will adjust the cpu frequency according to
the result.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k.h| 3 +++
drivers/net/fm10k
previous patch set
"[PATCH v1 00/11] interrupt mode for i40e"
http://www.dpdk.org/ml/archives/dev/2015-September/023903.html
Shaopeng He (5):
fm10k: implement rx_descriptor_done function
fm10k: enable Rx queue interrupts for PF and VF
fm10k: make sure default VID available in dev_in
phase.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index 406c350..df32665 100644
--- a/drivers/net/fm10k/fm10k_ethdev.c
+++ b
Fm10k PF/VF does not support QinQ; VLAN strip and filter are always on
for PF/VF ports.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 26 +-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net
MAC filter function was newly added, each PF and VF can have up to 64 MAC
addresses. VF filter needs support from PF host, which is not available now.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k.h| 3 +-
drivers/net/fm10k/fm10k_ethdev.c | 91
VLAN filter was updated to add/delete one static entry in MAC table for each
combination of VLAN and MAC address. More sanity checks were added.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k.h| 23 ++
drivers/net/fm10k/fm10k_ethdev.c | 65
in MAC table for each combination of VLAN and MAC address.
For VLAN offload features, Fm10k PF/VF does not support QinQ;
and VLAN strip and filter are always on.
Shaopeng He (3):
fm10k: update VLAN filter
fm10k: add MAC filter
fm10k: update VLAN offload features
drivers/net/fm10k/fm10k.h
under layer shared code and PF host functions.
- un-register any combination of VLAN and MAC address from fm10k
switch side MAC table when the system(e.g. testpmd) is closed.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 42 ++--
1 file
Fm10k PF/VF does not support QinQ; VLAN strip and filter are always on
for PF/VF ports.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 26 +-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net
MAC filter function was newly added, each PF and VF can have up to 64 MAC
addresses. VF filter needs support from PF host, which is not available now.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k.h| 3 +-
drivers/net/fm10k/fm10k_ethdev.c | 91
VLAN filter was updated to add/delete one static entry in MAC table for each
combination of VLAN and MAC address. More sanity checks were added.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k.h| 23 ++
drivers/net/fm10k/fm10k_ethdev.c | 65
;
and VLAN strip and filter are always on.
Shaopeng He (3):
fm10k: update VLAN filter
fm10k: add MAC filter
fm10k: update VLAN offload features
drivers/net/fm10k/fm10k.h| 24 ++
drivers/net/fm10k/fm10k_ethdev.c | 182 ---
2 files changed, 194
MAC address with fixed VLAN 0 was removed. VF MAC/VLAN filter was enabled
for the default value. Removed all VLAN and MAC address table entries when
the system(e.g. testpmd) was closed.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 38
Fm10k PF/VF does not support QinQ; VLAN strip and filter are always on
for PF/VF ports.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k_ethdev.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
MAC filter function was newly added, each PF and VF can have up to 64 MAC
addresses. VF filter needs support from PF host, which is not available now.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k.h| 3 +-
drivers/net/fm10k/fm10k_ethdev.c | 90
VLAN filter was updated to add/delete one static entry in MAC table for each
combination of VLAN and MAC address. More sanity checks were added.
Signed-off-by: Shaopeng He
---
drivers/net/fm10k/fm10k.h| 23 +
drivers/net/fm10k/fm10k_ethdev.c | 55
MAC filter was newly added, VLAN filter was updated to add/delete
one static entry in MAC table for each combination of VLAN and MAC address.
Fm10k PF/VF does not support QinQ; VLAN strip and filter are always on.
Shaopeng He (3):
fm10k: update VLAN filter
fm10k: add MAC filter
fm10k
support running
fm10k PMD in XEN domain0.
Signed-off-by: Shaopeng He
---
lib/librte_pmd_fm10k/fm10k_ethdev.c | 8
1 file changed, 8 insertions(+)
diff --git a/lib/librte_pmd_fm10k/fm10k_ethdev.c
b/lib/librte_pmd_fm10k/fm10k_ethdev.c
index 275c19c..c85c856 100644
--- a/lib/librte_pmd_fm10k
87 matches
Mail list logo