Commit 082537b2 authored by Jussi Maki's avatar Jussi Maki Committed by Zhengchao Shao
Browse files

net, bonding: Refactor bond_xmit_hash for use with xdp_buff

mainline inclusion
from mainline-v5.15-rc1
commit a815bde5
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7NDRB
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a815bde56b15ce626caaacc952ab12501671e45d



----------------------------------------

In preparation for adding XDP support to the bonding driver
refactor the packet hashing functions to be able to work with
any linear data buffer without an skb.

Signed-off-by: default avatarJussi Maki <joamaki@gmail.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Cc: Jay Vosburgh <j.vosburgh@gmail.com>
Cc: Veaceslav Falico <vfalico@gmail.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Link: https://lore.kernel.org/bpf/20210731055738.16820-2-joamaki@gmail.com



Conflicts:
	drivers/net/bonding/bond_main.c

Signed-off-by: default avatarZhengchao Shao <shaozhengchao@huawei.com>
parent f8c447a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment