]> www.infradead.org Git - users/jedix/linux-maple.git/commit
octeontx2-pf: Configure VF mtu via representor
authorGeetha sowjanya <gakula@marvell.com>
Thu, 7 Nov 2024 16:08:34 +0000 (21:38 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Nov 2024 11:57:11 +0000 (11:57 +0000)
commit3392f9190373e12cb48514a49805a7c75076b619
treeb201b53025d1d5054b8a2e396cea4dd6e1b2d22e
parentb8fea84a0468404fe3b3327ad54d583950be9dec
octeontx2-pf: Configure VF mtu via representor

Adds support to manage the mtu configuration for VF through representor.
On update of representor mtu a mbox notification is send
to VF to update its mtu.

This feature is implemented based on the "Network Function Representors"
kernel documentation.
"
Setting an MTU on the representor should cause that same MTU
to be reported to the representee.
"

Signed-off-by: Sai Krishna <saikrishnag@marvell.com>
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
drivers/net/ethernet/marvell/octeontx2/nic/rep.c