From: "Jiawen Wu" <jiawenwu@trustnetic.com>
To: "'Ferruh Yigit'" <ferruh.yigit@amd.com>,
"'David Marchand'" <david.marchand@redhat.com>,
"'Thomas Monjalon'" <thomas@monjalon.net>
Cc: <dev@dpdk.org>, "'Bruce Richardson'" <bruce.richardson@intel.com>
Subject: RE: [PATCH 00/19] Wangxun fixes and supports
Date: Sat, 13 Jul 2024 10:16:25 +0800 [thread overview]
Message-ID: <021d01dad4ca$a9aa6610$fcff3230$@trustnetic.com> (raw)
In-Reply-To: <2196a63c-9f94-46c2-bb8a-7a8c8a420a95@amd.com>
On Fri, Jul 12, 2024 11:31 PM, Ferruh Yigit wrote:
> On 7/12/2024 1:47 PM, Ferruh Yigit wrote:
> > On 7/12/2024 10:32 AM, David Marchand wrote:
> >> On Thu, Jul 11, 2024 at 1:53 PM David Marchand
> >> <david.marchand@redhat.com> wrote:
> >>> On Sat, Jul 6, 2024 at 5:39 AM Ferruh Yigit <ferruh.yigit@amd.com> wrote:
> >>>>>>> Fix some bugs in txgbe/ngbe, and support new features in ngbe driver.
> >>>>>>>
> >>>>>>> Jiawen Wu (19):
> >>>>>>> net/txgbe: fix to parse tunnel packets
> >>>>>>> net/txgbe: fix flow filters in VT mode
> >>>>>>> net/txgbe: fix Tx hang on queue disable
> >>>>>>> net/txgbe: restrict the configuration of VLAN strip offload
> >>>>>>> net/txgbe: reconfigure more MAC Rx registers
> >>>>>>> net/txgbe: fix VF promiscuous and allmulticast
> >>>>>>> net/ngbe: special config for YT8531SH-CA PHY
> >>>>>>> net/ngbe: keep PHY power down while device probing
> >>>>>>> net/ngbe: add WOL and NCSI capability
> >>>>>>> net/txgbe: fix hotplug remove
> >>>>>>> net/ngbe: fix hotplug remove
> >>>>>>> net/txgbe: correct valid MTU range
> >>>>>>> net/ngbe: correct valid MTU range
> >>>>>>> net/txgbe: fix memory leak
> >>>>>>> net/ngbe: fix memory leak
> >>>>>>> net/txgbe: fix Rx interrupt
> >>>>>>> net/ngbe: support Rx interrupt
> >>>>>>> net/txgbe: disable LLDP by default
> >>>>>>> net/ngbe: disable LLDP by default
> >>>>>>
> >>>>>
> >>>>
> >>>> Series applied to dpdk-next-net/main, thanks.
> >>>
> >>> Compilation is broken for some ARM targets with next-net.
> >>> It was detected by the CI:
> >>> http://mails.dpdk.org/archives/test-report/2024-June/700549.html
> >>>
> >>> Jiawen, please send a fix.
> >>
> >> Ferruh, Thomas,
> >>
> >> We have many build failure reports because of this series.
> >> What is the best approach while waiting for a fix?
> >> Can we drop patch 35c4da655a95 ("net/ngbe: disable LLDP by default")
> >> (which seems to be the cause) from next-net?
> >>
> >
> > Hi David,
> >
> > I can check if the error is trivial, and if so send a patch for it.
> >
>
> Error is:
> In function 'ngbe_host_interface_command',
> inlined from 'ngbe_host_interface_command' at
> ../drivers/net/ngbe/base/ngbe_mng.c:86:1,
> inlined from 'ngbe_hic_get_lldp' at
> ../drivers/net/ngbe/base/ngbe_mng.c:394:8:
> ../drivers/net/ngbe/base/ngbe_mng.c:127:36: error: array subscript 2 is
> outside array bounds of 'struct ngbe_hic_write_lldp[1]'
> [-Werror=array-bounds]
> 127 | buffer[bi] = rd32a(hw, NGBE_MNGMBX, bi);
> ../drivers/net/ngbe/base/ngbe_mng.c: In function 'ngbe_hic_get_lldp':
> ../drivers/net/ngbe/base/ngbe_mng.c:385:36: note: at offset 8 into
> object 'buffer' of size 8
> 385 | struct ngbe_hic_write_lldp buffer;
> | ^~~~~~
>
>
> Problematic case only happens when 'resp->cmd == 0x30', but for
> 'get_lldp', cmd is 'FW_LLDP_GET_CMD' which is 0xF5, so practically this
> is not a real issue.
>
> To build the build log, we have options:
> 1. Extend "struct ngbe_hic_read_pcie" with 'u32 pad4'
> 2. Remove 'resp->cmd == 0x30' exception in
> 'ngbe_host_interface_command()' as that command seems not supported at all.
>
> But I can't be sure on possible side impacts of above changes.
>
> Another option is dropping this patch from the next-net and a fixed
> version can be merged back.
Sorry for these build error, I don't have a platform to verify this yet.
But I think the fix should be extending 'struct ngbe_hic_write_lldp'.
next prev parent reply other threads:[~2024-07-13 2:16 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-18 7:11 [PATCH 00/19] Wangxun fixes and supports Jiawen Wu
2024-06-18 7:11 ` [PATCH 01/19] net/txgbe: fix to parse tunnel packets Jiawen Wu
2024-06-18 7:11 ` [PATCH 02/19] net/txgbe: fix flow filters in VT mode Jiawen Wu
2024-06-18 7:11 ` [PATCH 03/19] net/txgbe: fix Tx hang on queue disable Jiawen Wu
2024-06-18 7:11 ` [PATCH 04/19] net/txgbe: restrict the configuration of VLAN strip offload Jiawen Wu
2024-06-18 7:11 ` [PATCH 05/19] net/txgbe: reconfigure more MAC Rx registers Jiawen Wu
2024-06-18 7:11 ` [PATCH 06/19] net/txgbe: fix VF promiscuous and allmulticast Jiawen Wu
2024-06-18 7:11 ` [PATCH 07/19] net/ngbe: special config for YT8531SH-CA PHY Jiawen Wu
2024-06-18 7:11 ` [PATCH 08/19] net/ngbe: keep PHY power down while device probing Jiawen Wu
2024-06-18 7:11 ` [PATCH 09/19] net/ngbe: add WOL and NCSI capability Jiawen Wu
2024-06-18 7:11 ` [PATCH 10/19] net/txgbe: fix hotplug remove Jiawen Wu
2024-06-18 7:11 ` [PATCH 11/19] net/ngbe: " Jiawen Wu
2024-06-18 7:11 ` [PATCH 12/19] net/txgbe: correct valid MTU range Jiawen Wu
2024-06-18 7:11 ` [PATCH 13/19] net/ngbe: " Jiawen Wu
2024-06-18 7:11 ` [PATCH 14/19] net/txgbe: fix memory leak Jiawen Wu
2024-06-18 7:11 ` [PATCH 15/19] net/ngbe: " Jiawen Wu
2024-06-18 7:11 ` [PATCH 16/19] net/txgbe: fix Rx interrupt Jiawen Wu
2024-06-18 7:11 ` [PATCH 17/19] net/ngbe: support " Jiawen Wu
2024-06-18 7:11 ` [PATCH 18/19] net/txgbe: disable LLDP by default Jiawen Wu
2024-06-18 7:11 ` [PATCH 19/19] net/ngbe: " Jiawen Wu
2024-06-25 1:51 ` [PATCH 00/19] Wangxun fixes and supports Jiawen Wu
2024-07-05 8:11 ` Jiawen Wu
2024-07-06 3:39 ` Ferruh Yigit
2024-07-11 11:53 ` David Marchand
2024-07-12 9:32 ` David Marchand
2024-07-12 12:47 ` Ferruh Yigit
2024-07-12 15:30 ` Ferruh Yigit
2024-07-13 2:16 ` Jiawen Wu [this message]
2024-07-12 16:50 ` Thomas Monjalon
2024-07-16 8:16 ` [PATCH v2 1/2] net/txgbe: disable LLDP by default Jiawen Wu
2024-07-16 8:16 ` [PATCH v2 2/2] net/ngbe: " Jiawen Wu
2024-07-16 11:05 ` Ferruh Yigit
2024-07-17 2:14 ` Jiawen Wu
2024-07-17 10:22 ` Ferruh Yigit
2024-07-17 11:28 ` [PATCH v2 1/2] net/txgbe: " Ferruh Yigit
-- strict thread matches above, loose matches on Subject: below --
2024-06-17 9:53 [PATCH 00/19] Wangxun fixes and supports Jiawen Wu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='021d01dad4ca$a9aa6610$fcff3230$@trustnetic.com' \
--to=jiawenwu@trustnetic.com \
--cc=bruce.richardson@intel.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@amd.com \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.