summaryrefslogtreecommitdiff
path: root/net/core/dev.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2024-04-01 10:49:29 +0100
committerDavid S. Miller <davem@davemloft.net>2024-04-01 10:49:29 +0100
commitd823265dd45bbf14bd67aa476057108feb4143ce (patch)
treea046eaf50d6895588c18336382d48a2bfb69e763 /net/core/dev.h
parentd79b28fd34979281a1233eab45f8c3139a846d67 (diff)
parent784feaa65dfd2695f837842bcd151db0add4cb17 (diff)
downloadlwn-d823265dd45bbf14bd67aa476057108feb4143ce.tar.gz
lwn-d823265dd45bbf14bd67aa476057108feb4143ce.zip
Merge branch 'ice-pfcp-filter'
Alexander Lobakin says: ==================== ice: add PFCP filter support Add support for creating PFCP filters in switchdev mode. Add pfcp module that allows to create a PFCP-type netdev. The netdev then can be passed to tc when creating a filter to indicate that PFCP filter should be created. To add a PFCP filter, a special netdev must be created and passed to tc command: ip link add pfcp0 type pfcp tc filter add dev eth0 ingress prio 1 flower pfcp_opts \ 1:12ab/ff:fffffffffffffff0 skip_hw action mirred egress redirect \ dev pfcp0 Changes in iproute2 [1] are required to use pfcp_opts in tc. ICE COMMS package is required as it contains PFCP profiles. Part of this patchset modifies IP_TUNNEL_*_OPTs, which were previously stored in a __be16. All possible values have already been used, making it impossible to add new ones. * 1-3: add new bitmap_{read,write}(), which is used later in the IP tunnel flags code (from Alexander's ARM64 MTE series[2]); * 4-14: some bitmap code preparations also used later in IP tunnels; * 15-17: convert IP tunnel flags from __be16 to a bitmap; * 18-21: add PFCP module and support for it in ice. [1] https://lore.kernel.org/netdev/20230614091758.11180-1-marcin.szycik@linux.intel.com [2] https://lore.kernel.org/linux-kernel/20231218124033.551770-1-glider@google.com ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.h')
0 files changed, 0 insertions, 0 deletions