No functional changes, just minor refactoring.
Signed-off-by: Yi Li
---
net/core/dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index 82dc6b48e45f..9e7f071b846c 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -3206,7 +3206,7 @@ int
Trivial fix to use func skb_is_gso in place of
test for skb_shinfo(skb)->gso_size.
Signed-off-by: Yi Li
---
net/core/dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index 9499a414d67e..55f66e108059 100644
--- a/net/core/dev.c
+++ b/
(!skb_is_gso(skb))
Signed-off-by: Yi Li
---
drivers/net/ethernet/atheros/atlx/atl1.c | 2 +-
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c| 2 +-
drivers/net/ethernet/cavium/liquidio/lio_main.c| 2 +-
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c | 2 +-
It is useless.
The original code just tell some error info. and don't show errorcode
On 8/29/20, Yi Li wrote:
> use rc for error code.
>
> Signed-off-by: Yi Li
> ---
> drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 dele
use rc for error code.
Signed-off-by: Yi Li
---
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
index 1426c691c7c4
ng the checksum in software.
Reported-by: Li Bing
Signed-off-by: Yi Li
---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
Hi guys,
I encountered this problem when using bonding with mode1. I
have two linux box,
they both have two nics, and i setup these two nics with bond1 mode on
each linux box.
And then I connected these two linux box with each other.
And then , I found , sometimes, Box A select
Hi List,
As the subject stated, I didn't find the clue. If we add dnat
into NF_BR_LOCAL_OUT, and change the destination mac of our locally
generated packets. In theory , we need to re-search the fdb hash with
new dmac as parameter, in order to get the right bridge port to send
packets out