On 9/1/2020 12:51 PM, Jiawen Wu wrote: > Add device information get operation. > > Signed-off-by: Jiawen Wu <jiawe...@trustnetic.com>
<...> > +uint64_t > +txgbe_get_rx_queue_offloads(struct rte_eth_dev *dev __rte_unused) > +{ > + uint64_t offloads = 0; > + > + offloads |= DEV_RX_OFFLOAD_VLAN_STRIP; > Instead of initialize to zero and or the value, can just assign it.