]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: lan969x: add autogenerated VCAP information
authorDaniel Machon <daniel.machon@microchip.com>
Fri, 1 Nov 2024 07:09:11 +0000 (08:09 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 5 Nov 2024 12:31:08 +0000 (13:31 +0100)
commit7ef750e490dc89fad227dbcab8274c417139f796
treee51209d7d9fa8311546dca09c22f1cbd849293db
parentd4c97e39bf40fe02ee762c32d5dea73928ce6f0c
net: lan969x: add autogenerated VCAP information

Platform VCAP data for each VCAP instance is auto-generated using an
internal Microchip tool. The generated VCAP data contains information
about keyfields, keyfield sets, actionfields, actionfield sets and
typegroups, which in combination are used to encode and decode rules in
the VCAP.

Add the auto-generated VCAP file lan969x_vcap_ag_api.c and assign the
two structs: lan969x_vcaps and lan969x_vcap_stats to the match data.

Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Reviewed-by: Jens Emil Schulz Østergaard <jensemil.schulzostergaard@microchip.com>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/microchip/lan969x/Makefile
drivers/net/ethernet/microchip/lan969x/lan969x.c
drivers/net/ethernet/microchip/lan969x/lan969x.h
drivers/net/ethernet/microchip/lan969x/lan969x_vcap_ag_api.c [new file with mode: 0644]