]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: prestera: add support for port range filters
authorMaksym Glubokiy <maksym.glubokiy@plvision.eu>
Mon, 11 Jul 2022 15:09:08 +0000 (18:09 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jul 2022 11:16:56 +0000 (12:16 +0100)
commit551871bfc82c81a59f712313431f072e6d884acc
tree4ac7bbc230f1147feecc117e80707ba07c443fe1
parent83d85bb069152b790caad905fa53e6d50cd3734d
net: prestera: add support for port range filters

This adds support for port-range rules:

  $ tc qdisc add ... clsact
  $ tc filter add ... flower ... src_port <PMIN>-<PMAX> ...

Co-developed-by: Volodymyr Mytnyk <volodymyr.mytnyk@plvision.eu>
Signed-off-by: Volodymyr Mytnyk <volodymyr.mytnyk@plvision.eu>
Signed-off-by: Maksym Glubokiy <maksym.glubokiy@plvision.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/prestera/prestera_flower.c