If the socket ID of a device is unknown, rte_eth_dev_socket_id(portid)
now returns -1 instead of 0 since commit 7dcd73e37965 ("drivers/bus: set
device NUMA node to unknown by default").
This change breaks the pmd_perf test on environment where the device
socket ID is unknown. The test fails with t
The new version of flower firmware application add the support of
a new tunnel solution.
It changes the structure of tunnel neighbor, and use a feature flag
to indicate which tunnel solution is used.
Add the logic of read extra features from firmware, and store it in
the app private structure.
A
Add the offload support of decap action of IPv6 NVGRE tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/nfp_flow.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/nfp/nfp_flow.c b/drivers/net/nfp/nfp_flow.c
index c577278..4c6cfe4 100644
--- a
Add the offload support of decap action of IPv4 NVGRE tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
doc/guides/nics/features/nfp.ini | 1 +
drivers/net/nfp/nfp_flow.c | 8 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/doc/guides/nics/featur
Add the corresponding logics to support the offload of
IPv6 NVGRE item.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/nfp_flow.c | 73 +-
1 file changed, 59 insertions(+), 14 deletions(-)
diff --git a/drivers/net/nfp/nf
Add the corresponding logics to support the offload of
IPv4 NVGRE item.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
doc/guides/nics/features/nfp.ini | 2 +
drivers/net/nfp/nfp_flow.c | 99 +++-
2 files changed, 99 insertions(+), 2 dele
Add the related data structure and logics, prepare for
the decap action of IPv4 GRE tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/flower/nfp_flower_cmsg.h | 29 +++
drivers/net/nfp/nfp_flow.c | 40 +
Add the related data structure and logics, prepare for
the decap action of IPv6 GRE tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/flower/nfp_flower_cmsg.h | 41 ++
drivers/net/nfp/nfp_flow.c | 49 ++
Add the offload support of encap action of IPv4 NVGRE tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
doc/guides/nics/features/nfp.ini | 1 +
drivers/net/nfp/nfp_flow.c | 43
2 files changed, 44 insertions(+)
diff --git a/doc
Add the offload support of encap action of IPv6 NVGRE tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/nfp_flow.c | 45 +
1 file changed, 45 insertions(+)
diff --git a/drivers/net/nfp/nfp_flow.c b/drivers/net/nfp/n
Add the offload support of decap action for IPv6 GENEVE tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/nfp_flow.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/nfp/nfp_flow.c b/drivers/net/nfp/nfp_flow.c
index 223f2e7..c7daa14 100644
---
Add the offload support of decap action for IPv4 GENEVE tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
doc/guides/nics/features/nfp.ini | 1 +
drivers/net/nfp/nfp_flow.c | 16 ++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/doc/guide
Add the corresponding logics to support the offload of
IPv6 GENEVE item.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/nfp_flow.c | 43 +--
1 file changed, 37 insertions(+), 6 deletions(-)
diff --git a/drivers/net/nfp/nfp_f
Add the corresponding logics to support the offload of
IPv4 GENEVE item.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
doc/guides/nics/features/nfp.ini | 1 +
drivers/net/nfp/nfp_flow.c | 75 ++--
2 files changed, 74 insertions(+), 2 del
Add the offload support of encap action for IPv4 GENEVE tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
doc/guides/nics/features/nfp.ini | 1 +
drivers/net/nfp/nfp_flow.c | 107 +++
2 files changed, 108 insertions(+)
diff --git a
Add the offload support of encap action for IPv6 GENEVE tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/nfp_flow.c | 49 ++
1 file changed, 49 insertions(+)
diff --git a/drivers/net/nfp/nfp_flow.c b/drivers/net/nf
Add the offload support of decap action for IPv6 VXLAN tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/nfp_flow.c | 18 ++
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/drivers/net/nfp/nfp_flow.c b/drivers/net/nfp/nfp_flow.c
Add the offload support of decap action for IPv4 VXLAN tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
doc/guides/nics/features/nfp.ini | 1 +
drivers/net/nfp/nfp_flow.c | 75 +---
2 files changed, 71 insertions(+), 5 deletions(-)
Add the related data structure and functions, prepare for
the decap action of IPv6 UDP tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/flower/nfp_flower_cmsg.c | 42 +
drivers/net/nfp/flower/nfp_flower_cmsg.h | 24 +
drivers/net/nfp/nfp_flow.c
Add the related data structure and functions, prepare for
the decap action of IPv4 UDP tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/flower/nfp_flower_cmsg.c | 118
drivers/net/nfp/flower/nfp_flower_cmsg.h | 94 +++
drivers/net/nfp/nfp_flow.c
Add the offload support of encap action for IPv6 VXLAN tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/nfp_flow.c | 48 +-
1 file changed, 43 insertions(+), 5 deletions(-)
diff --git a/drivers/net/nfp/nfp_flow.c b
Add the offload support of encap action for IPv4 VXLAN tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
doc/guides/nics/features/nfp.ini | 1 +
drivers/net/nfp/nfp_flow.c | 132 +--
2 files changed, 128 insertions(+), 5 deletions(-
Add the related data structure and functions, prepare for
the encap action of IPv6 tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/flower/nfp_flower_cmsg.c | 29 +
drivers/net/nfp/flower/nfp_flower_cmsg.h | 40
drivers/net/nfp/nfp_flow
Add the corresponding data structure and logics, to support
the offload of IPv4 VXLAN item.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
doc/guides/nics/features/nfp.ini | 1 +
drivers/net/nfp/flower/nfp_flower_cmsg.h | 35 +
drivers/net/nfp/nfp_flow.c
Add the related data structure and functions, prepare for
the encap action of IPv4 tunnel.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/flower/nfp_flower_cmsg.c | 29 ++
drivers/net/nfp/flower/nfp_flower_cmsg.h | 93
drive
Add the corresponding data structure and logics, to support
the offload of IPv6 VXLAN item.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/flower/nfp_flower_cmsg.h | 42
drivers/net/nfp/nfp_flow.c | 113 ---
2
This is the third patch series to add the support of rte_flow offload for
nfp PMD, includes:
Add the offload support of decap/encap of VXLAN
Add the offload support of decap/encap of GENEVE
Add the offload support of decap/encap of NVGRE
Changes since v1
- Delete the modificaiton of release note.
The original functions of promiscuous mode can't process the
representor port rightly, revise the logic to do that.
Fixes: e1124c4f8a45 ("net/nfp: add flower representor framework")
Signed-off-by: Chaoyong He
---
drivers/net/nfp/flower/nfp_flower.h | 2 ++
drivers/net/nfp/flower/nf
28 matches
Mail list logo