Re: [PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-02-05 Thread Stephen Hemminger
Retzlaff > > > > ; Parav Pandit ; > > > > Xueming Li ; Nipun Gupta > > ; > > > > Nikhil Agarwal ; Hemant Agrawal > > > > ; Sachin Saxena ; > > > > Rosen Xu ; Chenbo Xia ; > > > > Tomasz Duszynski ; Chengwen F

RE: [PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-02-05 Thread Shani Peretz
gt; Agrawal ; Sachin Saxena > ; Rosen Xu ; Chenbo Xia > ; Tomasz Duszynski ; > Chengwen Feng ; NBU-Contact-longli > (EXTERNAL) ; Wei Hu ; Bruce > Richardson ; Kevin Laatz > ; Jan Blunck > Subject: Re: [PATCH v4] bus: fix inconsistent representation of PCI numbers > > Ex

Re: [PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-02-05 Thread Stephen Hemminger
Retzlaff > > > > ; Parav Pandit ; > > > > Xueming Li ; Nipun Gupta > > ; > > > > Nikhil Agarwal ; Hemant Agrawal > > > > ; Sachin Saxena ; > > > > Rosen Xu ; Chenbo Xia ; > > > > Tomasz Duszynski ; Chengwen F

RE: [PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-02-05 Thread Shani Peretz
gt; Agrawal ; Sachin Saxena > ; Rosen Xu ; Chenbo Xia > ; Tomasz Duszynski ; > Chengwen Feng ; NBU-Contact-longli > (EXTERNAL) ; Wei Hu ; Bruce > Richardson ; Kevin Laatz > ; Jan Blunck > Subject: Re: [PATCH v4] bus: fix inconsistent representation of PCI numbers > > Ex

Re: [PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-02-05 Thread Stephen Hemminger
laff ; Parav > > Pandit ; Xueming Li ; Nipun Gupta > > ; Nikhil Agarwal ; Hemant > > Agrawal ; Sachin Saxena > > ; Rosen Xu ; Chenbo Xia > > ; Tomasz Duszynski ; > > Chengwen Feng ; NBU-Contact-longli > > (EXTERNAL) ; Wei Hu ; Bruce > > Richards

RE: [PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-02-05 Thread Shani Peretz
gt; Agrawal ; Sachin Saxena > ; Rosen Xu ; Chenbo Xia > ; Tomasz Duszynski ; > Chengwen Feng ; NBU-Contact-longli > (EXTERNAL) ; Wei Hu ; Bruce > Richardson ; Kevin Laatz > ; Jan Blunck > Subject: Re: [PATCH v4] bus: fix inconsistent representation of PCI numbers > > Ex

Re: [PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-02-04 Thread fengchengwen
On 2025/1/30 2:06, Bruce Richardson wrote: > On Wed, Jan 29, 2025 at 09:17:38AM -0800, Stephen Hemminger wrote: >> On Wed, 29 Jan 2025 10:54:16 +0200 >> Shani Peretz wrote: >> >>> DPDK provides two formats for specifying PCI device numbers: >>> a full version (":08:00.0") and a short version (

Re: [PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-01-29 Thread Bruce Richardson
On Wed, Jan 29, 2025 at 09:17:38AM -0800, Stephen Hemminger wrote: > On Wed, 29 Jan 2025 10:54:16 +0200 > Shani Peretz wrote: > > > DPDK provides two formats for specifying PCI device numbers: > > a full version (":08:00.0") and a short version ("08:00.0"). > > Issues can occur when an applic

Re: [PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-01-29 Thread Stephen Hemminger
On Wed, 29 Jan 2025 10:54:16 +0200 Shani Peretz wrote: > DPDK provides two formats for specifying PCI device numbers: > a full version (":08:00.0") and a short version ("08:00.0"). > Issues can occur when an application uses one format (e.g., short) > while running testpmd, then attempts to u

Re: [PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-01-29 Thread Stephen Hemminger
On Wed, 29 Jan 2025 10:54:16 +0200 Shani Peretz wrote: > +create_pci_dev(const char *name) > +{ > + int port_id; > + uint8_t slave_mac1[] = {0x00, 0xFF, 0x00, 0xFF, 0x00, 0x00 }; > + struct rte_ether_addr *mac_addr = (struct rte_ether_addr *)slave_mac1; Use different initializer and

Re: [PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-01-29 Thread Bruce Richardson
On Wed, Jan 29, 2025 at 10:54:16AM +0200, Shani Peretz wrote: > DPDK provides two formats for specifying PCI device numbers: > a full version (":08:00.0") and a short version ("08:00.0"). > Issues can occur when an application uses one format (e.g., short) > while running testpmd, then attempts

[PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-01-29 Thread Shani Peretz
DPDK provides two formats for specifying PCI device numbers: a full version (":08:00.0") and a short version ("08:00.0"). Issues can occur when an application uses one format (e.g., short) while running testpmd, then attempts to use the other format (e.g., full) in a later command, resulting in