This patch adds a call to geneve_get_rx_port in i40e so that when it
comes up it can learn about the existing geneve tunnels.
Signed-off-by: Anjali Singhai Jain
---
drivers/net/ethernet/intel/i40e/i40e_main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ethernet/intel/i40e
This patch adds driver hooks to implement ndo_ops to add/del
udp port in the HW to identify GENEVE tunnels.
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Kiran Patil
---
drivers/net/ethernet/intel/i40e/i40e.h | 16 +--
drivers/net/ethernet/intel/i40e/i40e_main.c | 167
Add ndo_ops to add/del UDP ports to a device that supports geneve
offload.
v2: Comment fix.
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Kiran Patil
---
drivers/net/geneve.c | 23 +++
include/linux/netdevice.h | 20 +++-
2 files changed, 42
Update the Kconfig file with dependency for supporting GENEVE tunnel
offloads.
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Kiran Patil
---
drivers/net/ethernet/intel/Kconfig | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/net/ethernet/intel/Kconfig
b/drivers/net
: Add Performance data.
v4: Comment fix and split a patch into two.
v5: Add cover letter.
Anjali Singhai Jain (5):
geneve: Add geneve udp port offload for ethernet devices
i40e: geneve tunnel offload support
i40e: Kernel dependency update for i40e to support geneve offload
geneve: Add
This patch adds an op that the drivers can call into to get existing
geneve ports.
Signed-off-by: Anjali Singhai Jain
---
drivers/net/geneve.c | 24
include/net/geneve.h | 8
2 files changed, 32 insertions(+)
diff --git a/drivers/net/geneve.c b/drivers/net
This patch adds a call to geneve_get_rx_port in i40e so that when it
comes up it can learn about the existing geneve tunnels.
Signed-off-by: Anjali Singhai Jain
---
drivers/net/ethernet/intel/i40e/i40e_main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ethernet/intel/i40e
Update the Kconfig file with dependency for supporting GENEVE tunnel
offloads.
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Kiran Patil
---
drivers/net/ethernet/intel/Kconfig | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/net/ethernet/intel/Kconfig
b/drivers/net
This patch adds driver hooks to implement ndo_ops to add/del
udp port in the HW to identify GENEVE tunnels.
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Kiran Patil
---
drivers/net/ethernet/intel/i40e/i40e.h | 16 +--
drivers/net/ethernet/intel/i40e/i40e_main.c | 167
This patch adds an op that the drivers can call into to get existing
geneve ports.
Signed-off-by: Anjali Singhai Jain
---
drivers/net/geneve.c | 24
include/net/geneve.h | 8
2 files changed, 32 insertions(+)
diff --git a/drivers/net/geneve.c b/drivers/net
split a patch into two.
Anjali Singhai Jain (5):
geneve: Add geneve udp port offload for ethernet devices
i40e: geneve tunnel offload support
i40e: Kernel dependency update for i40e to support geneve offload
geneve: Add geneve_get_rx_port support
i40e: Call geneve_get_rx_port to get the
Add ndo_ops to add/del UDP ports to a device that supports geneve
offload.
v2: Comment fix.
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Kiran Patil
---
drivers/net/geneve.c | 23 +++
include/linux/netdevice.h | 20 +++-
2 files changed, 42
This patch adds driver hooks to implement ndo_ops to add/del
udp port in the HW to identify GENEVE tunnels.
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Kiran Patil
---
drivers/net/ethernet/intel/i40e/i40e.h | 16 +--
drivers/net/ethernet/intel/i40e/i40e_main.c | 167
Add ndo_ops to add/del UDP ports to a device that supports geneve
offload.
v3: Add some more comments about the use of the new ndo ops.
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Kiran Patil
---
drivers/net/geneve.c | 23 +++
include/linux/netdevice.h | 21
This patch adds an op that the drivers can call into to get existing
geneve ports.
Signed-off-by: Anjali Singhai Jain
---
drivers/net/ethernet/intel/i40e/i40e_main.c | 3 +++
drivers/net/geneve.c| 24
include/net/geneve.h
Update the Kconfig file with dependency for supporting GENEVE tunnel
offloads.
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Kiran Patil
---
drivers/net/ethernet/intel/Kconfig | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/net/ethernet/intel/Kconfig
b/drivers/net
single thread
%cpu: ~99% per core with 4 threads
These numbers will get better for X722 as it is being worked. But
this does bring out the delta in terms of when the stack is notified
with csum_level 1 and CHECKSUM_UNNECESSARY vs not without the RX offload.
Anjali Singhai Jain (4):
[RFC PATCH v2 1
not loaded.
Anjali Singhai Jain (4):
[RFC PATCH v2 1/4] geneve: Add geneve udp port offload for ethernet
[RFC PATCH v2 2/4] i40e: geneve tunnel offload support
[RFC PATCH v2 3/4] i40e: Kernel dependency update for i40e to support
[RFC PATCH v2 4/4] geneve: Add geneve_get_rx_port support
--
To
This patch adds an op that the drivers can call into to get existing
geneve ports.
Signed-off-by: Anjali Singhai Jain
---
drivers/net/ethernet/intel/i40e/i40e_main.c | 3 +++
drivers/net/geneve.c| 24
include/net/geneve.h
Update the Kconfig file with dependency for supporting GENEVE tunnel
offloads.
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Kiran Patil
---
drivers/net/ethernet/intel/Kconfig | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/net/ethernet/intel/Kconfig
b/drivers/net
Add ndo_ops to add/del UDP ports to a device that supports geneve
offload.
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Kiran Patil
---
drivers/net/geneve.c | 23 +++
include/linux/netdevice.h | 20 +++-
2 files changed, 42 insertions(+), 1
This patch adds driver hooks to implement ndo_ops to add/del
udp port in the HW to identify GENEVE tunnels.
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Kiran Patil
---
drivers/net/ethernet/intel/i40e/i40e.h | 16 +--
drivers/net/ethernet/intel/i40e/i40e_main.c | 167
This reverts commit 8fe269991aece394a7ed274f525d96c73f94109a.
The case where VXLAN is a module and i40e driver is inbuilt
will not be handled properly with this change since i40e
will have an undefined symbol vxlan_get_rx_port in it.
v2: Add a signed-off-by.
Signed-off-by: Anjali Singhai Jain
This reverts commit 8fe269991aece394a7ed274f525d96c73f94109a.
The case where VXLAN is a module and i40e driver is in built
will not be handled properly with this change since i40e
will have an undefined symbol vxlan_get_rx_port in it.
---
drivers/net/ethernet/intel/Kconfig | 11 ++
driver.
Signed-off-by: Kiran Patil
Signed-off-by: Anjali Singhai Jain
---
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 15 ++---
drivers/net/ethernet/broadcom/bnxt/bnxt.c| 14 +---
drivers/net/ethernet/emulex/benet/be_main.c | 14 +---
drivers/net/ethernet/intel
Patil
Signed-off-by: Anjali Singhai Jain
---
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 15 ++---
drivers/net/ethernet/broadcom/bnxt/bnxt.c| 13 +---
drivers/net/ethernet/emulex/benet/be_main.c | 14 +---
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c | 27
If the kernel flag CONFIG_VXLAN is true or CONFIG_VXLAN_MODULE is true,
enable VXLAN offload in the driver.
Signed-off-by: Kiran Patil
Signed-off-by: Anjali Singhai Jain
---
drivers/net/ethernet/intel/Kconfig | 11 ---
drivers/net/ethernet/intel/i40e/i40e_main.c | 14
change.
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Kiran Patil
---
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 5 ++--
drivers/net/ethernet/broadcom/bnxt/bnxt.c| 4 +++-
drivers/net/ethernet/emulex/benet/be_main.c | 4 +++-
drivers/net/ethernet/intel/fm10k
the right way.
Anjali Singhai Jain (6):
net: Generalize udp based tunnel offload
net: Add a generic udp_offload_get_port function
i40e: Generalize the flow for udp based tunnels
i40e: Remove CONFIG_I40E_VXLAN
net: Refactor udp_offload and add Geneve port offload
i40e:Add geneve tunnel offload
This patch generalizes the driver flow to make room for more than just
VXLAN tunnel by defining a common data structure with tunnel type.
Signed-off-by: Kiran Patil
Signed-off-by: Anjali Singhai Jain
---
drivers/net/ethernet/intel/i40e/i40e.h | 15
drivers/net/ethernet/intel/i40e
This patch adds driver hooks to implement ndo_ops to add/del udp
port in the HW to identify GENEVE tunnels.
Also cleans up the features_check path now that we support
multiple udp based tunnels.
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Kiran Patil
---
drivers/net/ethernet/intel/i40e
This patch moves the calls to ndo_add/del ops for vxlan tunnel
into udp_add/del_offload call. This way the ndo_add/del ops get called
for not only vxlan tunnels but for any udp based tunnel.
Signed-off-by: Kiran Patil
Signed-off-by: Anjali Singhai Jain
---
drivers/net/geneve.c | 18
32 matches
Mail list logo