Re: [PATCH v6 05/15] net/xsc: add PCT interfaces

2025-01-20 Thread WanRenyong
On 2025/1/21 2:24, Stephen Hemminger wrote: > On Mon, 20 Jan 2025 19:14:42 +0800 > "WanRenyong" wrote: > >> +int >> +xsc_dev_create_ipat(struct xsc_dev *xdev, uint16_t logic_in_port, uint16_t >> dst_info) >> +{ >> +struct xsc_np_ipat add; >> + >> +memset(&add, 0, sizeof(add)); >> +add

[PATCH v6 05/15] net/xsc: add PCT interfaces

2025-01-20 Thread WanRenyong
PCT is the abbreviation of Packet classifier table, which is built in NP to define behavior of various packets. Signed-off-by: WanRenyong --- v6: * Replace __rte_packed with __rte_packed_begin and __rte_packed_end. --- drivers/net/xsc/meson.build | 1 + drivers/net/xsc/xsc_defs.h | 29 +++