net/softnic: parse flow match for ACL table
authorReshma Pattan <reshma.pattan@intel.com>
Tue, 11 Sep 2018 14:20:39 +0000 (15:20 +0100)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Fri, 12 Oct 2018 15:59:03 +0000 (17:59 +0200)
commit6655737d2f28549979c673cf55fc383f9239020e
tree3e75dbbd227e9a91839241b6a77e88fa29474c3e
parentfd9f4290e5a4b27641bcd4eae4db225f2cdb7d48
net/softnic: parse flow match for ACL table

Added flow protocol parsing for IPV4/IPV6 and
TCP/UDP/SCTP for ACL table rule match.

Added below helper functions for doing the same.
port_mask_to_range()
ipv6_mask_to_depth()
ipv4_mask_to_depth()
mask_to_depth()

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
drivers/net/softnic/rte_eth_softnic_flow.c