]> git.ipfire.org Git - thirdparty/linux.git/commit
net: hibmcge: Implement rx_poll function to receive packets
authorJijie Shao <shaojijie@huawei.com>
Tue, 15 Oct 2024 12:35:13 +0000 (20:35 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 21 Oct 2024 09:26:53 +0000 (11:26 +0200)
commitf72e2559406191f2c7e2d15b78df6066594b0a9e
tree502b283be2af08be2f262261d2a13e8d6e157931
parent40735e7543f94fc88f58d94fd5f88daa4a2f2c6e
net: hibmcge: Implement rx_poll function to receive packets

Implement rx_poll function to read the rx descriptor after
receiving the rx interrupt. Adjust the skb based on the
descriptor to complete the reception of the packet.

Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/hisilicon/hibmcge/hbg_common.h
drivers/net/ethernet/hisilicon/hibmcge/hbg_hw.c
drivers/net/ethernet/hisilicon/hibmcge/hbg_hw.h
drivers/net/ethernet/hisilicon/hibmcge/hbg_irq.c
drivers/net/ethernet/hisilicon/hibmcge/hbg_reg.h
drivers/net/ethernet/hisilicon/hibmcge/hbg_txrx.c