]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: ethernet: oa_tc6: add helper function to enable zero align rx frame
authorParthiban Veerasooran <Parthiban.Veerasooran@microchip.com>
Mon, 9 Sep 2024 08:25:12 +0000 (13:55 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Sep 2024 03:53:45 +0000 (20:53 -0700)
commitafd42170c8a6e68edd3f3a7f2aacd2bfbedb58b2
tree6aee2d35aa782b4b30e7d5d1dd60c0357f87f9ad
parent2c6ce535445362dc58a58c9813e58bb3da28eab7
net: ethernet: oa_tc6: add helper function to enable zero align rx frame

Zero align receive frame feature can be enabled to align all receive
ethernet frames data to start at the beginning of any receive data chunk
payload with a start word offset (SWO) of zero. Receive frames may begin
anywhere within the receive data chunk payload when this feature is not
enabled.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Parthiban Veerasooran <Parthiban.Veerasooran@microchip.com>
Link: https://patch.msgid.link/20240909082514.262942-13-Parthiban.Veerasooran@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/oa_tc6.c
include/linux/oa_tc6.h