]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Octeontx2-af: Fetch MAC channel info from firmware
authorHariprasad Kelam <hkelam@marvell.com>
Mon, 12 Feb 2024 13:15:23 +0000 (18:45 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Feb 2024 10:35:25 +0000 (10:35 +0000)
commit997814491cee7b19c162ad82439818e555f99ad9
treefa79c3ccaf253fb772ebbedfe5bd00850aa3f245
parentb53e84645b369e27e89f3af7ad09d6209d5eb0fe
Octeontx2-af: Fetch MAC channel info from firmware

Packet ingress and egress MAC/serdes channel numbers are configurable
on CN10K series of silicons. These channel numbers inturn used while
installing MCAM rules to match ingress/egress port. Fetch these channel
numbers from firmware at driver init time.

Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_sdp.c