From: Yang Yingliang <yangyingliang@huawei.com>
To: Xiongfeng Wang <wangxiongfeng2@huawei.com>,
<jiawenwu@trustnetic.com>, <mengyuanlou@net-swift.com>,
<davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
<pabeni@redhat.com>, <maciej.fijalkowski@intel.com>,
<andrew@lunn.ch>, <piotr.raczynski@intel.com>
Cc: <netdev@vger.kernel.org>
Subject: Re: [PATCH] net: txgbe: Use pci_dev_id() to simplify the code
Date: Tue, 8 Aug 2023 16:35:09 +0800 [thread overview]
Message-ID: <efbcc8ad-c8a3-dac1-04c5-a7a60b79762d@huawei.com> (raw)
In-Reply-To: <20230808024931.147048-1-wangxiongfeng2@huawei.com>
On 2023/8/8 10:49, Xiongfeng Wang wrote:
> PCI core API pci_dev_id() can be used to get the BDF number for a pci
> device. We don't need to compose it mannually. Use pci_dev_id() to
> simplify the code a little bit.
>
> Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: Yang Yingliang <yangyingliang@huawei.com>
next prev parent reply other threads:[~2023-08-08 15:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-08 2:49 [PATCH] net: txgbe: Use pci_dev_id() to simplify the code Xiongfeng Wang
2023-08-08 8:35 ` Yang Yingliang [this message]
2023-08-09 12:38 ` Simon Horman
2023-08-09 20:10 ` patchwork-bot+netdevbpf
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=efbcc8ad-c8a3-dac1-04c5-a7a60b79762d@huawei.com \
--to=yangyingliang@huawei.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=jiawenwu@trustnetic.com \
--cc=kuba@kernel.org \
--cc=maciej.fijalkowski@intel.com \
--cc=mengyuanlou@net-swift.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=piotr.raczynski@intel.com \
--cc=wangxiongfeng2@huawei.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).