Wojciech Drewek e3acda7ade net/sched: Allow flower to match on GTP options
Options are as follows: PDU_TYPE:QFI and they refernce to
the fields from the  PDU Session Protocol. PDU Session data
is conveyed in GTP-U Extension Header.

GTP-U Extension Header is described in 3GPP TS 29.281.
PDU Session Protocol is described in 3GPP TS 38.415.

PDU_TYPE -  indicates the type of the PDU Session Information (4 bits)
QFI      -  QoS Flow Identifier (6 bits)

  # ip link add gtp_dev type gtp role sgsn
  # tc qdisc add dev gtp_dev ingress
  # tc filter add dev gtp_dev protocol ip parent ffff: \
      flower \
        enc_key_id 11 \
        gtp_opts 1:8/ff:ff \
      action mirred egress redirect dev eth0

Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2022-03-11 08:28:27 -08:00
..
2022-03-07 09:48:55 +01:00
2022-01-22 08:33:37 +02:00
2022-03-07 11:40:41 +00:00
2022-03-04 12:02:19 +00:00
2022-03-04 12:02:19 +00:00
2022-01-27 13:53:27 +00:00
2022-03-02 22:44:49 -08:00
2022-01-26 07:44:01 +01:00
2022-02-10 15:29:39 +00:00
2022-03-07 11:40:41 +00:00
2022-03-06 11:05:31 +00:00
2022-03-03 09:55:28 +00:00