summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/sja1105/sja1105_main.c
diff options
context:
space:
mode:
authorVladimir Oltean2019-06-02 23:11:58 +0200
committerDavid S. Miller2019-06-04 20:49:19 +0200
commit10c3be6526f58221cfcdd1773aa5382e3630000b (patch)
tree63e1780867604b22e2a58b9d147efe0537536213 /drivers/net/dsa/sja1105/sja1105_main.c
parentnet: dsa: sja1105: Make room for P/Q/R/S FDB operations (diff)
downloadkernel-qcow2-linux-10c3be6526f58221cfcdd1773aa5382e3630000b.tar.gz
kernel-qcow2-linux-10c3be6526f58221cfcdd1773aa5382e3630000b.tar.xz
kernel-qcow2-linux-10c3be6526f58221cfcdd1773aa5382e3630000b.zip
net: dsa: sja1105: Add P/Q/R/S support for dynamic L2 lookup operations
These are needed in order to implement the switchdev FDB callbacks. Compared to the E/T generation, not only the ABI (bit offsets) is different, but also the introduction of the HOSTCMD field which permits O(1) TCAM search for an FDB entry. Make use of the newly introduce OP_SEARCH to permit that. It will be used while adding and deleting an FDB entry (to see whether it exists or not). Signed-off-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_main.c')
0 files changed, 0 insertions, 0 deletions