octeontx2-pf: Add raw IPv4 and SCTP4 filters
commit 89d75f25166de27313b62dc15633d97fcb23f667 from git@git.assembla.com:cavium/WindRiver.linux.git This patch does the following: Moves the flow related code to otx2_flow.c from otx2_ethtool.c Refactors the existing ipv4 code to separate function otx2_prepare_ipv4_flow Adds the raw IPv4 and SCTP4 ntuple filters. ethtool commands: ethtool -U eth0 flow-type ip4 dst-ip <addr> \ src-ip <addr> action <N> ethtool -U eth0 flow-type sctp4 dst-ip <addr> \ src-ip <addr> src-port <N> dst-port <N> action <N> Change-Id: I5c818d872047eddf8b51efcf643b48096dbea042 Signed-off-by:Subbaraya Sundeep <sbhatta@marvell.com> Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/38177 Tested-by:
sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com> Reviewed-by:
Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com> Signed-off-by:
Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
Loading
Please register or sign in to comment